Skip to content

Commit

Permalink
chore: update localai v2.8.1
Browse files Browse the repository at this point in the history
Signed-off-by: Sertac Ozercan <[email protected]>
  • Loading branch information
sozercan committed Feb 16, 2024
1 parent a15f4eb commit 30b5869
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/extract-binary.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,10 @@ jobs:
with:
name: artifacts
path: |
build/local-ai
build/backend-assets/grpc/stablediffusion
- run: |
mkdir -p upload/cuda12
cp build/local-ai upload/cuda12/local-ai
mkdir -p upload
cp build/backend-assets/grpc/stablediffusion upload/stablediffusion
- uses: bacongobbler/azure-blob-storage-upload@50f7d898b7697e864130ea04c303ca38b5751c50 # v3.0.0
Expand Down
4 changes: 2 additions & 2 deletions pkg/aikit2llb/convert.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const (
debianSlim = "docker.io/library/debian:12-slim"
distrolessBase = "gcr.io/distroless/cc-debian12:latest"

localAIVersion = "v2.8.0"
localAIVersion = "v2.8.2"
localAIRepo = "https://github.com/mudler/LocalAI"
cudaVersion = "12-3"
)
Expand Down Expand Up @@ -227,7 +227,7 @@ func addLocalAI(c *config.Config, s llb.State, merge llb.State) (llb.State, llb.
var localAIURL string
switch c.Runtime {
case utils.RuntimeNVIDIA:
localAIURL = fmt.Sprintf("https://sertaccdn.azureedge.net/localai/%s/cuda12/local-ai", localAIVersion)
localAIURL = fmt.Sprintf("https://github.com/mudler/LocalAI/releases/download/%s/local-ai-cuda12-Linux-x86_64", localAIVersion)
case utils.RuntimeCPUAVX2:
localAIURL = fmt.Sprintf("https://github.com/mudler/LocalAI/releases/download/%s/local-ai-avx2-Linux-x86_64", localAIVersion)
case utils.RuntimeCPUAVX512:
Expand Down

0 comments on commit 30b5869

Please sign in to comment.