← models

V100 Builds · released 2026-11-30

Hy4-flash W4A16 AWQ

Tencent's 155.5B multimodal MoE quantized to 4-bit for four V100s: 0.041 nats KL to BF16, 166–171 tok/s DFly2 (607.8 C4), 5.2K tok/s fused DSA prefill, full multi-image & video with 3D MRoPE fused decode, and 5/5 needles at 1M context.

tok/s DFly2 C4
607.8 tok/s DFly2 C44 streams (151.9/req · 303.8 C1 rand / 166–171 real w/ Vision)
tok/s prefill (V3c)
5,191 tok/s prefill (V3c)Fused SM70 DSA: 4,851 @ 61K · 4,624 @ 123K · 589.8 Plain C16
3D MRoPE F7 decode
Image+Video 3D MRoPE F7 decodeMulti-image & video with zero decode hit (399K KV @ 262K ctx)
1M prefill · 5/5 needles
309 s 1M prefill · 5/5 needlesDCP=2 NVLink P2P: 90.4 @ 128K · 76.3 @ 1M · 144–260 DFly2

Hy4-flash is Tencent's 42-layer multimodal MoE: 155.5B parameters (excluding Engram tables), ~12B active per token, 512 routed experts with top-16 routing plus one shared expert, a ViT vision tower for images and video, a 1M-token native context window, and a built-in 0.85B speculative drafter (DFly2).

Hy4-flash-W4A16-AWQ quantizes the 41 routed-expert layers from Tencent's BF16 base weights to W4A16 AWQ g32 via sequential layer-by-layer GPTQ with diagonal-Hessian clipping search, re-encodes the four Engram tables with Tencent's exact FP8 round trip, preserves the full vit.* vision tower and DFly2 drafter at source precision, and ships the shared expert's int8 g32 GPTQ packs inside the checkpoint. Against tencent/Hy4-flash BF16, it measures 0.0407 nats mean KL served (95.04% top-1 agreement) and retains 98.05% of BF16 DFly2 speculative acceptance.

On 4× V100-SXM2-32GB with the fast15 SM70 engine (hy4-fast15-20261130), decode scales from 31.0 tok/s unoptimized to 113–114 tok/s plain C1 (589.8 tok/s at C16) and 166–171 tok/s real / 303.8 random C1 with DFly2 (607.8 tok/s at C4) — even with multi-image and video enabled, thanks to an interleaved 3D MRoPE CUDA kernel that keeps HY4_F7_ATTN_PREP and VLLM_HY4_POSITION_FUSION active. The fused SM70 DSA V3c prefill kernel with NCCL_PROTO=Simple and B=8192 reaches 5,191 tok/s at ~15K, 4,851 tok/s at ~61K, and 4,624 tok/s at ~123K; tool_choice passes 13/13 live; Engram runs in native CUDA with zero Triton JIT; and direct 2-GPU NVLink P2P DCP=2 serves the full 1,048,576-token window with 5/5 needles in 309.2 s prefill and 76–90 tok/s plain decode (144–260 tok/s with DFly2 across 128K–512K).

runs on
4× V100Tesla V100 32GB
engine
1Cat-vLLM (SM70) · 1Cat-vLLM main @ 1fa9c438b + ReVolta v0.2.0rc13 Hy4 port
stack
  • AWQ W4A16 g32 routed experts (sequential GPTQ from Tencent BF16)
  • FP8 Engram tables (exact Tencent FP8 round trip) + native SM70 CUDA kernels
  • Int8 g128 dense layers (converted at load) + in-checkpoint int8 g32 GPTQ shared expert
  • 1Cat-vLLM SM70 + ReVolta Hy4 port + fast15 profile + fused DSA V3c prefill
  • Multi-image & video ViT (`HYV4FlashVLForConditionalGeneration`) + 3D MRoPE fused decode
  • DFly2 speculative decoding (5 drafts, GPU confidence early-exit, batched GPU staging)
  • FP8 (fp8_ds_mla) KV cache + direct 2-GPU NVLink P2P DCP=2 for 1M context

