-
Notifications
You must be signed in to change notification settings - Fork 22.6k
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
[FSDP] Speed up first iter order check (part 2) #96220
Conversation
[ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/96220
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 9e5e63b: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
ghstack-source-id: 93b4438a618eb6a6102a3d12f90516decdd7cf9f Pull Request resolved: #96220
@pytorchbot merge |
Merge startedYour 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 |
For a tensor on GPU, moving it once to CPU and operating on it on CPU is faster than moving it element by element from CPU to GPU. This is a follow-up to also move `world_indices`. Pull Request resolved: pytorch/pytorch#96220 Approved by: https://github.com/zhaojuanmao
For a tensor on GPU, moving it once to CPU and operating on it on CPU is faster than moving it element by element from CPU to GPU. This is a follow-up to also move `world_indices`. Pull Request resolved: pytorch/pytorch#96220 Approved by: https://github.com/zhaojuanmao
For a tensor on GPU, moving it once to CPU and operating on it on CPU is faster than moving it element by element from CPU to GPU. This is a follow-up to also move `world_indices`. Pull Request resolved: pytorch#96220 Approved by: https://github.com/zhaojuanmao
Stack from ghstack (oldest at bottom):
For a tensor on GPU, moving it once to CPU and operating on it on CPU is faster than moving it element by element from CPU to GPU. This is a follow-up to also move
world_indices
.