feat(gpt-oss): MXFP4 deosc BF16 snapshots and simplified 20B recipe - #1070
Open
HuangWei-95 wants to merge 3 commits into
Open
feat(gpt-oss): MXFP4 deosc BF16 snapshots and simplified 20B recipe#1070HuangWei-95 wants to merge 3 commits into
HuangWei-95 wants to merge 3 commits into
Conversation
…y the 20B recipe Keep QKVO in BF16 via a TE precision config while grouped GEMM stays MXFP4, and align the GPT-OSS MLPerf example with the llama3.1 launcher instead of the v26.3/v26.5 runtime Dockerfiles. Co-authored-by: Cursor <cursoragent@cursor.com>
HuangWei-95
requested review from
Xiaoming-AMD,
limou102 and
wenxie-amd
as code owners
September 1, 2026 09:00
Keep the weight-deosc assignment on one line so code-lint black --line-length=110 passes. Co-authored-by: Cursor <cursoragent@cursor.com>
use_turbo_norm_te_linear wraps QKV so finish_init never reached the inner TE module; forward it and match linear_qkv.linear. Keep BF16 grouped GEMM off FlyDSL, which is only registered for MXFP4.
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
run_with_docker.sh/config_MI355X_1x8x1.sh, and drop the v26.3/v26.5 runtime Dockerfiles, ASM override, and prewarm path.Test plan
tests/unit_tests/backends/megatron/test_weight_deosc.py(includes legacy fp32 snapshot load)gpt_oss_20B-MXFP4-deosc-mlperf-pretrain.yamlrun_with_docker.sh/config_MI355X_1x8x1.sh