Putting the cuda package in the flake.

This commit is contained in:
Nicolas Patry 2024-09-14 18:43:12 +02:00
parent d7333830b5
commit 12b88204b0
No known key found for this signature in database
GPG Key ID: 64AF4752B2967863
2 changed files with 1 additions and 5 deletions

View File

@ -30,13 +30,8 @@ jobs:
USER: github_runner
- name: Build
run: nix develop .#test --command echo "Ok"
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
- name: Python tests.
run: |
sudo mkdir -p /run/opengl-driver/lib
sudo find /usr/lib . -name 'libcuda.so*' -exec ln -s {} /run/opengl-driver/lib/ \;
sudo find /usr/lib . -name 'libnvidia-ml.so*' -exec ln -s {} /run/opengl-driver/lib/ \;
nix develop .#test --command pytest -svv integration-tests/ --release
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}

View File

@ -95,6 +95,7 @@
cargo
rustfmt
clippy
cudaPackages.cudatoolkit
]
++ (with python3.pkgs; [
docker