mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-26 12:32:10 +00:00
Symlink all the things.
This commit is contained in:
parent
42107de71f
commit
7f58f7dc61
6
.github/workflows/nix_integration_tests.yaml
vendored
6
.github/workflows/nix_integration_tests.yaml
vendored
@ -38,6 +38,12 @@ jobs:
|
||||
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 'libcudart.so*' -exec ln -s {} /run/opengl-driver/lib/ \;
|
||||
sudo find /usr/lib . -name 'libcufft.so*' -exec ln -s {} /run/opengl-driver/lib/ \;
|
||||
sudo find /usr/lib . -name 'libcublas.so*' -exec ln -s {} /run/opengl-driver/lib/ \;
|
||||
sudo find /usr/lib . -name 'libcublasLt.so*' -exec ln -s {} /run/opengl-driver/lib/ \;
|
||||
sudo find /usr/lib . -name 'libcurand.so*' -exec ln -s {} /run/opengl-driver/lib/ \;
|
||||
sudo find /usr/lib . -name 'libnvidia-ml.so*' -exec ln -s {} /run/opengl-driver/lib/ \;
|
||||
export LD_LIBRARY_PATH=/run/opengl-driver/lib
|
||||
nix develop .#test --command python -m pytest -svvx integration-tests/
|
||||
env:
|
||||
|
Loading…
Reference in New Issue
Block a user