Browse Source

Merge pull request #297 from martindevans/ubuntu-20.04

Ubuntu 20.04 Compile
tags/v0.8.1
Martin Evans GitHub 2 years ago
parent
commit
4359752d94
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      .github/workflows/compile.yml

+ 5
- 5
.github/workflows/compile.yml View File

@@ -33,7 +33,7 @@ jobs:
defines: '-DLLAMA_AVX2=OFF'
- build: 'avx512'
defines: '-DLLAMA_AVX512=ON'
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
@@ -85,12 +85,12 @@ jobs:
name: llama-bin-win-${{ matrix.build }}-x64.dll

compile-cublas:
if: ${{ github.event.inputs.cublas }}
if: ${{ github.event.inputs.cublas != 'false' }}
name: Compile (cublas)
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
os: [ubuntu-20.04, windows-latest]
cuda: ['12.1.0', '11.7.1']
runs-on: ${{ matrix.os }}
steps:
@@ -132,14 +132,14 @@ jobs:
path: .\build\bin\Release\llama.dll
name: llama-bin-win-cublas-cu${{ matrix.cuda }}-x64.dll
- name: Upload artifacts (Linux)
if: ${{ matrix.os == 'ubuntu-latest' }}
if: ${{ matrix.os == 'ubuntu-20.04' }}
uses: actions/upload-artifact@v3
with:
path: ./build/libllama.so
name: llama-bin-linux-cublas-cu${{ matrix.cuda }}-x64.so
compile-macos:
if: ${{ github.event.inputs.macos }}
if: ${{ github.event.inputs.macos != 'false' }}
name: Compile (MacOS)
strategy:
fail-fast: true


Loading…
Cancel
Save