Environment Variables
Most users should not need environment variables for normal serving. Use them only for debugging or controlled experiments.
kt-kernel
| Variable | Role |
|---|---|
KT_KERNEL_CPU_VARIANT | Override automatic CPU variant selection for testing. |
KT_KERNEL_DEBUG | Print CPU detection and loading details. |
Example:
export KT_KERNEL_DEBUG=1
python -c "import kt_kernel"
Model and Cache Paths
Use standard Hugging Face and Python environment variables as needed for model cache placement, but do not rely on local reverse proxies in public docs.
When documenting a run, include any non-default environment variable in the runtime tuple.