[serge] Fix 8 integration tests for model deepseek_v32 failing with load_error (other (8))#46908
Open
sergereview[bot] wants to merge 2 commits into
Open
[serge] Fix 8 integration tests for model deepseek_v32 failing with load_error (other (8))#46908sergereview[bot] wants to merge 2 commits into
deepseek_v32 failing with load_error (other (8))#46908sergereview[bot] wants to merge 2 commits into
Conversation
… `load_error` (other (8))
|
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. |
Contributor
|
[For maintainers] Suggested jobs to run (before merge) run-slow: deepseek_v32 |
Contributor
|
CI Dashboard: View test results in Grafana |
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
1/1: 8 integration tests for modeldeepseek_v32failing withload_error(other (8))tests/models/deepseek_v32/test_modeling_deepseek_v32.py::DeepseekV32IntegrationTest::test_batched_generation_padding[multi-gpu] (load_error, seen 5/7)Relates to #46906
The DeepseekV32 integration tests load
deepseek-ai/DeepSeek-V3.2-Expwithdevice_map="auto". On CI runners whose auto device_map offloads some weights to disk, loading fails because nooffload_folderis provided. This is expected for large MoE models whose internal weight layout differs from the checkpoint layout.Root cause: test calls missing the
offload_folderargument required by the accelerate disk-offload path.Fix: pass a temporary
offload_folderto everyDeepseekV32ForCausalLM.from_pretrainedcall in the integration test class.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:moonshotai/Kimi-K2.7-Code· 25 LLM turns · 30 tool calls · 31.0s · 412737 in / 3828 out tokens