Skip to content

[dcp] remove psutil dependency in asyncprocessexecutor for oss - #169985

Closed
ankitageorge wants to merge 1 commit into
pytorch:mainfrom
ankitageorge:export-D88772827
Closed

ankitageorge wants to merge 1 commit into
pytorch:mainfrom
ankitageorge:export-D88772827

Conversation

@ankitageorge

Copy link
Copy Markdown
Contributor

Summary: Adding the psutil dependency in oss, caused issues for some flows #169613 (comment). Removing it, as it's not really needed. The number of objects collected by GC is enough information.

Test Plan: signals

Differential Revision: D88772827

Summary: Adding the psutil dependency in oss, caused issues for some flows pytorch#169613 (comment). Removing it, as it's not really needed. The number of objects collected by GC is enough information.

Test Plan: signals

Differential Revision: D88772827
@pytorch-bot

pytorch-bot Bot commented Dec 9, 2025 •

Copy link
Copy Markdown

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/169985

Note: Links to docs will display an error until the docs builds have been completed.

✅ You can merge normally! (2 Unrelated Failures)

As of commit 6b29774 with merge base 2bd5e17 (image):

FLAKY - The following jobs failed but were likely due to flakiness present on trunk:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-codesync

meta-codesync Bot commented Dec 9, 2025

Copy link
Copy Markdown

@ankitageorge has exported this pull request. If you are a Meta employee, you can view the originating Diff in D88772827.

@fegin fegin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for the fix

@pytorch-bot pytorch-bot Bot added the ciflow/trunk Trigger trunk jobs on your pull request label Dec 9, 2025
@ankitageorge

Copy link
Copy Markdown
Contributor Author

@pytorchmergebot merge

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge failed

Reason: <urlopen error [Errno 104] Connection reset by peer>

Details for Dev Infra team Raised by workflow job

@ankitageorge

Copy link
Copy Markdown
Contributor Author

@pytorchmergebot merge

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge failed

Reason: 1 jobs have failed, first few of them are: trunk / linux-jammy-rocm-py3.10 / test (default, 2, 6, linux.rocm.gpu.gfx942.1)

Details for Dev Infra team Raised by workflow job

@ankitageorge

Copy link
Copy Markdown
Contributor Author

@pytorchmergebot merge -i

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge started

Your change will be merged while ignoring the following 1 checks: trunk / linux-jammy-rocm-py3.10 / test (default, 2, 6, linux.rocm.gpu.gfx942.1)

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

The merge job was canceled or timed out. This most often happen if two merge requests were issued for the same PR, or if merge job was waiting for more than 6 hours for tests to finish. In later case, please do not hesitate to reissue the merge command
For more information see pytorch-bot wiki.

@ankitageorge

Copy link
Copy Markdown
Contributor Author

@pytorchmergebot merge -i

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge started

Your change will be merged while ignoring the following 2 checks: trunk / linux-jammy-rocm-py3.10 / test (distributed, 2, 3, linux.rocm.gpu.gfx942.4), trunk / linux-jammy-rocm-py3.10 / test (default, 2, 6, linux.rocm.gpu.gfx942.1)

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@atalman

atalman commented Dec 10, 2025

Copy link
Copy Markdown
Collaborator

@pytorchbot cherry-pick --onto release/2.10 --fixes "Critical fix" -c critical

pytorchbot pushed a commit that referenced this pull request Dec 10, 2025
Summary: Adding the psutil dependency in oss, caused issues for some flows #169613 (comment). Removing it, as it's not really needed. The number of objects collected by GC is enough information.

Test Plan: signals

Differential Revision: D88772827

Pull Request resolved: #169985
Approved by: https://github.com/fegin, https://github.com/xmfan

(cherry picked from commit 766882a)
@pytorchbot

Copy link
Copy Markdown
Collaborator

Cherry picking #169985

The cherry pick PR is at #170121 and it is linked with issue Critical fix. The following tracker issues are updated:

Details for Dev Infra team Raised by workflow job

atalman pushed a commit that referenced this pull request Dec 10, 2025
[dcp] remove psutil dependency in asyncprocessexecutor for oss (#169985)

Summary: Adding the psutil dependency in oss, caused issues for some flows #169613 (comment). Removing it, as it's not really needed. The number of objects collected by GC is enough information.

Test Plan: signals

Differential Revision: D88772827

Pull Request resolved: #169985
Approved by: https://github.com/fegin, https://github.com/xmfan

(cherry picked from commit 766882a)

Co-authored-by: Ankita George <[email protected]>
daisyden pushed a commit to daisyden/pytorch that referenced this pull request Dec 11, 2025
…ch#169985)

Summary: Adding the psutil dependency in oss, caused issues for some flows pytorch#169613 (comment). Removing it, as it's not really needed. The number of objects collected by GC is enough information.

Test Plan: signals

Differential Revision: D88772827

Pull Request resolved: pytorch#169985
Approved by: https://github.com/fegin, https://github.com/xmfan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants