resolve_row_tiers

Function resolve_row_tiers 

Source
pub fn resolve_row_tiers(
    no_canonical: bool,
    exact_env: bool,
    canonical_env: bool,
    fp8_moe_checkpoint: bool,
) -> RowTiers
Expand description

2026-09-27: A model’s policy: --no-canonical-tiers keeps the scalar order if METRALE_ROW_EXACT_TIERS is present and the by-rows tiers otherwise; else a present lever decides; else FP8 MoE checkpoints run canonical and the others by rows. The dense mixed FP8/NVFP4 checkpoints (Qwen3.8-27B) keep their tiers: canonical tiers cost them 2-4% of decode throughput.