Skip to content

Commit

Permalink
chore: update to localai v2.1.0
Browse files Browse the repository at this point in the history
Signed-off-by: Sertac Ozercan <[email protected]>
  • Loading branch information
sozercan committed Dec 17, 2023
1 parent 88591cf commit 25d65db
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 18 deletions.
21 changes: 4 additions & 17 deletions .github/workflows/extract-binary.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,14 @@ on:
workflow_dispatch:

permissions:
# contents: write
packages: write

jobs:
extract-binary:
# strategy:
# fail-fast: true
# matrix:
# build-type:
# - cublas-cuda12
runs-on: ubuntu-latest
timeout-minutes: 240
env:
LOCAL_AI_VERSION: v2.1.0
steps:
- uses: easimon/maximize-build-space@master
with:
Expand All @@ -25,15 +21,6 @@ jobs:
remove-haskell: 'true'
remove-android: 'true'

- name: cleanup disk space
run: |
# docker system prune -f -a --volumes
# sudo rm -rf /usr/share/dotnet
# sudo rm -rf /opt/ghc
# sudo rm -rf "/usr/local/share/boost"
# sudo rm -rf "$AGENT_TOOLSDIRECTORY"
df -H
- name: install oras
env:
ORAS_VERSION: 1.1.0
Expand All @@ -50,7 +37,7 @@ jobs:
- name: extract artifacts from local-ai container
run: |
crane export quay.io/go-skynet/local-ai:v2.0.0-cublas-cuda12 > export.tar
crane export quay.io/go-skynet/local-ai:${LOCAL_AI_VERSION}-cublas-cuda12 > export.tar
tar -xvf export.tar build
- name: Login to GHCR
Expand All @@ -62,6 +49,6 @@ jobs:

- name: create and push oci artifact
run: |
oras push ghcr.io/sozercan/test/local-ai:v2.0.0-cublas-cuda12 \
oras push ghcr.io/sozercan/test/local-ai:${LOCAL_AI_VERSION}-cublas-cuda12 \
build/local-ai:application/octet-stream \
build/backend-assets/:application/octet-stream
2 changes: 1 addition & 1 deletion pkg/aikit2llb/convert.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
const (
debianSlim = "docker.io/library/debian:12-slim"
distrolessBase = "gcr.io/distroless/cc-debian12:latest"
localAIVersion = "v2.0.0"
localAIVersion = "v2.1.0"
cudaVersion = "12-3"
)

Expand Down

0 comments on commit 25d65db

Please sign in to comment.