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

Patchfix infinite loop in bs finder #335

Merged
merged 1 commit into from
Apr 29, 2022
Merged

Patchfix infinite loop in bs finder #335

merged 1 commit into from
Apr 29, 2022

Conversation

muellerzr
Copy link
Collaborator

Raising any error if it doesn't relate to CUDA OOM was removed in #334, this adds it back.

Otherwise this would result in an infinite loop constantly reducing a bs of 0

@muellerzr muellerzr added the bug Something isn't working label Apr 29, 2022
@muellerzr muellerzr requested a review from sgugger April 29, 2022 12:13
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 fixing!

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Apr 29, 2022

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

@muellerzr muellerzr merged commit a60640d into main Apr 29, 2022
@muellerzr muellerzr deleted the bs-finder-hotfix branch April 29, 2022 12:34
sgugger pushed a commit that referenced this pull request Apr 29, 2022
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