Skip to content

Port upstream fixes for commit, pipeline workers and compile waits - #5

Merged
seninhas merged 3 commits into
mainfrom
claude/upstream-memory-ports-88xwlx
Nov 29, 2026
Merged

seninhas merged 3 commits into
mainfrom
claude/upstream-memory-ports-88xwlx

Conversation

@seninhas

Copy link
Copy Markdown
Owner

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01XYG3qUwPk3QMYYEpg56RS6

This PR is stacked on #4 and targets its branch. Once #4 merges, GitHub retargets it to main.

Ported from open trustno1-coder/VIctory-NVIDIA PRs

Overlap with #4

Checks

  • I cross-checked clippy for the whole workspace with --all-targets -D warnings, with and without --all-features, against x86_64-pc-windows-msvc, and both are clean.
  • The GPU crate's tests only build on Windows, so CI here is the first test run.

Generated by Claude Code

Ported from trustno1-coder/VIctory-NVIDIA open PRs:
- trustno1-coder#2392 (Caillou): the memory guard counts how far the pagefile may
  still grow, as residency does (residency::available_commit).
- trustno1-coder#2508 (wrq2007): default pipeline workers are capped at 4 on hosts
  with 16 GiB or less and 8 on hosts with 32 GiB or less.
- trustno1-coder#2743 (Gabriele Cabrini): a compile the guard put off is not counted
  as a refused pipeline, nor retried past the guard; the F2 explainer
  says so.
- trustno1-coder#2580 (Kajcsi): full-screen passes and dispatches wait at most
  VICTORY_PIPELINE_COMPILE_GRACE_MS (50) once a build reaches the
  driver's compiler, and compute pipelines are made on a thread of
  their own.

Overlap with the memory-pause fixes: the wait loop keeps one
retry_waits() exit (now in trustno1-coder#2580's wait_loop), and refused::failed
returns early for the guard's deferral and turns the driver's own
E_OUTOFMEMORY into a pause. trustno1-coder#2743's test now expects that pause and
checks that other driver errors are still recorded.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XYG3qUwPk3QMYYEpg56RS6
@seninhas seninhas self-assigned this Nov 29, 2026
@seninhas
seninhas changed the base branch from claude/memory-pause-fixes-88xwlx to main November 29, 2026 17:58
@seninhas
seninhas merged commit c121e28 into main Nov 29, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants