Skip to content

PR #11122: [ROCm] Fix RCCL hang on rocm5.7 - #64942

Merged
copybara-service[bot] merged 1 commit into
masterfrom
exported_pr_621235912
Apr 2, 2024
Merged

copybara-service[bot] merged 1 commit into
masterfrom
exported_pr_621235912

Conversation

@copybara-service

Copy link
Copy Markdown

PR #11122: [ROCm] Fix RCCL hang on rocm5.7

Imported from GitHub PR openxla/xla#11122

Copybara import of the project:

--
94f7dc85f6ab07343ddb565b0aac0ed908fd66b4 by Dragan Mladjenovic [email protected]:

[ROCm] Allow ncclCommInitRankConfig on rocm5.7

--
2d196b645ccac046309d44f747d42777f00f1c9b by Dragan Mladjenovic [email protected]:

[ROCm] Fix sporadic hangs in CommInitRanks

Pointer to comm_handle must stay valid untill GroupEnd call
on pre 2.18 nccl. Only after that comm_handle contains a valid value.
Enforce this by using std::vector instead of temp local.

Merging this change closes #11122

FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#11122 from ROCm:5.7-rccl-hang 2d196b645ccac046309d44f747d42777f00f1c9b

@copybara-service
copybara-service Bot force-pushed the exported_pr_621235912 branch 2 times, most recently from b911a54 to 065a79b Compare April 2, 2024 19:15
Imported from GitHub PR openxla/xla#11122

Copybara import of the project:

--
94f7dc85f6ab07343ddb565b0aac0ed908fd66b4 by Dragan Mladjenovic <[email protected]>:

[ROCm] Allow ncclCommInitRankConfig on rocm5.7

--
2d196b645ccac046309d44f747d42777f00f1c9b by Dragan Mladjenovic <[email protected]>:

[ROCm] Fix sporadic hangs in CommInitRanks

Pointer to comm_handle must stay valid untill GroupEnd call
on pre 2.18 nccl. Only after that comm_handle contains a valid value.
Enforce this by using std::vector instead of temp local.

Merging this change closes #11122

PiperOrigin-RevId: 621262510
@copybara-service
copybara-service Bot force-pushed the exported_pr_621235912 branch from 065a79b to d54477e Compare April 2, 2024 20:50
@copybara-service
copybara-service Bot merged commit d54477e into master Apr 2, 2024
@copybara-service
copybara-service Bot deleted the exported_pr_621235912 branch April 2, 2024 20:50
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.

Building Tensorflow from source with XLA enabled and without GPU

1 participant