Conversation
TF_BUILD_CUDA is off in every job, since the runners have no GPU, so the cudaGraph tests never run. PantheonSim simulates a GPU on the runner's CPU; this job builds the CUDA unit tests and runs them there. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
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.
Every job builds with
TF_BUILD_CUDAoff, because the runners have no GPU, so thecudaGraphunit tests (unittests/cuda) never run in CI. This adds one job toubuntu.ymlthat builds them and runs them on a simulated NVIDIA T4.How: PantheonSim, via
pantheongpu/setup-pantheonsim, simulates the GPU on the runner's CPU. The kernels run from their PTX and the CUDA Graph calls go through the simulator's runtime, so the results are real. There is no timing model, so this checks correctness, not performance.Changes: one new job,
cuda-test-simulated-gpu, in the same style as the others:-DTF_BUILD_CUDA=ON -DCMAKE_CUDA_RUNTIME_LIBRARY=Shared, with examples and benchmarks off. The shared runtime is because the simulator stands in for it.unittests/cuda/CMakeLists.txtenables.ctest -E NOT_BUILT, which skips the CPU tests this job doesn't build; the existing jobs already run those.Nothing else changes.
What it can touch: the action is pinned by commit (v0.1.2), not by a tag, and it pins the simulator it builds by commit too, so nothing in the job changes until you move the pin. The new job's token is read-only (
permissions: contents: read), and the action uses no token or secrets; it installs packages only from Ubuntu's and NVIDIA's repositories. The job isn't a required check, so a red run never blocks a merge unless you decide it should.What it gives, from a run on my fork:
Disclosure: I maintain PantheonSim. Running these tests found a gap in it that's now fixed: a graph's memset node on
cudaMallocManagedmemory. If the job is ever flaky or wrong, please open an issue at pantheongpu/pantheonsim and I'll fix it on our side.🤖 Generated with Claude Code