Skip to content

Conversation

MekkCyber
Copy link
Contributor

What does this PR do?

Follow up to add more activation kernels to #40890

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@MekkCyber MekkCyber changed the title add more activation kernels, follow up to https://github.com/huggingface/transformers/pull/40890 add more activation kernels, follow up Sep 17, 2025
@@ -26,7 +27,8 @@
logger = logging.get_logger(__name__)


class PytorchGELUTanh(nn.Module):
Copy link
Member

Choose a reason for hiding this comment

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

Won't it be a breaking change? 👀

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't think so since the class is only used in the mapping in the end of the file

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