Offline warm marks pipelines as done even when no host pipeline was created #188
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/TaynanGT--Vice-Tay#188
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@NotADonky43 on GitHub · 2026-11-27 07:25 UTC · original
What happens
victory warmreceivesmade <index> <ms> 0when a recipe cannot create a host pipeline (e.g. its shader is missing from the local recipe book). It nevertheless appends that key towarm-done.txt. A normal subsequent warm skips the recipe even after the shader is available. This is distinct from #185 (shader-cache writes) and #184 (explicit shader skips).Verified on Windows, no game files needed
The included CLI regression creates two synthetic compute recipes but initially records only one shader. Stock
bcbb7959reports one refusal and puts both keys inwarm-done.txt. After appending the missing shader, stock attempts zero pipelines. With the patch, the first run records one success; the next invocation attempts and creates the repaired pipeline, then the next invocation skips the two actual successes. The regression also exercises an old ambiguous success entry. The app suite, recorded-pipeline tests and repository policy test passed.The patch records success only when the worker really created a pipeline. It versions success records because old lines cannot distinguish successes from refusals. It leaves explicitly skipped shaders and the existing timeout/device-loss quarantine unchanged. Permanently unsupported recipes can be attempted again on a later invocation, not in a loop during the same warm-up. This is not a runtime FPS claim.
Source patch and synthetic regression (apply with git apply)
@zmelumian972 on GitHub · 2026-11-27 19:22 UTC · original
Checked on
mainatb6ea434: this looks fixed by2cd040d(v2completion records written only whenthere, legacy lines no longer count as done).I ran the issue's title-free CLI regression under Linux / GE-Proton11-14 (RTX 5090,
--features diagnostics). I adapted it in two ways: it parses thev2 <fingerprint> <key>format instead ofmade-v1:, and sincefcf76dethe first run fails on purpose:22…has no shader in the bookwarm worker failed after 1 of 2 pipelines, exit 1;warm-done.txtholds onlyv2 … 1111…<fingerprint> 2222…line appended, shader added1 made before … 1 to make, then1 made in 1 s,22…now recorded asv20 to makeThe driver-refusal path (
made … 0) isn't reachable with this fixture any more. It's covered bywarm_completion_keeps_refusals_and_ambiguous_legacy_records_pending.One side effect of
fcf76de, from readingknown::make: the first unreadable recipe returns through?, so a worker stops there and the recipes after it in its batch aren't attempted. That happens again on everywarmuntil the shader is recorded. That may be intended; I'm just noting it in case a missing shader should skip the recipe rather than end the batch.From my side this issue can be closed.
🤖 Generated with Claude Code
@TaynanGT on GitHub · 2026-11-27 19:35 UTC · original
@NotADonky43 This is fixed on
mainin2cd040d. Thev2completion record is written only when the host actually creates the pipeline. Old completion records get another attempt.@zmelumian972 Thanks for checking the repair and the legacy record across those three runs. The test for refused pipelines is on
maintoo. Your note aboutfcf76deis right: a missing shader stops that worker and leaves the later recipes in its batch pending.