01

Get it running

you'll need

  • 4× V100 32GB in one process, TP4. Measured on SXM2 cards over NVLink at 300 W.
  • ~60 GiB host RAM for the Engram tables (pinned via transparent hugepages).
  • 168.5 GB disk for the checkpoint (including the shared-expert sidecar and vision tower).
  • CUDA 12.8, gcc 14, Python 3.12, and torch 2.10 cu128 (prebuilt SM70 wheel provided).
  1. 1

    Check the hardware

    Four V100 32GB GPUs visible to one process (ideally one NVLink quad) and ~60 GiB free host RAM for Engram tables.

    shell
    nvidia-smi topo -m
  2. 2

    Download the weights

    168.5 GB including the shared-expert int8 sidecar and full vision tower. SHA256SUMS covers every file.

    shell
    hf download philbert440/Hy4-flash-W4A16-AWQ --local-dir ./Hy4-flash-W4A16-AWQ
    (cd Hy4-flash-W4A16-AWQ && sha256sum -c SHA256SUMS)

    philbert440/Hy4-flash-W4A16-AWQ

  3. 3

    Install the engine

    Install the prebuilt SM70 wheel (Python 3.12, torch 2.10+cu128). See HY4-V100.md to build from source.

    shell
    TAG=hy4-fast15-20261130
    WHEEL=1cat_vllm-1.5.4.dev157+hy4fast15.20261130-cp312-cp312-linux_x86_64.whl
    gh release download $TAG -R philbert440/hy4-flash-v100 -D hy4-release -p "$WHEEL" -p SHA256SUMS
    (cd hy4-release && sha256sum -c --ignore-missing SHA256SUMS)
    uv venv --python 3.12 .venv
    uv pip install --python .venv/bin/python "./hy4-release/$WHEEL" ninja --torch-backend=cu128

    ReleaseHY4-V100.md

  4. 4

    Launch (TP4, fast15, DFly2, Multi-Image & Video)

    Recommended interactive recipe (256K context, B=8192 + NCCL_PROTO=Simple for 5.2K tok/s V3c prefill, multi-image + video with full 3D MRoPE fused decode, 399K KV tokens, tool_choice enforced). For text-only (more KV cache: 453K at B=8192 or 557K at B=4096), drop --hf-overrides and --limit-mm-per-prompt. For plain decode / high concurrency, drop --speculative-config and --no-async-scheduling, use --compilation-config '{"mode":0,"cudagraph_mode":"FULL_DECODE_ONLY"}', and raise --max-num-seqs 16. For full 1M context, drop the multimodal flags and set --decode-context-parallel-size 2 --max-model-len 1048576 --max-num-batched-tokens 4096 --max-num-seqs 2 (1.22M KV plain / 1.11M DFly2).

    shell
    export CUDA_DEVICE_ORDER=PCI_BUS_ID CUDA_VISIBLE_DEVICES=0,1,2,3
    export VLLM_HY4_PROFILE=fast15 VLLM_HY4_DFLY_GRAPHS=both
    export HY4_W8_SHARED_SIDECAR=1
    export VLLM_WORKER_MULTIPROC_METHOD=spawn VLLM_USE_V2_MODEL_RUNNER=0 VLLM_SM70_QUANT_BACKEND=turbomind
    export VLLM_USE_BREAKABLE_CUDAGRAPH=0 PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True
    export NCCL_PROTO=Simple
    export CUDA_HOME=/usr/local/cuda-12.8 NVCC_CCBIN=g++-14
    .venv/bin/vllm serve ./Hy4-flash-W4A16-AWQ --served-model-name hy4-flash \
      --hf-overrides '{"architectures":["HYV4FlashVLForConditionalGeneration"]}' \
      --limit-mm-per-prompt '{"image":8,"video":1}' \
      --tensor-parallel-size 4 --decode-context-parallel-size 1 \
      --dtype half --kv-cache-dtype fp8_ds_mla \
      --max-model-len 262144 --max-num-batched-tokens 8192 --max-num-seqs 8 \
      --gpu-memory-utilization 0.97 \
      --enable-chunked-prefill --no-disable-hybrid-kv-cache-manager --enable-prefix-caching \
      --enable-prompt-tokens-details \
      --reasoning-parser hy_v4 --enable-auto-tool-choice --tool-call-parser hy_v4 \
      --speculative-config '{"num_speculative_tokens":5,"method":"dfly"}' \
      --compilation-config '{"mode":0}' --no-async-scheduling
  5. 5

    Smoke test

    Confirm Hy4 profile=fast15 active=[..., VLLM_HY4_POSITION_FUSION, HY4_F7_ATTN_PREP, ...] in the startup log. Thinking is enabled by default; pass reasoning_effort: no_think (or none) to disable it per request. Images (image_url) and videos (video_url) work directly through /v1/chat/completions.

    shell
    curl -s localhost:8000/v1/chat/completions -H 'Content-Type: application/json' -d '{"model":"hy4-flash","max_tokens":64,"messages":[{"role":"user","content":"Name the capital of France."}],"chat_template_kwargs":{"reasoning_effort":"no_think"}}'

