pub fn checkpoint_shape(
config_json: &str,
served_vocab: u64,
) -> Result<ArchShape>Expand description
2026-09-30: The shape a served checkpoint runs: its config.json through the circuit’s config
map (metrale_circuit::map_checkpoint, the one config-to-shape mapping), with vocab at the
served vocabulary: ModelConfig::vocab_size after the server caps it to the tokenizer
(cap_vocab_size_to_tokenizer). served_shape then checks it against INSTANCES.toml.