mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-27 21:12:07 +00:00
Only link cuda driver librairies.
This commit is contained in:
parent
e898483db6
commit
3d7b81535a
5
.github/workflows/nix_integration_tests.yaml
vendored
5
.github/workflows/nix_integration_tests.yaml
vendored
@ -36,11 +36,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
sudo mkdir -p /run/opengl-driver/lib
|
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 '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/ \;
|
sudo find /usr/lib . -name 'libnvidia-ml.so*' -exec ln -s {} /run/opengl-driver/lib/ \;
|
||||||
export LD_LIBRARY_PATH=/run/opengl-driver/lib
|
export LD_LIBRARY_PATH=/run/opengl-driver/lib
|
||||||
nix develop .#test --command python -m pytest -svvx integration-tests/
|
nix develop .#test --command python -m pytest -svvx integration-tests/
|
||||||
|
Loading…
Reference in New Issue
Block a user