mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-22 15:32:08 +00:00
Back to failing version
This commit is contained in:
parent
2f1f082abe
commit
fe533dc57b
4
.github/workflows/nix_integration_tests.yaml
vendored
4
.github/workflows/nix_integration_tests.yaml
vendored
@ -30,12 +30,10 @@ jobs:
|
|||||||
USER: github_runner
|
USER: github_runner
|
||||||
- name: Build
|
- name: Build
|
||||||
run: nix develop .#test --command echo "Ok"
|
run: nix develop .#test --command echo "Ok"
|
||||||
- name: Setup tmate session
|
|
||||||
uses: mxschmitt/action-tmate@v3
|
|
||||||
- name: Python tests.
|
- name: Python tests.
|
||||||
run: |
|
run: |
|
||||||
sudo mkdir -p /run/opengl-driver/lib/
|
sudo mkdir -p /run/opengl-driver/lib/
|
||||||
export NVIDIA=$(nix build --print-out-paths .#nvidia-driver)/lib/
|
export NVIDIA=/usr/lib/
|
||||||
sudo find $NVIDIA . -name 'libcuda.so*' -exec ln -s {} /run/opengl-driver/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/ \;
|
sudo find $NVIDIA . -name 'libnvidia-ml.so*' -exec ln -s {} /run/opengl-driver/lib/ \;
|
||||||
nix develop .#test --command pytest -svvx integration-tests/ --release
|
nix develop .#test --command pytest -svvx integration-tests/ --release
|
||||||
|
Loading…
Reference in New Issue
Block a user