02

Downloads

VariantFormatRuns onSizeDL / 30d
W4A16 AWQ g32, sequential GPTQ experts + int8 sidecar + ViT (4× V100 default)
philbert440/Hy4-flash-W4A16-AWQ
AWQ W4A16 g32 (GEMM) routed experts, FP8 Engram, int8 shared-expert sidecar, full ViT4× V100168.5 GB294

03

Inference stack

Release hy4-fast15-20261130 bundles all SM70 decode, fused DSA V3c prefill, multi-image/video with interleaved 3D MRoPE fused decode, multi-stream (m <= 64), direct 2-GPU NVLink P2P DCP=2, zero-JIT CUDA Engram, and StructuralTag tool_choice support in a single prebuilt wheel.

Every optimization is switchable via environment variables: VLLM_HY4_PROFILE=fast15 enables the measured production set, and VLLM_HY4_PROFILE=reference disables all speed paths. The startup log prints active flags (including HY4_F7_ATTN_PREP and VLLM_HY4_POSITION_FUSION even in multimodal VL mode).

With HY4_W8_SHARED_SIDECAR=1, the engine loads and content-verifies hy4-v100-shared-w8.safetensors directly from the checkpoint. CUDA 13 dropped Volta, so the stack stays on CUDA 12.8.

04

Recipe

4.1Weights & quantization

Built from tencent/Hy4-flash BF16 (d88c9dfd96ba) in AWQ-g32 layout: 41 routed-expert layers quantized with sequential layer-by-layer GPTQ (natural column order, diagonal-Hessian clipping search, damping 1e-5) over 581,183 calibration tokens (62% sanitized private agentic coding sessions, 38% public code/math/multilingual/tool/chat). Privacy audits confirmed zero memorization gain (+0.0007 nats membership gap) and zero leaked artifacts.

Engram tables are re-encoded from BF16 using Tencent's exact FP8 E4M3 round trip (6e-15 relative error). Attention, dense MLP, router, norms, embeddings, LM head, vision tower (vit.*), and the DFly2 drafter stay at source precision; the shared expert's int8 g32 GPTQ packs ship in hy4-v100-shared-w8.safetensors so other loaders can ignore them.

4.2Load-time conversion & startup

At startup, the engine converts dense projections and the small-batch LM head to symmetric int8 (g128), content-verifies and loads the shared-expert int8 sidecar, memory-maps AWQ weights with batched GPU compact prep, and pins Engram tables with transparent hugepages (~78–99 s warm boot). All four Engram ops (hash, gather, dequant_norm, fused apply) run in native STACK:0 SM70 CUDA with zero Engram Triton JIT.

