Spaces:
Running
Running
File size: 1,651 Bytes
80ff38e e39ff12 80ff38e 7efd044 2ecd91a 7efd044 2ecd91a e39ff12 2ecd91a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 | ---
title: Kernels Community
emoji: 🔥
colorFrom: gray
colorTo: green
sdk: static
pinned: false
---
<div align="center">
<img
src="https://github.com/user-attachments/assets/4b5175f3-1d60-455b-8664-43b2495ee1c3"
alt="Kernels Community"
width="200"
/>
</div>
# Kernels Community
The **Kernel Hub** allows Python libraries and applications to **load optimized compute kernels directly from the Hugging Face Hub**.
You can think of it as the Model Hub, but for low-level, high-performance code (kernels) that accelerate specific operations, often on GPUs.
Instead of manually managing complex dependencies, dealing with compilation flags, or building libraries like Triton or CUTLASS from source, the `kernels` library lets you fetch and run **pre-compiled, optimized kernels** on demand.
---
## Repos
The Kernel Hub team maintains two core repos:
### `kernels`
The main repository containing:
- A deterministic kernel builder
- A Python library for loading and executing kernels
Documentation:
https://huggingface.co/docs/kernels/
### `kernels-community`
A repository that contains the source code for all of the kernels-community kernels
Source code:
https://github.com/huggingface/kernels-community
---
## Compliant Kernels
Kernels published on the Hub are designed to be:
- **Portable** — loadable from paths outside `PYTHONPATH`
- **Isolated** — multiple kernel versions can run in the same process
- **Compatible** — support different Python versions, PyTorch builds, and C++ ABIs
---
Learn more about the Kernel Hub and the `kernels` library by reading the docs:
https://huggingface.co/docs/kernels/index
|