b70-optimization-lab

Qwen3.6 Phase 3: steady-state metadata copy skip

Date: 2026-06-21

Scope: vllm/v1/worker/gpu_model_runner.py, _prepare_inputs() metadata copies for TP4 single-request decode. All runs below used the guarded PIECEWISE forced-comm identity plus VLLM_XPU_DECODE_CUDAGRAPH_REPLAY_EAGER_EVERY_N_REQUESTS=8 unless noted.

Result Summary

Current Decision

Do not commit the copy-skip patch. The broad version is rejected, and the safer two-copy version also failed a known-good 96-repeat quality lane after the driver reset.

Post-reset follow-up:

Next Clean-Room Validation After Reboot

  1. Do not retry metadata copy skipping unless a new correctness explanation is found.
  2. Move to a different Phase 3 target: GPU-side num_computed_tokens update or slot-mapping reuse.
  3. Include FI_TCP_IFACE=eno1 CCL_KVS_IFACE=eno1 in future launches on this post-reset host state.

Follow-Up: GPU-Side num_computed_tokens Update

Tried replacing the steady-state num_computed_tokens[:num_reqs].copy_(cpu_tensor) with an opt-in GPU add_(1) path guarded by VLLM_XPU_PI_GPU_NUM_COMPUTED=1.