header-langage
简体中文
繁體中文
English
Tiếng Việt
한국어
日本語
ภาษาไทย
Türkçe
Scan to Download the APP
Partnered With:

Hugging Face Officially Launches Kernels, GPU Operators Just as Easy to Install as Models with One Line of Code

According to Dynamic Beating Monitoring, Hugging Face CEO Clem Delangue announced the official launch of Kernels on Hub. The GPU operator is low-level optimized code that pushes the graphics card to its limit speed, accelerating inference and training by 1.7 to 2.5 times, but installation has always been a nightmare: taking the most common FlashAttention as an example, local compilation requires about 96GB of memory and several hours. Any slight mismatch in the PyTorch version or CUDA version results in an error, causing most developers to get stuck at this installation step.


Kernels Hub moves the compilation to the cloud. Hugging Face has pre-compiled operators under various GPU and system environments. Developers write one line of code, and the Hub automatically matches the hardware environment, downloading pre-compiled files in seconds for immediate use. The same process can load multiple different versions of operators, compatible with torch.compile.


Kernels were tested online in June last year, upgraded to the Hub repository type this month, on par with Models, Datasets, and Spaces. There are currently 61 precompiled operators covering common scenarios such as attention mechanisms, normalization, hybrid expert routing, quantization, supporting four hardware acceleration platforms: NVIDIA CUDA, AMD ROCm, Apple Metal, and Intel XPU, already integrated into Hugging Face's inference framework TGI and Transformers library.

举报 Correction/Report
RelatedRecommended
How to come up with a cryptocurrency startup idea in 1 minute? Just add the word “decentralization” in front of any successful Web2 product.
Pudgy Penguins NFT floor price has surged by nearly 35% in the past week, with the $PENGU price increasing almost 10x from the bottom.
Hugging Face's Self-Sovereign AI Agent Breach Incident, with the aggressors being GPT-5.6 Sol and an unreleased stronger model
Correction/Report
Submit
Add Library
Visible to myself only
Public
Save
Choose Library
Add Library
Cancel
Finish