Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: Sertac Ozercan <[email protected]>
  • Loading branch information
sozercan committed May 16, 2024
1 parent 6dff9db commit f84d5c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/aikit2llb/inference/convert.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const (
distrolessBase = "gcr.io/distroless/cc-debian12:latest"

localAIRepo = "https://github.com/mudler/LocalAI"
localAIVersion = "v2.13.0"
localAIVersion = "v2.14.0"
cudaVersion = "12-3"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/aikit2llb/inference/exllama.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func installExllama(c *config.InferenceConfig, s llb.State, merge llb.State) llb
s = cloneLocalAI(s, backend)

// clone exllama to localai exllama backend path and install python dependencies
s = s.Run(utils.Shf("git clone --depth 1 %[1]s --branch %[2]s /tmp/%[3]s && mv /tmp/%[3]s/* /tmp/localai/backend/python/%[3]s && rm -rf /tmp/%[3]s && cd /tmp/localai/backend/python/%[3]s && rm -rf .git && . $HOME/.cargo/env && uv pip install --no-build-isolation --requirement requirements-install.txt && EXLLAMA_NOCOMPILE= uv pip install --no-build-isolation && make protogen", exllamaRepo, exllamaTag, backend)).Root()
s = s.Run(utils.Shf("git clone --depth 1 %[1]s --branch %[2]s /tmp/%[3]s && mv /tmp/%[3]s/* /tmp/localai/backend/python/%[3]s && rm -rf /tmp/%[3]s && cd /tmp/localai/backend/python/%[3]s && rm -rf .git && . $HOME/.cargo/env && make exllama2", exllamaRepo, exllamaTag, backend)).Root()

// && pip3 install grpcio protobuf typing-extensions sympy mpmath setuptools numpy --break-system-packages && pip3 install -r /tmp/localai/backend/python/%[3]s/requirements.txt --break-system-packages

Expand Down

0 comments on commit f84d5c5

Please sign in to comment.