huggingface-skills
Hugging Face Skills are definitions for AI/ML tasks like dataset creation, model training, and evaluation.
The Kernel Hub allows Python libraries and applications to load compute kernels directly from the Hub.
$ npx -y skills add huggingface/kernels --agent claude-code
Repo: huggingface/kernels
What's inside
The Kernel Hub allows Python libraries and applications to load compute kernels directly from the Hub. To support this kind of dynamic loading, Hub kernels differ from traditional Python kernel packages in that they are made to be:
PYTHONPATH.kernels Python package.Install the kernels Python package with pip (requires torch>=2.5 and CUDA):
pip install kernels
Here is how you would use the activation kernels from the Hugging Face Hub:
import torch
from kernels import get_kernel
# Download optimized kernels from the Hugging Face hub
activation = get_kernel("kernels-community/activation", version=1)
# Random tensor
x = torch.randn((10, 10), dtype=torch.float16, device="cuda")
# Run the kernel
y = torch.empty_like(x)
activation.gelu_fast(y, x)
print(y)
Browse available kernels at huggingface.co/kernels.
Hugging Face Skills are definitions for AI/ML tasks like dataset creation, model training, and evaluation.
FAQ
kernels is a Claude Code plugin with 5 hand-picked skills for development work, indexed on Flowy. Install it with the command on its page. It includes cpu-kernels, cuda-kernels, rocm-kernels. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.
Is this plugin yours?
Claim it with GitHubSubmit a pluginPromote it