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

Can't find the xformers.componenets Activations #1200

Open
asahni04 opened this issue Jan 24, 2025 · 1 comment
Open

Can't find the xformers.componenets Activations #1200

asahni04 opened this issue Jan 24, 2025 · 1 comment

Comments

@asahni04
Copy link

asahni04 commented Jan 24, 2025

❓ Questions and Help

hi i was using the 0.0.28 version but had to recently bump to 0.0.29.post1. i can't find the Activation class to use the Fused GeLU etc
i used to use Fused GeLU with the followup API. is it deprecated? what alternative do i do if it is?

from xformers.components.activations import Activation
self.net = xformers.components.feedforward.MLP(
            dim, drop_units, Activation.GeLU, mult, use_bias
        )
@lw
Copy link
Contributor

lw commented Jan 24, 2025

Take a look at the answers in #1194, and at #848.

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

No branches or pull requests

2 participants