Skip to content

Commit

Permalink
Try sudo apt-get install cmake for gpu test.
Browse files Browse the repository at this point in the history
  • Loading branch information
luisenp committed Nov 13, 2024
1 parent 8996b90 commit cc3f24f
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/tests_gpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,10 @@ jobs:
which python && which pip
pip install --progress-bar off torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu118
python -c 'import torch; print("Torch version:", torch.__version__); assert torch.cuda.is_available()'
# - name: Install recent cmake
# run: |
# sudo apt-get update
# sudo apt-get install ca-certificates gpg wget
# test -f /usr/share/doc/kitware-archive-keyring/copyright || wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | gpg --dearmor - | sudo tee /usr/share/keyrings/kitware-archive-keyring.gpg >/dev/null
# echo 'deb [signed-by=/usr/share/keyrings/kitware-archive-keyring.gpg] https://apt.kitware.com/ubuntu/ jammy main' | sudo tee /etc/apt/sources.list.d/kitware.list >/dev/null
# sudo apt-get update
# test -f /usr/share/doc/kitware-archive-keyring/copyright || sudo rm /usr/share/keyrings/kitware-archive-keyring.gpg
# sudo apt-get install kitware-archive-keyring
# sudo apt-get install cmake
- name: Install recent cmake
run: |
sudo apt-get update
sudo apt-get install cmake
- name: Build Baspacho GPU
run: |
sudo apt-get install -y libopenblas-pthread-dev
Expand Down

0 comments on commit cc3f24f

Please sign in to comment.