4.3SM70 kernel architecture & multimodal 3D MRoPE

Single-stream decode (31.0 → 114.0 tok/s plain; 166–171 DFly2 real): coalesced streaming W8 LM head (122 µs, ~91% V100 HBM2 memcpy ceiling), consolidated hy4_moe_entry, fused W8 split-K finish + TP4 push RMSNorm across all 83 boundaries, non-cooperative attn_merge_v_gate, zero-spin 32-CTA HC bridge, wide32 UK prep, GPU confidence early-exit, and fused DFly2 staging/reconciliation (dfly_stage_batch_inputs / hy4_reconcile_tails).

Fused DSA V3c prefill (5,191 tok/s @ ~15K; 4,851 tok/s @ ~61K; 4,624 tok/s @ ~123K): BM=32, BN=32 Volta HMMA FlashAttention (hy4_dsa_flash_union_kernel, 93.4 KiB SMEM, bit2↔bit4 swizzle hitting 90.5 TFLOP/s pure SMEM HMMA, STACK:0/LOCAL:0), lazy once-per-layer FP16 k_all pre-unpack, CUBLAS_GEMM_ALGO10_TENSOR_OP PV fix for u_pad > 8192, and 3-regime adaptive dispatch (u <= 7200 cuBLAS / 7200 < u <= 14500 Flash V3 / u > 14500 paged prefill), layered onto Hy4-gated TurboMind AWQ g32 MoE prefill tiles (50.5 / 46.5 TFLOP/s), NCCL_PROTO=Simple, and B=8192.

Multi-image & video with zero decode hit: hy4_mrope_phases_kernel in hy4_attn_prep_sm70.cu computes interleaved 3D MRoPE (12, 10, 10) phases directly in CUDA (< 1e-6 vs reference), letting HY4_F7_ATTN_PREP and VLLM_HY4_POSITION_FUSION stay active under HYV4FlashVLForConditionalGeneration. High-res screenshots auto-downscale cleanly via smart_resize; video preprocessing ports Tencent's HYV4VLVideoProcessor bit-for-bit (0.000000 diff); and patch-chunked ViT encoding (<= 16,384 patches/call) keeps FP32 encoder activations under ~150 MB on V100.

Multi-stream concurrency (DFly2 C4: 607.8 tok/s; Plain C16: 589.8 tok/s): RB=1..3 (m <= 24) and chunked m <= 64 W8 projections, coalesced batched LM head, Tensor-Core split-K hy4_moe_entry with aux-stream shared overlap, wide32 attention prep, zero-JIT CUDA hy4_verify_top_tokens, and cached uniform SpecDecodeMetadata.

1M long-context DCP=2 (309.2 s 1M prefill; 90.4 → 76.3 tok/s plain / 144–260 DFly2): lock-free 2 MiB 2-GPU NVLink IPC ring (hy4_dcp_p2p_sm70.cuh, 3 disjoint 2-slot channels replacing 36 NCCL collectives/step at 0.523 ms/step inside CUDA graphs) with fused merge/push, combine/W8-V-gate, and P2P bitonic top-512 across target + all 12 DFly2 draft layers, paired with a 68.5 TFLOP/s 16-row HMMA prefill indexer and 4×4 PRMT-transposed LDS.64 16-head paged prefill.

05

Results

Headline performance (reference → fast14 → fast15 20261130)

Measurements on 4× Tesla V100-SXM2-32GB serving philbert440/Hy4-flash-W4A16-AWQ (B=8192 + NCCL_PROTO=Simple for 20261130 prefill & multimodal; B=4096 for concurrency & 1M DCP=2).

