Model Details
Quick Start
1. Setup
git clone https://github.com/PyroMind-Dynamics/pyroDash.git
cd pyroDash
pip install -r requirements.txt
2. Run evaluation (evaluation/math_eval.sh)
Edit placeholders in evaluation/math_eval.sh, then:
bash evaluation/math_eval.sh
The script (1) starts a local vLLM server for the small model on port 8001, (2) runs math_eval.py, and (3) stops vLLM on exit.
Parameters
Table with columns: Variable / flag, Meaning, Example| Variable / flag | Meaning | Example |
|---|
MODEL | Local merged model path (vLLM serve + tokenizer) | /path/to/your/merged_model |
--glm-base-url | OpenAI-compatible API for the large/relay model | http://your-glm-host:8000/v1 |
--glm-api-key | API key for that endpoint | your-glm-api-key |
|
Tokenizer must include the special token <|llm_offload|>.
Results
Table with columns: Method, Avg. Acc. (%), LLM Token Ratio (%), Avg. LLM Calls, Cost ($)| Method | Avg. Acc. (%) | LLM Token Ratio (%) | Avg. LLM Calls | Cost ($) |
|---|
| Qwen3.5-4B | 28.36 | 0.00 | 0.000 | 2.26 |
| Qwen3.5-4B (+SFT) | 46.25 | 0.00 | 0.000 | 1.32 |
| RouteLLM (~75% GLM-5.2-FP8) | 52.74 | 77.37 | 0.808 | 44.62 |
λ=0.05 is the quality operating point (Avg. Acc. 64.04%, above GLM-5.2-FP8 alone). For low cloud cost (~1.9% LLM tokens), use λ=0.6.
Resources
Citation
@misc{pyrodash2026,
title = {PyroDash: Cost-Efficient Token-Level Small-Large Model Collaborative Inference},
author = {{PyroMind Dynamics}},
year = {2026},
note = {Preprint}
}
@misc{pyromind2026easyhard24k,
title = {{EasyHard-24K} v0.02},
author = {{PyroMind Dynamics}},
year = {2026},
howpublished = {\url{https://huggingface.co/datasets/pyromind/easyhard-24k}}
}
GRPO training data: BytedTsinghua-SIA/DAPO-Math-17k.
License
Apache 2.0 (derived from Qwen3.5-4B).