feat: configure standalone checkpoint converters with --pure-nnx flag#4560
Closed
RexBearIU wants to merge 1 commit into
Closed
feat: configure standalone checkpoint converters with --pure-nnx flag#4560RexBearIU wants to merge 1 commit into
RexBearIU wants to merge 1 commit into
Conversation
RexBearIU
requested review from
A9isha,
NuojCheng,
RissyRan,
SurbhiJainUSC,
abhinavclemson,
aireenmei,
bvandermoon,
darisoy,
dipannita08,
gagika,
gobbleturk,
hengtaoguo,
huytransformer,
igorts-git,
jiangjy1982,
khatwanimohit,
parambole,
richjames0,
shralex,
shuningjin,
suexu1025,
vipannalla and
xibinliu
as code owners
July 21, 2026 21:01
|
Caution The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased. |
RexBearIU
marked this pull request as draft
July 21, 2026 21:05
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
RexBearIU
force-pushed
the
gptoss-20b-e2e
branch
from
July 22, 2026 01:25
3f4f9c1 to
c1b607c
Compare
4 tasks
RexBearIU
force-pushed
the
gptoss-20b-e2e-linen
branch
from
July 22, 2026 01:28
dddfbea to
5de2615
Compare
RexBearIU
force-pushed
the
gptoss-20b-e2e
branch
from
July 22, 2026 01:35
c1b607c to
68a284a
Compare
RexBearIU
force-pushed
the
gptoss-20b-e2e
branch
2 times, most recently
from
July 22, 2026 02:22
7da9937 to
b1b5b0b
Compare
RexBearIU
force-pushed
the
gptoss-20b-e2e-linen
branch
from
July 22, 2026 02:23
5de2615 to
ed08a80
Compare
RexBearIU
force-pushed
the
gptoss-20b-e2e-linen
branch
from
July 22, 2026 02:27
ed08a80 to
dd3033e
Compare
RexBearIU
force-pushed
the
gptoss-20b-e2e
branch
from
July 22, 2026 02:28
b1b5b0b to
2414d0b
Compare
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.
Description
This PR configures the standalone GPT-OSS checkpoint converter scripts with a
--pure-nnxflag (defaulting to True) and completely bypasses any runtime loader translators or bridges.Key Details:
convert_gpt_oss_ckpt.py):--pure-nnxcommand line argument (default:True).decoder.layers(when--pure-nnx=True), or legacy Flax Linen string keys underdecoder.layers_X(when--pure-nnx=False).convert_gpt_oss_unscanned_ckpt.py):--pure-nnxcommand line argument (default:True)."layers"with integer keys matching modern NNXscan_layers=Falsehierarchy (when--pure-nnx=True), or flat string keys (when--pure-nnx=False).model_creation_utils.pyto its original, pristine state with zero runtime bridge translators or mappings.Note
Relation: This PR provides the essential
--pure-nnxconverter formatting required by the GPTOSS-20B modular testing pipeline in #4556. It should be reviewed and merged first.Tests
Checklist
Before submitting this PR, please make sure (put X in square brackets):
gemini-reviewlabel.