Measurereferencefast14fast15 (20261130)
Plain decode C1 / C4 / C1631.0 / 96.2 / — tok/s106.7 / 307.5 / — tok/s113.2 / 323.8 / 589.8 tok/s
DFly2 decode C1 (real / random)—138.1 / — tok/s166–171 (w/ Vision) / 303.8 tok/s
DFly2 concurrency C2 / C4 / C8——446.6 / 607.8 / 418.2 tok/s
Cold prefill ~15K / ~61K / ~123K (V3c, B=8192)——5,191 / 4,851 / 4,624 tok/s
Multimodal (screenshot / 3-image / MP4 video)—single image (no F7)0.78 s / 0.39 s / 0.71 s (full F7 MRoPE)
1M context (DCP=2) prefill / plain decode——309.2 s (3,391/s) / 76.3–90.4 tok/s
1M context (DCP=2 + DFly2) 128K–512K decode——146.4 / 144.4 / 260.2 tok/s (fits 1M)
KV cache tokens (VL B=8K / text B=8K / B=4K / DCP2)—— / — / 529K / —399K / 454K / 557K / 1.22M (1.11M DFly2)
Engram Triton cold JIT / tool_choice5 cubins / off5 cubins / off0 cubins (CUDA) / 13/13 live

measured on: 4× Tesla V100-SXM2-32GB (NVLink, 300 W), TP4, FP8 KV cache, philbert440/Hy4-flash-W4A16-AWQ, release wheel hy4-fast15-20261130, 2026-11-30

Multi-stream concurrency (C1 through C16)

Aggregate decode throughput (sum of per-stream post-TTFT rates, 256 generated tokens/stream, temperature=0). C1–C4 measured at --max-num-seqs 4; C8–C16 measured at --max-num-seqs 16 (plain) and 8 (DFly2).

StreamsPlain total (per-req)DFly2 random total (per-req)DFly2 natural range
C1113.2 tok/s (113.2/req)303.8 tok/s (303.8/req)166.3–171.3 tok/s
C2194.7 tok/s (97.4/req)446.6 tok/s (223.3/req)260.5–345.8 tok/s
C4323.8 tok/s (81.0/req)607.8 tok/s (151.9/req)280.4–468.9 tok/s
C8472.0 tok/s (59.0/req)418.2 tok/s (52.3/req, m≤64)—
C16589.8 tok/s (36.9/req)——

measured on: 4× Tesla V100-SXM2-32GB (NVLink, 300 W), TP4, FP8 KV cache, philbert440/Hy4-flash-W4A16-AWQ, release wheel hy4-fast15-20261129.7 in a clean venv, 2026-11-29

Full 1M-token context (DCP=2: 128K → 1,048,576)

Direct 2-GPU NVLink P2P IPC active across target and all 12 DFly2 draft layers (1,223,988 KV tokens plain / 1,113,862 with DFly2). Five needles at [8%, 30%, 50%, 70%, 92%] depth; at 256K the 30% needle collided with a prompt-injection log in the synthetic filler.

ContextNeedlesPrefill (baseline → fast15)Plain decode (baseline → fast15)DCP=2 + DFly2
128K (131,072)5/537.08 s → 31.46 s (4,162/s)70.2 → 90.42 tok/s (+28.8%)146.4 tok/s (2.76/step)
256K (262,144)4/5*78.07 s → 65.05 s (4,028/s)68.3 → 89.21 tok/s (+30.6%)144.4 tok/s (2.45/step)
512K (524,288)5/5170.41 s → 138.57 s (3,783/s)62.8 → 85.38 tok/s (+36.0%)260.2 tok/s (3.83/step)
1M (1,048,576)5/5392.33 s → 309.23 s (3,391/s, −83.1 s)55.7 → 76.33 tok/s (+37.0%)fits 1M (315.4 s, 4.88/step)

measured on: 4× Tesla V100-SXM2-32GB (NVLink, 300 W), TP4, DCP=2, FP8 KV cache, philbert440/Hy4-flash-W4A16-AWQ, release wheel hy4-fast15-20261129.7 in a clean venv, 2026-11-29

Quality & DFly2 acceptance vs tencent/Hy4-flash BF16

40 held-out prompts (2,560 teacher-forced positions for logit KL; 2,360 verify positions in paired FP32 reference forward for DFly2 acceptance). Brackets are paired case-bootstrap 95% intervals.

Metrictencent/Hy4-flash BF16W4A16-AWQDelta / Retention
Offline FP32 forward: mean KL (p95)0 (ref)0.0409 nats (0.201)95.16% top-1 agreement
V100 fast15 served: mean KL0 (ref)0.0407 nats95.04% top-1 (rawq KL 0.0795)
DFly2 raw k=5 accepted / verify1.79751.7564−0.0411 [−0.0754, −0.0089] (97.71%)
DFly2 fast15 var@0.45 accepted / verify1.7186 (w=3.619)1.6852 (w=3.636)−0.0335 [−0.0661, −0.0025] (98.05%)
DFly2 per-slot acceptance (slots 1–5)71.0 / 46.1 / 29.7 / 19.7 / 13.3%71.1 / 45.0 / 28.5 / 18.7 / 12.4%Slot-1 = 100.1% of BF16

measured on: Paired BF16 evaluation + V100 fast15 forced-decode check, 2026-11-29

06

Research log

  1. Port onto 1Cat-vLLM

    Applied Leonccaa's 47 Hy4 commits from ReVolta v0.2.0rc13 onto 1Cat-vLLM main (1fa9c438b). Unoptimized reference baseline decoded at 31.0 tok/s C1 / 96.2 C4.

  2. fast14 & tensor-core sparse indexer

    Native AWQ MoE, int8 dense/shared-expert kernels, tensor-core sparse indexer (128K decode step 20.1 → 12.0 ms), and fixed-accumulation prefill reader reached 106.7 tok/s plain, 138.1 tok/s DFly2, and 3.05 s / 12.69 s (8K / 32K) TTFT.

  3. Hy4-flash-W4A16-AWQ checkpoint & sidecar

    Published sequential GPTQ W4A16-AWQ weights with exact Tencent FP8 Engram tables (0.0409 nats offline KL / 95.16% top-1 vs BF16, 98.05% DFly2 acceptance retention) and in-checkpoint shared-expert sidecar.

  4. fast15 (.0–.3): decode roofline saturation, faster boot & tool_choice

    Fused DFly2 staging, GPU confidence early-exit, consolidated hy4_moe_entry, fused W8 split-K + TP4 push RMSNorm, non-cooperative merge, streaming W8 LM head (~91% HBM2), and wide32 UK prep lifted decode to 114.0 tok/s plain and 171.3 tok/s DFly2 (96 real prompts), cut warm boot to ~78–89 s, and enforced 13/13 live tool_choice.

  5. fast15 (.4–.5): prefill TTFT & multi-stream concurrency

    TurboMind AWQ MoE prefill tiles, expanded DSA union, SMEM HC stage-1, and large-M Engram AllGather cut 8K/32K TTFT to 1.63 s / 7.54 s (7.06 s real needle). RB=1..3 batched W8/AR/HC/MoE kernels and zero-JIT verify pushed DFly2 C4 to 607.8 tok/s (+44.8%) and C2 to 446.6 tok/s (+63.1%).

  6. fast15 (.6–.7): 1M DCP=2 NVLink P2P, C16 scaling & zero-JIT CUDA Engram

    16-row 68.5 TFLOP/s HMMA prefill indexer, split-CTA top-512, LDS.64 PRMT H16 paged prefill, FP16 A2A, and a lock-free 2-GPU NVLink P2P ring (0.523 ms/step) cut 1M prefill by 83.1 s (392.3 → 309.2 s, 5/5 needles) and lifted 128K–1M decode to 90.4 / 89.2 / 85.4 / 76.3 tok/s plain (144–260 tok/s with DFly2, fitting full 1M in 1.11M KV). Extended m <= 64 fast paths reached 589.8 tok/s Plain C16 / 418.2 DFly2 C8, and 4 native STACK:0 CUDA Engram kernels eliminated all Engram Triton JIT.

  7. fast15 (20261130): fused DSA V3c prefill & full multi-image/video with 3D MRoPE decode

    Added hy4_dsa_flash_union_kernel (BM=32, BN=32, 90.5 TFLOP/s SMEM HMMA with bit2↔bit4 swizzle, lazy FP16 k_all pre-unpack, and 3-regime adaptive dispatch) plus NCCL_PROTO=Simple and B=8192, lifting cold prefill to 5,191 / 4,851 / 4,624 tok/s across 15K / 61K / 123K (+8–15%). Added hy4_mrope_phases_kernel so HY4_F7_ATTN_PREP and VLLM_HY4_POSITION_FUSION stay active under HYV4FlashVLForConditionalGeneration (166–171 tok/s C1 DFly2 preserved) and lifted the single-image, raw-pixel, and video caps (auto-downscaling high-res screenshots, bit-exact Tencent video packing, patch-chunked ViT for V100 VRAM, verified live on screenshots, 3-image prompts, and MP4 video).

