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 slow test by keeping tied weights on the same GPU #1026

Merged
merged 1 commit into from
Jan 30, 2023
Merged

Conversation

sgugger
Copy link
Collaborator

@sgugger sgugger commented Jan 30, 2023

In #1000 we fixed the weight tying in dispatch_model, but one of the slow tests relied on the fact it was broken (by mistake) by putting tied weights of GPT-2 on two different devices. This PR fixes that.

@sgugger sgugger requested a review from muellerzr January 30, 2023 15:58
Copy link
Collaborator

@muellerzr muellerzr left a comment

Choose a reason for hiding this comment

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

Great! Thanks for the fix

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Jan 30, 2023

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

@sgugger sgugger merged commit ba85652 into main Jan 30, 2023
@sgugger sgugger deleted the fix_slow_test branch January 30, 2023 16:13
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.

3 participants