Skip to content

Commit

Permalink
server: test: ci fix cuda build
Browse files Browse the repository at this point in the history
  • Loading branch information
phymbert committed Feb 23, 2024
1 parent fce2e00 commit e4fb790
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/server-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ jobs:
defines: '-DLLAMA_NATIVE=OFF -DLLAMA_BUILD_SERVER=ON -DLLAMA_KOMPUTE=ON -DKOMPUTE_OPT_DISABLE_VULKAN_VERSION_CHECK=ON'
- build: 'vulkan'
defines: '-DLLAMA_NATIVE=OFF -DLLAMA_BUILD_SERVER=ON -DLLAMA_VULKAN=ON'
- build: 'cuda'
defines: '-DLLAMA_NATIVE=OFF -DLLAMA_BUILD_SERVER=ON -DLLAMA_CUBLAS=ON'
- build: 'cublas'
defines: '-DLLAMA_NATIVE=OFF -DLLAMA_BUILD_SERVER=ON -DLLAMA_CUBLAS=ON -DCUDAToolkit_ROOT=/usr/local/cuda'

steps:
- name: Clone
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
- name: Install CUDA
id: get_cuda
if: ${{ matrix.build == 'cuda' }}
if: ${{ matrix.build == 'cublas' }}
run: |
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.1-1_all.deb
dpkg -i cuda-keyring_1.1-1_all.deb
Expand Down

0 comments on commit e4fb790

Please sign in to comment.