built on the work of

  • The Tencent Hy Team, for Hy4-flash and its DFly2 drafter, under the Tencent Hy License 1.0.
  • leoncca, for the AWQ-g32 layout, packing format, and ReVolta Hy4-flash port.
  • 1Cat, for the SM70 engine.

07

Findings

  • V100 SM70 roofline saturation: CUPTI confirms we are within ~10–15% of physical limits on decode (w8_head_tile_max_m1 at 122 µs / ~91% of V100's 812.7 GB/s HBM2 memcpy ceiling, o_proj W8 split-K at 78–83% HBM2, and 83× TP4 NVLink barriers at the P2P latency floor).
  • Enabling multimodal (HYV4FlashVLForConditionalGeneration) previously disabled HY4_F7_ATTN_PREP and VLLM_HY4_POSITION_FUSION purely because rope_phases_sm70 only accepted 1D positions. Adding a 30-line interleaved 3D MRoPE CUDA kernel (hy4_mrope_phases_kernel) restored full 166–171 tok/s C1 DFly2 decode while serving multi-image and video inputs.
  • On 4× V100 NVLink prefill, combining NCCL_PROTO=Simple, --max-num-batched-tokens 8192, and the fused SM70 DSA V3c HMMA FlashAttention kernel (3-regime adaptive dispatch across union width u) lifted cold prefill by +8–15% across 15K–123K (5,191 / 4,851 / 4,624 tok/s), while B=16384 OOMs warmup — confirming B=8192 as the 32 GB V100 sweet spot.
  • Direct 2-GPU NVLink P2P IPC in DCP=2 replaced 36 NCCL collectives/step (~1.75 ms) with a lock-free 3-channel ring taking 0.523 ms/step (14.5 µs/hop) inside CUDA graphs. Going from 128K to 1M adds only +2.04 ms/step — 97% of which is pure HBM2 bandwidth for scanning 1.61 GB/step of compressed indexer keys.
  • Volta microarchitecture constraints matter: respecting SM70's 8-register allocation cliffs (STACK:0 everywhere) and wide LDS.64 loads (4×4 PRMT in-register V-transposition) beat persistent decode megakernels (reg-capped, −0.52 ms/step) and chip-wide __threadfence() ticket fusion on ≥128-CTA GEMMs.
  • Enforcing tool_choice: "required" and named function calls via xgrammar StructuralTag targeting Hy4's native <tool_call> XML preserves optional <think> blocks and passes 13/13 live checks on DFly2.