Docs
Browse documentation

Docs / Reference

Environment variables

Configure caches, transport behavior, native execution, sampling, sessions, and Hugging Face progress.

Complete public inventory

VariableEffect
FERMION_CACHE_DIRMove model downloads made by the fermion CLI.
HF_HOMEMove the complete Hugging Face cache.
FERMION_KEEP_TRANSPORT=1Keep the coded transport after verified local expansion.
FERMION_DOWNLOAD_ALL=1Download the entire model repository without filtering.
FERMION_NO_TV4Z=1Skip coded transport and download the raw container.
FERMION_TV4Z=/pathUse an explicit transport decoder.
FERMION_NATIVE_BIN=/pathUse an explicit native runner.
FERMION_THREADS=NSet the native decode thread count.
FERMION_MAX_THREADS=NRaise the default hard thread ceiling of 16.
FERMION_SEED=NPin the native seed for sampled decoding.
FERMION_SESSION=0Disable the resident session runner.
FERMION_SESSION_CTX=NOverride the resident session KV capacity.
HF_HUB_DISABLE_PROGRESS_BARSHonor the Hugging Face progress-bar preference.

Example configuration

shell
export FERMION_CACHE_DIR=/mnt/models/fermion
export FERMION_THREADS=12
export FERMION_SESSION_CTX=16384

fermion serve