K2-Horizon-3.7B-Uno-Plus

A Uno-Plus speculative-decoding adapter for IFM/K2-Horizon-3.7B.

The frozen base model verifies every drafted token, preserving exact output parity under greedy decoding and exact distribution parity under stochastic sampling. This checkpoint combines:

  • Skip-layer block-diffusion LoRA (adapter_model.safetensors, rank 128, alpha 2048) applied to 18 of the 36 transformer layers to draft a full token block in one forward pass.
  • Lightweight causal head (rectifier_model.safetensors, rank 256) that conditions each draft position on the preceding proposed token.

Throughput

Peak speedup over the autoregressive (AR) baseline of the same base model on identical hardware (geometric mean of tok/s across GSM8K, MATH500, HumanEval, MBPP, and MT-Bench):

Concurrency 1 8 16 32 64
Speedup 2.26x 2.09x 2.00x 1.71x 1.51x
Best shape T(16,32,32) b8 b8 b8 b4

Recommended default: b8 (use T(16,32,32) for single-stream latency at c=1, and b4 at c>=64). bN denotes a linear block of N tokens, and T(F,K,Q) denotes a draft tree. Measured on a single NVIDIA H200 GPU (T=1.0, top-p=0.95, top-k=20, max 4096 new tokens).

Acceptance length

Mean tokens accepted per draft-verify cycle (2x tokens per forward):

Shape b4 b8 b16 T(8,16,16) T(16,32,32) T(16,64,64)
Acceptance length 3.40 3.81 3.90 3.93 4.20 4.41

Serving

Serve with the unified SGLang engine pinned in uno-plus:

git clone https://github.com/MBZUAI-IFM/uno-plus && cd uno-plus

MODEL=<HF base export> ADAPTER=IFM/K2-Horizon-3.7B-Uno-Plus BLOCK=8 \
  bash scripts/k2h-3.7b/serve.sh

python3 generate.py --prompt "Write a haiku about GPUs." --chat

Export the dense base checkpoint to HuggingFace format first (see Export & conversion); the serving engine does not read raw xLLM DCP checkpoints.

Evaluation

Verify downstream accuracy parity and acceptance length (TPF) across the 8-benchmark suite in uno-plus:

export UNO_EVAL_ROOT=/shared/scratch/uno-eval
export MODEL=<HF base export> ADAPTER=IFM/K2-Horizon-3.7B-Uno-Plus

bash scripts/k2h-3.7b/eval.sh uno 8 1   # Uno linear draft, block 8
bash scripts/k2h-3.7b/eval.sh ar  8 1   # AR baseline on the same prompts

python3 evaluation/scoring/scores.py k2h37b-b8

Training

Trained with uno-plus (scripts/k2h-3.7b/train.sh) on 8 H200 nodes using self-generated OpenThoughts-3 rollouts (4K Arrow shards), block size 8 with a position-weighted distillation loss (weight exp(-j/(B-1)) at block position j), 9375 steps, lr=5e-5, and a rank-256 causal head with a confidence head.

Citation

@misc{unoplus2026,
  title={Uno-Plus: Improved Training Recipes for Diffusion-augmented LLMs},
  author={Lingjie Chen and Chunsan Hong and Hanghang Tong and Zhengzhong Liu and Subham Sekhar Sahoo},
  year={2026},
  howpublished={\url{https://github.com/MBZUAI-IFM/uno-plus}},
}
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for IFM/K2-Horizon-3.7B-Uno-Plus

Adapter
(4)
this model

Collection including IFM/K2-Horizon-3.7B-Uno-Plus