Repository navigation
[Core][SM70] Repair Qwen4Exp PLE integration from #338 - #374
Merged
yangzhuxinyzx merged 9 commits intoAug 28, 2026
Merged
yangzhuxinyzx merged 9 commits into
yangzhuxinyzx merged 9 commits into
Conversation
Integrate the Qwen3.8 Flash Next model and PLE CPU offload work from vLLM PRs #53896 and #53899, then carry the validated 1Cat SM70 compatibility layer for FP16 activations, hybrid caches, NVFP4 emulation, and top-token sampling. The included TP4 smoke covers checkpoint loading, PLE offload, prompt prefill, and one autoregressive decode step on four V100 32GB GPUs. Co-authored-by: huanghaoyan.hhy <huanghaoyan.hhy@alibaba-inc.com> Co-authored-by: zjy0516 <riverclouds.zhu@qq.com> Assisted-by: OpenAI Codex Signed-off-by: Leonccaa <166551845+Leonccaa@users.noreply.github.com>
Match the 1Cat mRoPE, FP8 skip, short-conv metadata, and host-to-device helper signatures. Narrow optional FP8 test scales so the upstream pre-commit mypy matrix can validate the imported code. Assisted-by: OpenAI Codex Signed-off-by: Leonccaa <166551845+Leonccaa@users.noreply.github.com>
Widen the 1Cat hybrid state-shape protocol to the current vLLM shape union and document intentional Qwen4Exp overrides for the older 1Cat Qwen3Next and pipeline-parallel interfaces. Assisted-by: OpenAI Codex Signed-off-by: Leonccaa <166551845+Leonccaa@users.noreply.github.com>
Apply the pinned Ruff 0.14.0 formatter to the two PR-specific files that differ from the current 1Cat main formatting baseline. Assisted-by: OpenAI Codex Signed-off-by: Leonccaa <166551845+Leonccaa@users.noreply.github.com>
Use four warps for the single-split sparse QSA prefill profile on exact SM70 devices while preserving the existing launch choices everywhere else. Add a pure policy test for the original profile boundaries and the V100-specific branch. The corresponding four-V100 TP4 gate improved 1K and 4K prefill by 5.47x and 6.16x with matching deterministic first tokens. Assisted-by: OpenAI Codex Signed-off-by: Leonccaa <166551845+Leonccaa@users.noreply.github.com>
Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
yangzhuxinyzx
marked this pull request as ready for review
August 28, 2026 04:00
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
Reconstruct the still-useful parts of #338 on the current public
mainwithout restoring its stale NVIDIA implementation:Audit repairs
PleOffloadLayerwhile preserving the existing dynamic-shape and SM70 UVA paths.ForkingPicklersymmetrically for tensor IPC and satisfy the forbidden-import gate.hf_overridesquantization fix while removing a cosmetic global PLE import that would couple ROCm/CPU loading to CUDA bindings.Test plan and result
pre-commit run --all-files: passed (Ruff, format, mypy, lockfiles, SPDX, forbidden imports, configuration gates).vllm._Cand was deselected in this source checkout.No broad end-to-end run was used; validation is source/static plus the smallest focused V100 tests that exercise the changed contracts.