Kernels documentation
Environment variables
Getting started
Using kernels
QuickstartUsing LayersLocking Kernel VersionsEnvironment VariablesFAQMigrating from older versionsIntegrating kernels into a project
Building kernels
Writing KernelsBuilding kernelsLocal DevelopmentKernel RequirementsSecurityWhy Nix?Metal NotesBuild VariantsBuilding kernels with agents
API Reference
CLI Reference
You are viewing main version, which requires installation from source. If you'd like
regular pip install, checkout the latest stable version (v0.14.1).
Environment variables
KERNELS_CACHE
The directory to use as the local kernel cache. If not set, the cache
of the huggingface_hub package is used.
DISABLE_KERNEL_MAPPING
Disables kernel mappings for layers.