max_lora_expert_rank

Function max_lora_expert_rank 

Source
pub fn max_lora_expert_rank() -> usize
Expand description

Feature-1 padded expert/router LoRA rank cap (ATLAS_LORA_EXPERT_RANK, default 16). Separate from --max-lora-rank (the attention pool) because the per-(layer,expert,proj) pool grows ~num_experts × num_layers faster, so a low cap bounds the expert-pool VRAM blow-up. An adapter with r above this is a named reject.