Repository navigation
Treat out-of-memory pipeline compiles as pauses, not refusals - #4
Merged
Merged
Conversation
Five tests panicked on a machine with no SM 6.6 hardware device and no WARP one that takes WaveSize(32) (GitHub's runners) instead of saying so and leaving, as dispatched_words and the other GPU tests do: run_group64_on_hosts returns nothing then, NV05D1 leaves when there is no readback, and the cross-wave flat-store test runs on the devices it has. On a PC with the devices they run and check as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XYG3qUwPk3QMYYEpg56RS6
…e decoder does f9de61c made Tables::builtin read all 32 index slots in order, the widths word first, as BCPack.dll does; the test oracle merged later (b075af8) kept the old layout (skip the word, 31 slots), so the three oracle_parity tests failed on main against a decoder that is right. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XYG3qUwPk3QMYYEpg56RS6
- The driver's own E_OUTOFMEMORY is now put off like the memory guard's refusal and made again later, instead of refused for the whole run. - The pipeline wait loop ends once its pipeline is paused for memory, so a pass over the screen no longer waits its full 10 s. - Pauses double from 1 s up to 16 s per pipeline. Adds two tests in pipeline::make. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XYG3qUwPk3QMYYEpg56RS6
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XYG3qUwPk3QMYYEpg56RS6
Owner
Author
|
CI on 6081700 failed in 3 The fix is in #3, which also skips the shader GPU tests when no GPU is present. #3 isn't merged yet, so I merged its branch into this one (e75bf45) so CI can reach this PR's own pipeline and memguard tests. Locally, victory-formats passes 83/83 with the fix. Once #3 merges, that merge commit adds nothing to this PR's diff. I also merged it through to #5. Generated by Claude Code |
The test-only list of ~300 image offsets in heap_sites/frame_users.rs read as one 2,022-digit run of 0x literals, which the asset-policy test takes for embedded data. Same values, in decimal. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XYG3qUwPk3QMYYEpg56RS6
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.
Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01XYG3qUwPk3QMYYEpg56RS6
What this changes
refused::failedhands it to the newmemguard::driver_out_of_memory, which sets the thread's deferred flag. The pipeline is made again later instead of being refused for the rest of the run.make.rsnow leaves the wait onceretry_waits()is true, so a pass over the screen no longer waits its full 10 s for a build that nothing will start.retry_after_ms), so the workers and the queue aren't kept busy with compiles that can't start.Evidence (17:02 run on the owner's PC: RTX 5070 Ti, 9800X3D, 32 GB)
Tests
a_pipeline_the_driver_found_no_memory_for_is_made_laterandpauses_for_memory_double_up_to_their_ceiling.a_pipeline_made_ready_is_the_one_the_title_gets). The memguard tests passed 6/6.victory-gpuwith--all-targets -D warningsagainst x86_64-pc-windows-msvc, and it is clean.Overlap with upstream PRs
Upstream trustno1-coder/VIctory-NVIDIA PRs trustno1-coder#2743, trustno1-coder#2578 (its second part) and trustno1-coder#2580 (its "a wait ends when its build is put off" part) cover some of the same ground. They will be ported on top of this PR, with the overlap resolved there.
Generated by Claude Code