Skip to content

Fix opt softmax small nit#19243

Merged
younesbelkada merged 2 commits intohuggingface:mainfrom
younesbelkada:fix-opt-nit
Sep 29, 2022
Merged

Fix opt softmax small nit#19243
younesbelkada merged 2 commits intohuggingface:mainfrom
younesbelkada:fix-opt-nit

Conversation

@younesbelkada
Copy link
Copy Markdown
Contributor

@younesbelkada younesbelkada commented Sep 29, 2022

What does this PR do?

cc @ydshieh @sgugger

Can also confirm slow tests pass!

- Use the same logic as 1eb0953 for consistency
Copy link
Copy Markdown
Collaborator

@ydshieh ydshieh left a comment

Choose a reason for hiding this comment

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

Thank you @younesbelkada :-)

Comment thread src/transformers/models/opt/modeling_opt.py Outdated
@HuggingFaceDocBuilderDev
Copy link
Copy Markdown

HuggingFaceDocBuilderDev commented Sep 29, 2022

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

Copy link
Copy Markdown
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!

@younesbelkada younesbelkada merged commit 3a27ba3 into huggingface:main Sep 29, 2022
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.

4 participants