Skip to content
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

Fix multinode with GPU ids when each node has 1 #1127

Merged
merged 5 commits into from
Mar 1, 2023
Merged

Conversation

muellerzr
Copy link
Collaborator

Tentatively solves #1116

Arguably, would it be better to raise an assert here instead? It's mildly caught earlier via another check, however it may be better to do a full assert here instead.

@muellerzr muellerzr added the bug Something isn't working label Feb 28, 2023
@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Feb 28, 2023

The documentation is not available anymore as the PR was closed or merged.

Copy link
Collaborator

@sgugger sgugger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I think we can assert here.

Copy link
Collaborator

@sgugger sgugger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

muellerzr and others added 2 commits March 1, 2023 11:57
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
@muellerzr muellerzr requested a review from sgugger March 1, 2023 17:00
@muellerzr muellerzr merged commit 9b5877d into main Mar 1, 2023
@muellerzr muellerzr deleted the multinode-fix branch March 1, 2023 19:02
@muellerzr muellerzr restored the multinode-fix branch March 1, 2023 19:02
@muellerzr muellerzr deleted the multinode-fix branch August 31, 2023 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants