Skip to content

Fix example use relu kernel as an example#262

Closed
MekkCyber wants to merge 5 commits intomainfrom
fix-docs
Closed

Fix example use relu kernel as an example#262
MekkCyber wants to merge 5 commits intomainfrom
fix-docs

Conversation

@MekkCyber
Copy link
Copy Markdown
Contributor

No description provided.

@HuggingFaceDocBuilderDev
Copy link
Copy Markdown

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.


# Download optimized kernels from the Hugging Face hub
activation = get_kernel("kernels-community/activation", version=1)
relu = get_kernel("kernels-community/relu", version=1)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I am not sure if we want to move to kernels-community/relu as an example? This kernel is our testing playground.

@drbh
Copy link
Copy Markdown
Collaborator

drbh commented Feb 6, 2026

small related update, this PR added metal support for the activation kernels huggingface/kernels-community#352 which may relieve the need to change the example (since most users are either on a cuda or metal enabled device)?

Copy link
Copy Markdown
Contributor Author

@MekkCyber MekkCyber left a comment

Choose a reason for hiding this comment

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

Will close this as activation kernels have cuda/metal builds now

@MekkCyber MekkCyber closed this Feb 9, 2026
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