Explore the research collection
2 entries · Follow this search
- Code
xBridges
Checkpoint conversion, serving, and evaluation toolkit for xLLM. Converts tensor-parallel xLLM checkpoints to Hugging Face format (K2HorizonForCausalLM, BF16 safetensors) and back, with multi-node Slurm support; validates conversions by comparing per-token logprobs between xLLM and HF on the same document; registers K2 Horizon with vLLM 0.24, launches multi-node Ray+vLLM servers on Slurm, and runs lm-eval against them.
- Paper
Cross-Model KV Cache Transfer in LLM Families: A Closed-Form Linear Mapping for Prefill Reuse
Shows within-family matched-KV pairs (shared KV head count and head dim) have substantial linear structure: on Qwen3 14B->32B one source layer explains 56%/32% of target key/value variance, 79%/65% with multiple layers. A closed-form per-head ridge mapper with top-k cross-layer source selection and RoPE-stripped content-space keys retains 73-98% of standalone-prefill accuracy on four of six pairs (Qwen3, Llama 3.1, Ministral 3) and is 2.7-25x faster than re-prefill; two Ministral pairs collapse and a nonlinear MLP recovers up to +37 pp HellaSwag. Attention-output cosine predicts retention better than reconstruction R^2.