lora_eager_env

Function lora_eager_env 

Source
pub fn lora_eager_env() -> bool
Expand description

Permanent LoRA debugging hatch: ATLAS_LORA_EAGER=1 (or true) forces eager decode (no CUDA-graph capture) when an adapter is active, so graph-vs-eager output parity can be compared in the field. Read ONCE — the decode graph gate runs per token. Resolved at the point of use rather than cached in a static: the model carries this as ModelLevers::lora_eager for the per-token decode gate, and the remaining callers are one-shot startup checks where a getenv is free.