mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-21 14:52:20 +00:00
Putting the cuda package in the flake.
This commit is contained in:
parent
d7333830b5
commit
12b88204b0
5
.github/workflows/nix_integration_tests.yaml
vendored
5
.github/workflows/nix_integration_tests.yaml
vendored
@ -30,13 +30,8 @@ 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
|
||||
sudo find /usr/lib . -name 'libcuda.so*' -exec ln -s {} /run/opengl-driver/lib/ \;
|
||||
sudo find /usr/lib . -name 'libnvidia-ml.so*' -exec ln -s {} /run/opengl-driver/lib/ \;
|
||||
nix develop .#test --command pytest -svv integration-tests/ --release
|
||||
env:
|
||||
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
||||
|
Loading…
Reference in New Issue
Block a user