Repository navigation
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/197459
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 Cancelled Job, 2 Unrelated FailuresAs of commit c665e3c with merge base 3fda599 ( CANCELLED JOB - The following job was cancelled. Please retry:
CRCR (non-blocking) - The following CRCR downstream CI jobs failed but are non-blocking:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
> AI-assisted draft prepared with Codex. > > `foreach_reduce` clears `unsharded_grads`, so cloning reference gradients afterward left the numerical comparison loops empty. Save the reference gradients before the call. Use `rank % 8` inputs to keep fp16 sums exactly representable in the threaded process group. > > Test Plan: > ```bash > CUDA_VISIBLE_DEVICES=1,2 python test/distributed/_composable/fsdp/test_fully_shard_comm.py TestFullyShardCollectiveOps -v > spin quicklint -a > ``` ghstack-source-id: 64abdb9 Pull-Request: #197459
> AI-assisted draft prepared with Codex. > > `foreach_reduce` clears `unsharded_grads`, so cloning reference gradients afterward left the numerical comparison loops empty. Save the reference gradients before the call. Use `rank % 8` inputs to keep fp16 sums exactly representable in the threaded process group. > > Test Plan: > ```bash > CUDA_VISIBLE_DEVICES=1,2 python test/distributed/_composable/fsdp/test_fully_shard_comm.py TestFullyShardCollectiveOps -v > spin quicklint -a > ``` ghstack-source-id: 64abdb9 Pull-Request: #197459
|
@pytorchmergebot merge |
|
This PR needs to be approved by an authorized maintainer before merge. |
|
@pytorchmergebot merge |
Merge failedReason: Approvers from one of the following sets are needed:
|
> AI-assisted draft prepared with Codex. > > `foreach_reduce` clears `unsharded_grads`, so cloning reference gradients afterward left the numerical comparison loops empty. Save the reference gradients before the call. Use `rank % 8` inputs to keep fp16 sums exactly representable in the threaded process group. > > Test Plan: > ```bash > CUDA_VISIBLE_DEVICES=1,2 python test/distributed/_composable/fsdp/test_fully_shard_comm.py TestFullyShardCollectiveOps -v > spin quicklint -a > ``` ghstack-source-id: 7b665e5 Pull-Request: #197459
> AI-assisted draft prepared with Codex. > > `foreach_reduce` clears `unsharded_grads`, so cloning reference gradients afterward left the numerical comparison loops empty. Save the reference gradients before the call. Use `rank % 8` inputs to keep fp16 sums exactly representable in the threaded process group. > > Test Plan: > ```bash > CUDA_VISIBLE_DEVICES=1,2 python test/distributed/_composable/fsdp/test_fully_shard_comm.py TestFullyShardCollectiveOps -v > spin quicklint -a > ``` ghstack-source-id: 7b665e5 Pull-Request: #197459
> AI-assisted draft prepared with Codex. > > `foreach_reduce` clears `unsharded_grads`, so cloning reference gradients afterward left the numerical comparison loops empty. Save the reference gradients before the call. Use `rank % 8` inputs to keep fp16 sums exactly representable in the threaded process group. > > Test Plan: > ```bash > CUDA_VISIBLE_DEVICES=1,2 python test/distributed/_composable/fsdp/test_fully_shard_comm.py TestFullyShardCollectiveOps -v > spin quicklint -a > ``` ghstack-source-id: 7b665e5 Pull-Request: #197459
> AI-assisted draft prepared with Codex. > > `foreach_reduce` clears `unsharded_grads`, so cloning reference gradients afterward left the numerical comparison loops empty. Save the reference gradients before the call. Use `rank % 8` inputs to keep fp16 sums exactly representable in the threaded process group. > > Test Plan: > ```bash > CUDA_VISIBLE_DEVICES=1,2 python test/distributed/_composable/fsdp/test_fully_shard_comm.py TestFullyShardCollectiveOps -v > spin quicklint -a > ``` ghstack-source-id: 7b665e5 Pull-Request: #197459
|
@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 |
Merge failedReason: 1 jobs have failed, first few of them are: trunk / macos-py3-arm64 / build Details for Dev Infra teamRaised by workflow job |
|
@pytorchmergebot merge |
|
@pytorchmergebot merge -i |
Merge startedYour change will be merged while ignoring the following 1 checks: trunk / macos-py3-arm64 / build Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
pure code refactoring - no perf inidication, no new feature the goal is to let user register custom Ag/RS copy fn in next PR for better Shard(1) perf Pull Request resolved: #197372 Approved by: https://github.com/anijain2305, https://github.com/anshul-si ghstack dependencies: #197459
Stack from ghstack (oldest at bottom):