Let's try a compat drvier ?

This commit is contained in:
Nicolas Patry 2024-09-16 12:16:47 +02:00
parent fe533dc57b
commit c784cb401d
No known key found for this signature in database
GPG Key ID: 64AF4752B2967863
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ jobs:
- name: Python tests.
run: |
sudo mkdir -p /run/opengl-driver/lib/
export NVIDIA=/usr/lib/
export NVIDIA=$(nix build --print-out-paths .#nvidia-libs)/lib/
sudo find $NVIDIA . -name 'libcuda.so*' -exec ln -s {} /run/opengl-driver/lib/ \;
sudo find $NVIDIA . -name 'libnvidia-ml.so*' -exec ln -s {} /run/opengl-driver/lib/ \;
nix develop .#test --command pytest -svvx integration-tests/ --release

View File

@ -149,7 +149,7 @@
};
};
packages.nvidia-driver = pkgs.linuxPackages.nvidia_x11;
packages.nvidia-libs = pkgs.linuxPackages.nvidia_x11_legacy535.lib32;
packages.default = pkgs.writeShellApplication {
name = "text-generation-inference";
runtimeInputs = [