From 60db294f9aae20cfe75e88953950ba025ce0ed48 Mon Sep 17 00:00:00 2001 From: Nicolas Patry Date: Thu, 12 Sep 2024 15:38:57 +0200 Subject: [PATCH] Link cuda to nix ? --- .github/workflows/nix_integration_tests.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/nix_integration_tests.yaml b/.github/workflows/nix_integration_tests.yaml index 90edb2e6..48f92376 100644 --- a/.github/workflows/nix_integration_tests.yaml +++ b/.github/workflows/nix_integration_tests.yaml @@ -33,6 +33,9 @@ jobs: - name: Build run: nix develop .#test --command echo "Ok" - name: Python tests. - run: nix develop .#test --command python -m pytest -svvx integration-tests/ + run: + sudo mkdir -p /run/opengl-driver/lib + sudo find /usr/lib . -name 'libcuda.so*' -exec ln -s {} /run/opengl-driver/lib/ + nix develop .#test --command python -m pytest -svvx integration-tests/ env: HF_TOKEN: ${{ secrets.HF_TOKEN }}