Skip to content

Disable the ctmrg and gradients test groups on CUDA - #505

Merged
kshyatt merged 1 commit into
QuantumKitHub:mainfrom
maleadt:ci-disable-failing
Nov 26, 2026
Merged

kshyatt merged 1 commit into
QuantumKitHub:mainfrom
maleadt:ci-disable-failing

Conversation

@maleadt

@maleadt maleadt commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

This comments out the ctmrg and gradients test groups in the Buildkite pipeline (CUDA, both Julia 1.10 and 1.13). The other CUDA groups are unchanged.

Between 2026-11-12 and 11-26 these steps failed on basically every build:

Step Failed Agent-hours
Julia 1.10 -- cuda / ctmrg 57/57 70
Julia 1.13 -- cuda / ctmrg 55/57 76
Julia 1.10 -- cuda / gradients 50/59 28
Julia 1.13 -- cuda / gradients 58/59 27

That's about 200 agent-hours in two weeks, or roughly 3% of the capacity of the whole JuliaGPU cuda queue. The queue is shared by many packages and is currently saturated, with jobs waiting hours to start, so steps that are known to fail are costing everyone else.

Every main build fails these steps. Before ~11-23 the failure was a TensorKit add_transform_kernel! MethodError on DiagonalTensorMap. Since TensorKit 0.17.4 (build 1203 or so), Zygote traces into CUDA's cufunction through MatrixAlgebraKit's GPU qr_compact! / _qr_copyR! path, which has no rrule. That fails with "llvmcall must be compiled to be called" (which CUDACore 6.3.1 reports as "Failed to load compiled kernel image"), and on 1.13 it segfaults. See e.g. main build 1239.

#482 (ksh/ctmrg_cache) seems to fix the 1.13 jobs (they passed on builds 1230/1241 of that branch), but the 1.10 jobs still fail there, and it hasn't been merged yet, so I disabled all four. Feel free to re-enable them once things pass again, or to adjust this to only skip the failing parts.

Assisted by: Opus 5.5.

This PR hasn't been reviewed in detail. I'm opening this based on Claude's analysis of the Buildkite queue history in an attempt to reduce CI pressure.

These four steps (Julia 1.10 and 1.13) have failed on essentially every
build for the last two weeks, currently because Zygote differentiates into
CUDA's kernel compiler through the GPU QR path, and they take ~100
agent-hours per week on the shared JuliaGPU cuda queue. Comment them out
until the underlying issue is fixed.
@kshyatt
kshyatt merged commit 906f9cf into QuantumKitHub:main Nov 26, 2026
1 check was pending
@kshyatt

kshyatt commented Nov 26, 2026

Copy link
Copy Markdown
Member

This would be a good basis on which to move as much of this over to JLArrays as we can

@codecov

codecov Bot commented Nov 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
see 52 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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