[WIP]feat(npu): add Ascend FP8/MXFP8 RLVR support and Qwen3.5 MoE reload - #492
Open
UsernameFull wants to merge 1 commit into
Open
[WIP]feat(npu): add Ascend FP8/MXFP8 RLVR support and Qwen3.5 MoE reload#492UsernameFull wants to merge 1 commit into
UsernameFull wants to merge 1 commit into
Conversation
Consolidates the committed npu_fp8 changes into one commit.
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.
Summary
This PR adds end-to-end Ascend NPU FP8 support for ROLL RLVR pipelines, including Megatron FP8 training, vLLM-Ascend online MXFP8 quantization, ModelSlim checkpoint loading, and Qwen3.5 MoE weight reload.
The changes target the following dependency stack:
core_r0.17.0core_r0.17.0v0.23.0v0.23.0rc1Motivation
ROLL previously lacked a complete Ascend FP8 training and rollout path.
This PR enables the following workflows:
Main changes
Ascend FP8 runtime
vLLM online MXFP8 quantization
online_quantization: ascend_mxfp8.Qwen3.5 MoE reload
ModelSlim checkpoint loading
Runtime stability
Docker and examples
docker/Dockerfile.A5for the CANN 9.1 / Ascend 950 environment.Tests
Added focused tests for:
Validation performed
git diff --checkalibaba/maindocker buildwas not executed locally because the Docker Desktop Linux engine was unavailableKnown limitations
Compatibility
Existing non-NPU and non-FP8 paths are intended to remain unchanged. Ascend-specific patches are installed only when the NPU runtime and corresponding quantization mode are active.