-
Notifications
You must be signed in to change notification settings - Fork 25.7k
[FSDP2] Make module-to-state mapping use weakrefs #139650
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
[ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/139650
Note: Links to docs will display an error until the docs builds have been completed. ❌ 10 New Failures, 1 Cancelled Job, 4 Unrelated FailuresAs of commit ef985b5 with merge base 0e4d426 ( NEW FAILURES - The following jobs have failed:
CANCELLED JOB - The following job was cancelled. Please retry:
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks! (I also have run into this before)
|
@pytorchbot merge -i |
Merge startedYour change will be merged while ignoring the following 8 checks: pull / linux-focal-py3.9-clang10 / test (default, 1, 4, linux.4xlarge), pull / linux-focal-py3.11-clang10 / test (default, 1, 4, linux.4xlarge), pull / linux-focal-py3.12-clang10 / test (default, 1, 4, linux.4xlarge), pull / linux-jammy-py3.9-gcc11 / test (default, 1, 4, linux.2xlarge), pull / linux-jammy-py3-clang12-executorch / test (executorch, 1, 1, linux.2xlarge), linux-binary-manywheel-split / manywheel-py3_9-cuda12_4-build / build, linux-binary-manywheel-split / manywheel-py3_9-cuda11_8-build / build, linux-binary-manywheel-split / manywheel-py3_9-cuda12_1-build / build Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Merge failedReason: 2 jobs have failed, first few of them are: linux-binary-manywheel / manywheel-py3_9-cuda12_1-build / build, linux-binary-manywheel / manywheel-py3_9-cuda11_8-build / build Details for Dev Infra teamRaised by workflow job |
|
Seems like a good backport candidate? |
|
@pytorchbot merge -f "unrelated failures" |
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Yes, possibly. We should see if any internal issues arise from this, but I suspect not. |
Pull Request resolved: #139759 Approved by: https://github.com/weifengpy, https://github.com/wz337 ghstack dependencies: #139650
Pull Request resolved: pytorch#139759 Approved by: https://github.com/weifengpy, https://github.com/wz337 ghstack dependencies: pytorch#139650
Stack from ghstack (oldest at bottom):
Without this,
del modeldoes not free memory of a module with FSDP2 applied.cc @H-Huang @kwen2501 @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o