diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8c5d1e367..0c8ddbeb1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -85,7 +85,9 @@ test: stage: test needs: [check] script: - # All tests run on H100 node — real CUDA available, no stubs needed + # Remove CUDA stubs from LD_LIBRARY_PATH — nvidia RuntimeClass provides real libcuda.so + - export LD_LIBRARY_PATH=$(echo "$LD_LIBRARY_PATH" | tr ':' '\n' | grep -v stubs | tr '\n' ':' | sed 's/:$//') + - nvidia-smi # verify GPU access - cargo test --workspace --lib -- --skip model_loader::tests # --------------------------------------------------------------------------