Repository navigation
Conversation
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.
The existing CI builds the tests but never runs them, because the hosted runners have no GPU. This adds a separate, optional workflow
.github/workflows/gpu-sim.ymlthat builds the tests with CUDA 13.0 and runs them on a simulated NVIDIA H100 using PantheonSim (no GPU needed). I am the author of PantheonSim, so please weigh this accordingly.It does not touch
main.ymland is not meant to be a required check. A simulator cannot reproduce hardware-specific behaviour or timing, so it complements real-GPU testing and does not replace it.What it does:
TCNN_BUILD_TESTS=1,TCNN_CUDA_ARCHITECTURES=90-virtual(PTX only, which the simulator runs) and a shared CUDA runtime; benchmark and samples are offvgpu runinclude/,src/,tests/orCMakeLists.txt, with a concurrency group that cancels superseded runs, and uses ccacheLeft out:
test_networksis run only for its "NetworkWithInputEncoding empty-batch activations" case. The "Various invariance checks" case (JIT against non-JIT, 55 failed assertions, then a read of address 0 inkernel_mlp_fused_backward) and "FullyFusedMLP non-JIT double backward" (3 of 5 rows) fail on the simulator, although the same tests pass on a real RTX 3060 (sm_86). I have not found out whether that is a simulator limitation or something else, and I have a report for the simulator side.TCNN_BUILD_WITH_RTC=OFFis not used: on master it does not link (undefined reference to tcnn::CudaRtcKernel::set(CUfunction_attribute_enum, int)), so runtime compilation stays on. Happy to look at that separately if useful.Notes:
test_encodings,test_grid,test_jit_lossesandtest_permutopass on the simulator.