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

Fixing of a bug connected with DeepSpeed #1037

Merged
merged 1 commit into from
Feb 3, 2023

Conversation

DistinctVision
Copy link
Contributor

Hello. I tried to use DeepSpeed for my project and met a small bug. The problem was connected with backward function - i had to pass an argument 'retain_graph'. But we lose it by passing to internal DeepSpeed function.
I fixed it and these are my changes.

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Feb 3, 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.

Thanks for the fix, it looks good to me! Will let @pacman100 merge if he agrees.

Copy link
Contributor

@pacman100 pacman100 left a comment

Choose a reason for hiding this comment

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

LGTM! 😄
Thank you @DistinctVision for the fix.

@sgugger sgugger merged commit 4be7083 into huggingface:main Feb 3, 2023
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.

None yet

4 participants