mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-19 22:02:06 +00:00
Tmate let's find with ldconfig ?
This commit is contained in:
parent
c784cb401d
commit
69c20a9d3f
4
.github/workflows/nix_integration_tests.yaml
vendored
4
.github/workflows/nix_integration_tests.yaml
vendored
@ -30,10 +30,12 @@ jobs:
|
||||
USER: github_runner
|
||||
- name: Build
|
||||
run: nix develop .#test --command echo "Ok"
|
||||
- name: Setup tmate session
|
||||
uses: mxschmitt/action-tmate@v3
|
||||
- name: Python tests.
|
||||
run: |
|
||||
sudo mkdir -p /run/opengl-driver/lib/
|
||||
export NVIDIA=$(nix build --print-out-paths .#nvidia-libs)/lib/
|
||||
export NVIDIA=/usr/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
|
||||
|
Loading…
Reference in New Issue
Block a user