본문으로 건너뛰기

Server & Testing Environment Variables

Server

Read on uvicorn boot by server/app.py + server/engine.py + server/scheduler.py.

VariableRequiredDefaultEffect
TINYLOOP_MODEL_PATHyesPath to .tinyloop model.
TINYLOOP_MAX_SEQ_LENno2048Max prompt + generated length.
TINYLOOP_MAX_QUEUE_DEPTHno128Max queued requests before HTTP 503.
TINYLOOP_DEFAULT_SLO_MSnounsetDefault SLO for requests without one.
TINYLOOP_PREFIX_POOL_CAPACITYno16Shared PrefixPool LRU capacity.
TINYLOOP_BUILD_DIRno./buildPath to tinyloop_py.so.
TINYLOOP_COMMITnonullVersion string in model_info response.
HF_HOMEnodefaultHuggingFace tokenizer cache.

Testing

VariableEffect
TINYLOOP_TEST_MODEL_PATHPath to real .tinyloop artifact. Tests skip (exit 77) when absent.
TINYLOOP_TEST_BINARYPath to built tinyloop CLI binary.
TINYLOOP_TEST_BUILD_DIRPath to directory containing tinyloop_py.*.so.

β-informed deployment

See β-Informed Deployment Features for full details.

VariableValueEffect
TINYLOOP_BETA_MONITOR1Enable live entropy telemetry.
TINYLOOP_BETA_MON_FILEpathJSON output file.
TINYLOOP_CTX_TIER1Context-length-aware quantization tier policy.
TINYLOOP_CTX_TIER_SHORT_T512SHORT tier boundary.
TINYLOOP_CTX_TIER_LONG_T2048LONG tier boundary.