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

Removing unused self.drop #1980

Merged
merged 1 commit into from
Oct 5, 2023
Merged

Conversation

lucapericlp
Copy link
Contributor

I'm playing around with some custom SwiGlu MLP stuff & found this that seems to be unused that will cause the code to crash if drop=(0.0,0.0) is passed into the constructor (which is allowed by to_2tuple()). Removing as it seems like an artifact from an older API.

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Oct 5, 2023

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

@rwightman
Copy link
Collaborator

thanks

@rwightman rwightman merged commit 7ce65a8 into huggingface:main Oct 5, 2023
8 checks passed
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