Skip to main content

Settings

These are the few things that belong to the machine rather than to an experiment, so they live in the environment (or environment/.env, copied from .env.sample) instead of a config. Everything about a model or a run is in its YAML.

VariableDefaultWhat it does
HF_TOKEN
JOBS_DB./output/_jobs.sqlitethe API's job table
JOB_WORKERS1jobs run at once; set it to the number of GPUs on a multi-GPU server
API_TOKENwhen set, every /api route needs Authorization: Bearer <token>
API_PATHS.directories (colon-separated) the API may read configs and data from and write output to
PIPER_PYTHONenvironment/piper/.venv/bin/pythonthe Piper program's environment (environment/piper/setup.sh)