Skip to content

Porting dfa and dfl #187

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

Merged
merged 3 commits into from
Mar 24, 2025
Merged

Porting dfa and dfl #187

merged 3 commits into from
Mar 24, 2025

Conversation

amd-sriram
Copy link
Collaborator

@amd-sriram amd-sriram commented Mar 24, 2025

Porting distributed Fused Adam and Distributed Fused LAMB

Commits :
6fd8b50
ccb59d6

amd-sriram and others added 3 commits March 22, 2025 22:32
* Updated feature of distributed fused adam from upstream. Updated its dependencies - fused adam, distributed adam. Updated the unit test case for distributed fused adam.

* Raise Exception when nccl user buffer / cuda graph is used in distributed fused adam. Skipped these particular UTs

* Adding support for rccl_ub in distributed_fused_adam

* build nccl_allocator module when cuda_ext flag is mentioned
…ameters - fused_norm, full_ar, set_param_views_to_flat_buffer, skip_allgather, fuse_scale, param_order, Nccl_allgather_channels (#185)
@amd-sriram
Copy link
Collaborator Author

The Pytorch commit that needs to be reviewed : ROCm/pytorch#1994

@pruthvistony pruthvistony merged commit 69ee42b into release/1.6.0 Mar 24, 2025
@pruthvistony pruthvistony deleted the Porting_DFA_and_DFL branch March 24, 2025 17:22
pruthvistony pushed a commit to ROCm/pytorch that referenced this pull request Mar 24, 2025
Altering the flag to use the correct streamType for
CUDAPluggableAllocator. This is impacting Distributed Fused Adam in
Rocm/APEX.

See PR ROCm/apex#187

Related Issue : https://ontrack-internal.amd.com/browse/SWDEV-519796
jithunnair-amd pushed a commit to ROCm/pytorch that referenced this pull request Apr 23, 2025
Altering the flag to use the correct streamType for
CUDAPluggableAllocator. This is impacting Distributed Fused Adam in
Rocm/APEX.

See PR ROCm/apex#187

Related Issue : https://ontrack-internal.amd.com/browse/SWDEV-519796

(cherry picked from commit 73dd036)
jithunnair-amd pushed a commit to ROCm/pytorch that referenced this pull request Apr 24, 2025
Altering the flag to use the correct streamType for
CUDAPluggableAllocator. This is impacting Distributed Fused Adam in
Rocm/APEX.

See PR ROCm/apex#187

Related Issue : https://ontrack-internal.amd.com/browse/SWDEV-519796

(cherry picked from commit 73dd036)
jithunnair-amd pushed a commit to ROCm/pytorch that referenced this pull request Apr 25, 2025
Altering the flag to use the correct streamType for
CUDAPluggableAllocator. This is impacting Distributed Fused Adam in
Rocm/APEX.

See PR ROCm/apex#187

Related Issue : https://ontrack-internal.amd.com/browse/SWDEV-519796

(cherry picked from commit 73dd036)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants