Skip to content

Commit

Permalink
server: tests: ci : matrix cuda
Browse files Browse the repository at this point in the history
  • Loading branch information
phymbert committed Feb 23, 2024
1 parent 12bb797 commit 68cd1a4
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/server-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,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'

steps:
- name: Clone
Expand Down Expand Up @@ -81,6 +83,15 @@ jobs:
apt-get update
apt-get -y install vulkan-sdk
- name: Install CUDA
id: get_vulkan
if: ${{ matrix.build == 'cuda' }}
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
apt-get update
apt-get install cuda-toolkit
- name: Build
id: cmake_build
run: |
Expand Down

0 comments on commit 68cd1a4

Please sign in to comment.