Skip to content

ci: pass -Dcuda-arch on the CUDA cache-hit path - #2

Merged
ddalcu merged 1 commit into
mainfrom
ci-fix-cuda-arch
Aug 10, 2026
Merged

ddalcu merged 1 commit into
mainfrom
ci-fix-cuda-arch

Conversation

@ddalcu

@ddalcu ddalcu commented Aug 10, 2026

Copy link
Copy Markdown
Owner

The arch list is part of the module fingerprint. The restore step computed the
asset name with -Dcuda-arch="$CUDA_ARCH" so the download matched, but the
build step then invoked -Dcuda-prebuilt without it — recomputing the
fingerprint with arch=ggml-default and rejecting the module it had just
fetched:

stored:   arch=75-real;80-real;86-real;89-real;90-real;120-real;120-virtual
current:  arch=ggml-default

Both CUDA jobs died ~90s in on run 31346796779, so the first run that could
have used the cache never compiled anything.

Verified on run 31346997904 (all three green, Install CUDA Toolkit skipped
on both CUDA jobs):

OS before after
macOS 6m50s 6m21s
Linux ~1h16m 14m35s
Windows ~2h08m 22m45s
total 1h53m (failure) 22m45s

https://claude.ai/code/session_01N2CCEhM8ewtAuHJceuWYAB

The arch list is part of the module fingerprint. The "Restore prebuilt CUDA
module" step computes the asset name with -Dcuda-arch="$CUDA_ARCH", so the
download matched, but the build step then invoked -Dcuda-prebuilt without
it — recomputing the fingerprint with arch=ggml-default and rejecting the
module it had just fetched:

  stored:   arch=75-real;80-real;86-real;89-real;90-real;120-real;120-virtual
  current:  arch=ggml-default

Both Linux and Windows failed this way ~90s in, so the first run that could
have used the cache never got to compile. Same in all three cache-hit sites.

Claude-Session: https://claude.ai/code/session_01N2CCEhM8ewtAuHJceuWYAB
@ddalcu
ddalcu merged commit 59fc84d into main Aug 10, 2026
4 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.

1 participant