only generate gpu libs

This commit is contained in:
Michael Yang 2024-01-19 09:20:19 -08:00
parent 5580de4571
commit a8c5413d06

View file

@ -127,10 +127,7 @@ jobs:
if: ${{ startsWith(matrix.os, 'windows-') }}
- uses: golangci/golangci-lint-action@v3
test:
needs:
- generate
- generate-cuda
- generate-rocm
needs: generate
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
@ -157,21 +154,6 @@ jobs:
with:
name: ${{ matrix.os }}-${{ matrix.arch }}-libraries
path: llm/llama.cpp/build
- if: ${{ matrix.os == 'ubuntu-latest' }}
uses: actions/download-artifact@v4
with:
name: cuda-11.8.0-libraries
path: llm/llama.cpp/build
- if: ${{ matrix.os == 'ubuntu-latest' }}
uses: actions/download-artifact@v4
with:
name: rocm-5.7.1-libraries
path: llm/llama.cpp/build
- if: ${{ matrix.os == 'ubuntu-latest' }}
uses: actions/download-artifact@v4
with:
name: rocm-6.0-libraries
path: llm/llama.cpp/build
- run: go build
- run: go test -v ./...
- uses: actions/upload-artifact@v4