Repository navigation
[qwen3_8_fn] Remove the deleted ModelConfigConverter from build_model_config - #6314
Merged
Merged
Conversation
shuhuayu
marked this pull request as ready for review
November 21, 2026 09:54
shuhuayu
requested review from
acisseJZhong,
fegin,
felipemello1,
tianyu-l and
wwwjn
as code owners
November 21, 2026 09:54
…_config #6164 deleted ModelConfigConverter, validate_converter_compatibility and the converters argument of every build_model_config. The Flash-Next stack (#6046-#6054) landed after it with CI from the older base, so qwen3_8_flash_next/flavors.py still imports them and fails at import time. Remove the import, the argument and its loop, as #6164 did for the other models; no Flash-Next caller passes converters.
shuhuayu
force-pushed
the
qwen3-8-fn-fix-converters
branch
from
November 21, 2026 09:56
99a236e to
c06d6df
Compare
tianyu-l
approved these changes
Nov 21, 2026
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 (human-written)
as titled.
Why
mainfails to import Flash-Next. #6164 deletedModelConfigConverter,validate_converter_compatibilityand theconvertersargument of everybuild_model_config. The Flash-Next stack (#6046-#6054) merged about 2.5 hours later, but its CI had run against the older base, sotorchtitan/models/qwen3_8_flash_next/flavors.pystill imports the deleted names.Example.
On
main(65e88e9) this breaks:missing-module-attributeatqwen3_8_flash_next/flavors.py:19-21.What changed
qwen3_8_flash_next/flavors.py: remove the import, theconvertersargument ofbuild_model_configand its loop, as [config] Migrate ModelConfigConverter to ModelConfigTransform #6164 did for the other 13 models. No Flash-Next caller passesconverters; recipes apply transforms withapply_transforms.Numerics
None: the removed branch ran only when
converterswas passed, and no caller passed it.Testing
pytest tests/unit_tests/cpu(withmain's attn-gym pin): all Flash-Next tests pass. The 12 failures are intest_loss,test_dist_moe,test_loraandqwen3_5; the same 12 fail in this environment onmainbefore the Flash-Next stack (31d93fe), so they come from the local environment, not this change.qwen3_8_flash_next/flavors.py.Known issues / follow-ups
mainwith this change.