Repository navigation
[serge] Fix 5 integration tests for model qwen3_vl_moe failing with other, raising RuntimeError (other (5)) - #50145
Open
sergereview[bot] wants to merge 1 commit into
Open
sergereview[bot] wants to merge 1 commit into
sergereview[bot] wants to merge 1 commit into
Conversation
… `other`, raising `RuntimeError` (other (5))
Contributor
|
[For maintainers] Suggested jobs to run (before merge) run-slow: qwen3_vl_moe |
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
This was referenced Oct 30, 2026
This branch has not been deployed
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.
Original CI failure
5 integration tests for modelqwen3_vl_moefailing withother, raisingRuntimeError(other (5))tests/models/qwen3_vl_moe/test_modeling_qwen3_vl_moe.py::Qwen3VLMoeIntegrationTest::test_small_model_integration_test[multi-gpu] (other, seen 21/21)CI traceback —
tests/models/qwen3_vl_moe/test_modeling_qwen3_vl_moe.py::Qwen3VLMoeIntegrationTest::test_small_model_integration_testWhere to watch it:
The 5
Qwen3VLMoeIntegrationTesttests OOM insidefrom_pretrainedwhile convertingexperts.gate_up_proj(768 MiB transpose temporary).Qwen/Qwen3-VL-30B-A3B-Instructis 30B params ≈ 60 GiB in bf16 against 2×22.3 GiB cards, sodevice_map="auto"fills each GPU to ~100% (21.94 GiB in use, 368 MiB free) and leaves no headroom for the conversion buffer. Each test also reloaded the whole checkpoint.Test-side fix, following the
glm4v_moe/qwen3_omni_moepattern (#48776): a lazyget_model()classmethod on theMemoryCleanupMixinclass loads the checkpoint once with a 70% per-GPUmax_memorycap plus a"cpu"entry and anoffload_folder, and the tests call it instead of loading their own copy. No library code touched; expected strings unchanged.Relates to #50143
✅ Verified on GPU
serge ran the targeted
@slowtest(s) on a GPU runner and opened this PR only after they passed with this patch. Each targeted test was run 5× on both the pre-patch and patched trees to rule out flakiness — the result held on every run.Possibly related
Existing issues/PRs mentioning
test_small_model_integration_test(keyword match — not verified to share a root cause):This change was produced automatically by serge from a CI failure report. The patch was generated by an LLM and applied by serge; review before merging.
serge
v0.1.0· model:deepseek-ai/DeepSeek-V4.1-Flash-1017:together· 43 LLM turns · 48 tool calls · 180.7s · 1692094 in / 77312 out tokens