diff --git a/Dockerfile.base-applesilicon b/Dockerfile.base-applesilicon index 64595de9..61232586 100644 --- a/Dockerfile.base-applesilicon +++ b/Dockerfile.base-applesilicon @@ -1,13 +1,12 @@ -FROM fedora:39@sha256:d63d63fe593749a5e8dbc8152427d40bbe0ece53d884e00e5f3b44859efa5077 +FROM fedora:41@sha256:3ec60eb34fa1a095c0c34dd37cead9fd38afb62612d43892fcf1d3425c32bc1e -ARG MESA_VERSION="23.3.5-102" +ARG MESA_VERSION="24.1.2-101" USER 0 # Install the patched mesa-krunkit drivers RUN dnf -y install dnf-plugins-core && \ - dnf -y copr enable slp/mesa-krunkit && \ + dnf -y copr enable slp/mesa-krunkit epel-9-aarch64 && \ dnf -y install \ - mesa-vulkan-drivers-$MESA_VERSION \ - vulkan-loader-devel vulkan-tools vulkan-loader && \ + mesa-vulkan-drivers-$MESA_VERSION.el9.aarch64 && \ dnf clean all diff --git a/pkg/aikit2llb/inference/convert.go b/pkg/aikit2llb/inference/convert.go index 028a08cc..ad37e97a 100644 --- a/pkg/aikit2llb/inference/convert.go +++ b/pkg/aikit2llb/inference/convert.go @@ -158,7 +158,7 @@ func installCuda(c *config.InferenceConfig, s llb.State, merge llb.State) (llb.S func addLocalAI(c *config.InferenceConfig, s llb.State, merge llb.State, platform specs.Platform) (llb.State, llb.State, error) { var localAIURL string if c.Runtime == utils.RuntimeAppleSilicon { - localAIURL = fmt.Sprintf("https://sertaccdnvs.azureedge.net/localai/%[1]s/vulkan/local-ai", localAIVersion) + localAIURL = fmt.Sprintf("https://sertaccdnvs.azureedge.net/localai/%[1]s/kompute/local-ai", localAIVersion) } else { binaryNames := map[string]string{ utils.PlatformAMD64: "local-ai-Linux-x86_64",