Files
kernels/docs/env.md
Daniël de Kok 70f56ff856 Support DISABLE_KERNEL_MAPPING env var for completely disabling kernel mappings (#70)
* Disable kernel mappings with `DISABLE_KERNEL_MAPPING=1`

* Rename HF_KERNELS_CACHE to KERNELS_CACHE

But still recognize the old variant for compatibility.

* Add documentation for environment variables
2025-04-10 11:37:54 +02:00

239 B

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.