Buckets:

hf-doc-build/doc-dev / kernels /pr_494 /en /installation.md
|
download
raw
622 Bytes

Installation

Install the kernels package with pip (requires torch>=2.5 and CUDA):

pip install kernels

or with uv

uv pip install kernels

or if you want the latest version from the main branch:

pip install "kernels[benchmark] @ git+https://github.com/huggingface/kernels#subdirectory=kernels"

We strongly recommend not using a free-threaded Python build yet. These builds are not only experimental, but do not support the stable ABI on Python versions before 3.15. Kernels are compiled with the stable ABI to support a wide range of Python versions.

Xet Storage Details

Size:
622 Bytes
·
Xet hash:
029819defad385a98de76014c6626dc8606522d6efbc80431ba8d5a433f4a755

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.