Repository navigation
[serge] Fix 5 integration tests for model qwen3_vl_moe failing with other, raising RuntimeError (other (5)) - #50145
Conversation
… `other`, raising `RuntimeError` (other (5))
|
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. |
|
[For maintainers] Suggested jobs to run (before merge) run-slow: qwen3_vl_moe |
…them first - `test_small_model_integration_test_with_video` loaded its own uncapped copy (fp16) and still OOMed while converting `experts.gate_up_proj` on 2xA10G. It now uses the shared `get_model()` (bf16). The fp16 choice had no stated reason (added in #41277); the bf16 output matches the existing expected text. - The two FA2 tests keep their own load (different `attn_implementation`), now with the same 70% per-GPU `max_memory` cap and an `offload_folder`, and are marked `@run_first` so the shared model is not yet loaded. - The cap computation is moved to `get_max_memory()` so both load paths use it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
run-slow: qwen3_vl_moe |
Same pattern as `CwmIntegrationTest` (#50824): `cls.max_memory` is computed once in `setUpClass` and used by `get_model()` and the two FA2 tests. Values are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
run-slow: qwen3_vl_moe |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
CI (Nvidia + AMD)Nvidia · ✅ No new failures 🎉👏 · ⚙️ Workflow · 📊 Dashboard AMD · ✅ No new failures 🎉👏 · ⚙️ Workflow · 📊 Dashboard Failures (12 pre-existing)Pre-existing failures (still failing) — 12 total: Same error (12):
|
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