Feat/qwen3.5 fp8toint8 - #1212
Open
1235v wants to merge 20 commits into
Open
Conversation
rdzhu225
reviewed
Jun 4, 2026
rdzhu225
reviewed
Jun 4, 2026
Collaborator
|
Add usage doc |
Collaborator
|
remove chinese |
physics31415926
approved these changes
Jul 7, 2026
…#1240) Add standard Apache 2.0 copyright header (Copyright 2026 FlagOS Contributors) to all source files. - **703 files** stamped with Apache 2.0 headers - **80 files** with upstream copyright (HuggingFace, Physical Intelligence, NVIDIA) — left untouched - **104 files** with other licenses (51 MPL, 41 proprietary, 10 MIT, 2 BSD) — third-party/upstream code - **31 files** skipped by rule — binary, JSON, etc. This PR was written in part with the assistance of generative AI.
…ples/qwen35/conf/inference
…. 2026/7/21 (flagos-ai#1244) <!-- Copyright 2026 FlagOS Contributors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> ### PR Category <!-- One of [ Train | Inference | Compress | Serve | RL | Core | Hardware | CICD | Tools | Others ] --> [CICD] ### PR Types <!-- One of [ User Experience | New Features | Bug Fixes | Improvements | Performance | Breaking Change| Deprecations | Test Case | Docs | Others ] --> Test Case ### PR Description <!-- Describe what you’ve done --> update golden value of functional_test hetero_train and train.
### PR Category <!-- One of [ Train | Inference | Compress | Serve | RL | Core | Hardware | CICD | Tools | Others ] --> Train ### PR Types <!-- One of [ User Experience | New Features | Bug Fixes | Improvements | Performance | Breaking Change| Deprecations | Test Case | Docs | Others ] --> Others ### PR Description <!-- Describe what you’ve done --> Update qwen3vl for the current `Megatron-LM-FL` and add functional tests.
ceci3
previously approved these changes
Jul 23, 2026
rdzhu225
approved these changes
Jul 23, 2026
| if self.is_mix_precision: | ||
|
|
||
| from llmcompressor.pipelines.registry import CalibrationPipeline | ||
| #pipeline_cls = CalibrationPipeline.load("mix_precision_search") |
There was a problem hiding this comment.
Please remove commented-out code. If you need to document why the approach changed, add a comment explaining the reason.
tengqm
requested review from
cyber-pioneer,
heavyrain-lzy and
zhaoyinglia
as code owners
July 25, 2026 11:22
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.
FP8 → INT8 Quantization Pipeline
This PR introduces a data-free FP8-to-INT8 conversion pipeline. It automatically dequantizes block-wise FP8 weights to BF16, then applies W8A8 PTQ via
llmcompressor, producing an INT8 checkpoint ready for end-to-end inference.How It Works
weight × scale) → temporary BF16 checkpointllmcompressor(model_free_ptq) on the BF16 modelValidated Models
How to Use FP8TOINT8 Quantization