Skip to content

Commit

Permalink
Tmate let's find with ldconfig ?
Browse files Browse the repository at this point in the history
  • Loading branch information
Narsil committed Sep 16, 2024
1 parent 5c04c27 commit 6a034e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/nix_integration_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@
};
};

packages.nvidia-libs = pkgs.linuxPackages.nvidia_x11_legacy535.lib32;
packages.default = pkgs.writeShellApplication {
name = "text-generation-inference";
runtimeInputs = [
Expand Down

0 comments on commit 6a034e5

Please sign in to comment.