Skip to content

ReVolta 0.2.0rc13

Pre-release
Pre-release

Choose a tag to compare

@Leonccaa Leonccaa released this 18 Nov 21:19
· 314 commits to main since this release
8b49690

ReVolta 0.2.0rc13 (release candidate)

A pre-release on the 0.2 line, following 0.2.0rc12. It adds validation support for Hy4-flash (tencent/Hy4-flash), text only, on four V100 32 GB GPUs. Qwen3.8 Flash-Next is unchanged from 0.2.0rc12: no native code changed, and its fixed regression prompts produce the same tokens as rc12. Hy4-flash support is frozen at this release, and later versions are not guaranteed to keep it working. Everything below comes from #216; the guide is docs/hy4-flash.md.

Features

  • Hy4-flash on SM70. A port of the vLLM Hy4-flash support (vllm-project/vllm#68296) with SM70 kernels in place of the SM90/BF16/FP8-only parts. It covers sparse MLA with the compressed IndexPool and attention sink, sliding-window layers, iHC, LatentMoE, host-memory Engram tables (about 60 GiB pinned in total), and the Hy4 tool-call and reasoning parsers. Decode runs in CUDA graphs with split-K attention and fused Engram and iHC kernels.
  • Checkpoints. leoncca/Hy4-flash-AWQ-g32 is recommended: KL 0.123 and top-1 agreement 92.2% against the BF16 parent on 8,675 held-out positions. The community ModelOpt NVFP4 checkpoint atakans/Hy4-flash-NVFP4 also loads and serves, running as W4A16, with lower quality (KL 0.244, top-1 88.6%).
  • FP8 attention KV cache (--kv-cache-dtype fp8_ds_mla). The latent is stored as E4M3 with one FP32 scale per 128 values, and RoPE stays FP16. Held-out quality matches the FP16 cache (KL 0.1232 vs 0.1236), and the KV pool grows by about 1.7 times.
  • Decode context parallelism (--decode-context-parallel-size 2/4). This follows vllm-project/vllm#57239, #44573 and #56738. The sparse layers' KV is split across GPUs by token and the IndexPool keys by group, while sliding-window caches stay replicated. The attention sink is applied once after merging FP32 partials, and decode still runs in CUDA graphs. With DCP4 the KV pool holds about 1.03 M tokens, and 512K contexts work.
  • Faster long prompts. Prefill index scoring now uses cuBLAS on the tensor cores, following the DeepSeek-V4 SM70 indexer, and is about 70 times faster at 120K tokens. A 122K-token prompt went from 498 s to 163 s, or 140 s with DCP4.

Default configuration

leoncca/Hy4-flash-AWQ-g32 with --kv-cache-dtype fp8_ds_mla, --decode-context-parallel-size 4 and --max-model-len 524288, thinking on (reasoning_effort="high"), and the official sampling defaults temperature=0.9, top_p=1.0, which the server reads from the checkpoint. The full command is in the guide.

Measured on four V100 32 GB GPUs

AWQ checkpoint, TP4, 200 W, FP8 KV:

DCP1, 256K DCP4, 512K (default)
GPU KV pool 289,521 tokens 1,026,152 tokens
Decode, one request 28.8 tok/s 27.3 tok/s
Decode, four requests (total) 88.4 tok/s 84.5 tok/s
Prefill, 2K / 7.2K prompt (time to first token) 2.3 s / 6.7 s (about 950 / 1,070 tok/s) 2.1 s / 5.9 s (about 1,000 / 1,230 tok/s)
122K-token prompt: first request / decode 163 s (about 750 tok/s) / 40.7 ms per token 140 s (about 870 tok/s) / 38.8 ms per token

A needle-retrieval check passed up to 256K tokens with DCP1 and up to 307K tokens with DCP4.

The NVFP4 checkpoint (DCP1, 256K) holds a 617,080-token KV pool and decodes at 29.6 tok/s for one request and 91.9 tok/s in total for four.

Upgrade notes

  • Qwen deployments do not need to upgrade. The changes to shared files apply only to Hy4-flash.
  • Hy4-flash needs exactly four V100 32 GB GPUs, --dtype half, VLLM_USE_V2_MODEL_RUNNER=0 and VLLM_SM70_QUANT_BACKEND=turbomind. The NVFP4 checkpoint also needs VLLM_SM70_NVFP4_TURBOMIND=1. See the guide for the full launch command.

Known issues

  • Hy4-flash does not support image or video input, DFly2 speculative decoding, pipeline parallelism, or GPU counts other than four.
  • Very long prompts are still slow: a 256K-token prompt takes about 30 minutes without DCP.
  • With DCP4, held-out KL is 0.125 against 0.123 without DCP, because the attention accumulation order changes. Top-1 agreement is the same.