mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-26 12:32:10 +00:00
Attempt.
This commit is contained in:
parent
ec6fe324c6
commit
332e42f59a
2
.github/workflows/nix_integration_tests.yaml
vendored
2
.github/workflows/nix_integration_tests.yaml
vendored
@ -33,7 +33,7 @@ jobs:
|
||||
- name: Python tests.
|
||||
run: |
|
||||
sudo mkdir -p /run/opengl-driver/lib/
|
||||
export NVIDIA=$(nix-build -E 'with import <nixpkgs> { config = { allowUnfree = true; }; }; linuxPackages.nvidia_x11')
|
||||
export NVIDIA=$(nix build --print-out-paths .#nvidia-driver)
|
||||
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 -svv integration-tests/ --release
|
||||
|
Loading…
Reference in New Issue
Block a user