mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-24 00:12:08 +00:00
Link cuda to nix ?
This commit is contained in:
parent
8e7c7c61f1
commit
60db294f9a
5
.github/workflows/nix_integration_tests.yaml
vendored
5
.github/workflows/nix_integration_tests.yaml
vendored
@ -33,6 +33,9 @@ jobs:
|
|||||||
- name: Build
|
- name: Build
|
||||||
run: nix develop .#test --command echo "Ok"
|
run: nix develop .#test --command echo "Ok"
|
||||||
- name: Python tests.
|
- name: Python tests.
|
||||||
run: nix develop .#test --command python -m pytest -svvx integration-tests/
|
run:
|
||||||
|
sudo mkdir -p /run/opengl-driver/lib
|
||||||
|
sudo find /usr/lib . -name 'libcuda.so*' -exec ln -s {} /run/opengl-driver/lib/
|
||||||
|
nix develop .#test --command python -m pytest -svvx integration-tests/
|
||||||
env:
|
env:
|
||||||
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
||||||
|
Loading…
Reference in New Issue
Block a user