Repository navigation
v0.4.0
Added
-
cre composemeasures a routing's Stage 1 and Stage 1 + 2 accuracy, TPOT and E2EL on the batches that were actually served, including each escalation batch, from saved captures or the released captures dataset. A routing spec names the capture behind each tier and each gated cluster's escalation batch; clusters escalated together can share one batch. Every Stage 1 + 2 number the paper reports comes from it, andconfigs/routings/holds a spec for each. -
cre statsrebuilds the per-cluster stats filecre fitreads from saved captures, regrading every answer with its task's grader. A pool spec inconfigs/pools/names the capture behind each model, and the shipped stats configs rebuild byte for byte from the released captures. -
cre_router.capturesreads a saved capture: it regrades each answer from its full output and joins each request to its question, checked on output length, so a capture that does not match its records is refused rather than composed. -
cre_router.bootstrapgives confidence intervals for evaluations that cross questions with runs.gap()compares two systems on paired per-question differences, resampling questions and each system's runs;interval()keeps runs shared, for a difference between two stages of one system. -
cre_router.throughputreports vLLM's whole-run output throughput together with the full-load (steady-state) throughput, the output tokens per second while every slot is busy. -
Baselines:
cre_router.baselinesimplements the FrugalGPT cascade (Chen et al., 2024), with per-stage thresholds, one scorer per tier and cost accounting for cascades of any depth, and the HybridLLM router (Ding et al., 2024) with its three label schemes. -
The no-clustering ablation (k = 1) as routing specs, for TeleMath under TPOT and E2EL.
-
Stats configs carry
cluster_e2el_ms, so--cost-metric e2elfits on every shipped config. New configs: TeleMath on one and two A100s, and AIME and TeleQnA on two A100s. -
teleqna_think, the TeleQnA task for reasoning models, with the thinking sampling and a 40,960-token cap. -
cre evaluate --max-output-tokenslowers a task's output cap for a model whose context cannot hold it. It can only lower the cap, and the stats entry records it. -
A
dataextra (pyarrow) for reading the released datasets. -
A TeleMath serving example,
example_config_telemath.yaml, for the E2EL routing. -
cre --helplists every command, each subcommand prints what it does, and every option shows its default.
Fixed
-
cre evaluateraisesEmptyCaptureErrorwhen no request in the run generated a token. Such a run used to finish as a well-formed stats file reading error 1.0 at 0.0 ms. -
The serving examples use the reported one-card systems. The TeleQnA example serves Gemma4-E4B and Gemma4-26B with the Gemma4-E4B classifier, and the AIME example uses the VibeThinker-1.5B classifier trained on the reported captures.
-
The README quickstart and data-format links point to configs that exist, and each config's note names its own file.