Fix Qwen3 genai bundle component builds - #1248
Open
DingmaomaoBJTU wants to merge 2 commits into
Open
Conversation
DingmaomaoBJTU
force-pushed
the
dingmaomaobjtu-convert-qwen3-model
branch
2 times, most recently
from
July 29, 2026 07:32
8fc63fa to
ceed825
Compare
Preserve quantization when raw graphs skip ORT optimization, and make genai bundle assembly use private artifact builds so bundle export does not create runtime sessions. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
DingmaomaoBJTU
force-pushed
the
dingmaomaobjtu-convert-qwen3-model
branch
from
July 29, 2026 09:50
ceed825 to
e176488
Compare
| stage_timings["export"] = time.monotonic() - t0 | ||
| stages_completed.append("export") | ||
| logger.info("Export done (%.1fs) -> %s", stage_timings["export"], export_path) | ||
| pytorch_model = None |
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
Validation
uv run ruff check src\winml\modelkit\build\common.py src\winml\modelkit\commands\build.py src\winml\modelkit\config\build.py src\winml\modelkit\models\auto.py src\winml\modelkit\models\winml\composite_model.py src\winml\modelkit\models\winml\genai_bundle.py src\winml\modelkit\models\hf\qwen3\qwen_transformer_only.py tests\unit\build\test_hf.py tests\unit\build\test_onnx.py tests\unit\commands\test_build.py tests\unit\models\auto\test_from_pretrained_ep.py tests\unit\models\qwen3\test_qwen3_modeling.py tests\unit\models\winml\test_genai_bundle_orchestrator.pyuv run pytest tests\unit\build\test_hf.py tests\unit\build\test_onnx.py tests\unit\commands\test_build.py tests\unit\models\auto\test_from_pretrained_ep.py tests\unit\models\qwen3\test_qwen3_modeling.py tests\unit\models\winml\test_genai_bundle_orchestrator.pyQwen/Qwen3-0.6Bwith--export-type optimized --ep qnn --device npu --rebuildexits0and produces matching bundle hashes.