From 6f6ddba746a2d07172f21b44a9d646bef00edbad Mon Sep 17 00:00:00 2001 From: Szymon Podeszwa <2962046+sz-po@users.noreply.github.com> Date: Wed, 26 Aug 2026 21:33:37 +0200 Subject: [PATCH 1/2] fix(deps): bump go-m1cpu to v0.2.2 to fix SIGSEGV on Apple M5 (#11736) go-m1cpu v0.1.6 runs its cgo initialiser from a package init(), where getFrequency() dereferences the CFTypeRef returned by IORegistryEntryCreateCFProperty without a NULL check. On Apple M5 the pmgr IORegistry node does not expose voltage-states5-sram / voltage-states1-sram in the shape v0.1.6 expects, so the call returns NULL and CFDataGetLength(NULL) faults before main() runs. Every command dies, including local-ai --version. The package is linked indirectly: cmd/local-ai reaches gopsutil/v3/{process,disk}, which pull in gopsutil/v3/cpu on darwin, which calls m1cpu.IsAppleSilicon() and m1cpu.PCoreHz(). v0.2.2 adds the missing NULL guard and moves the IORegistry probe out of init() behind a lazy sync.Once. The exported Go API is unchanged and the non-darwin stub is byte-identical, so gopsutil/v3 compiles against it untouched and no other platform is affected. Bumping gopsutil/v3 is not an alternative: v3.24.5 is the final v3 release, so the v3 line will never carry this fix. Fixes #11735 Assisted-by: Claude:claude-opus-5 Signed-off-by: Szymon Podeszwa <2962046+sz-po@users.noreply.github.com> --- go.mod | 2 +- go.sum | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 5418b351de5d..5ed7e0b515d7 100644 --- a/go.mod +++ b/go.mod @@ -498,7 +498,7 @@ require ( github.com/quic-go/quic-go v0.59.0 // indirect github.com/quic-go/webtransport-go v0.10.0 // indirect github.com/rivo/uniseg v0.4.7 - github.com/shoenig/go-m1cpu v0.1.6 // indirect + github.com/shoenig/go-m1cpu v0.2.2 // indirect github.com/shopspring/decimal v1.4.0 // indirect github.com/sirupsen/logrus v1.9.4 // indirect github.com/smallnest/ringbuffer v0.0.0-20241116012123-461381446e3d // indirect diff --git a/go.sum b/go.sum index 6169840bd308..6a0be2c19cc8 100644 --- a/go.sum +++ b/go.sum @@ -1263,8 +1263,11 @@ github.com/shirou/gopsutil/v4 v4.26.3 h1:2ESdQt90yU3oXF/CdOlRCJxrP+Am1aBYubTMTfx github.com/shirou/gopsutil/v4 v4.26.3/go.mod h1:LZ6ewCSkBqUpvSOf+LsTGnRinC6iaNUNMGBtDkJBaLQ= github.com/shoenig/go-m1cpu v0.1.6 h1:nxdKQNcEB6vzgA2E2bvzKIYRuNj7XNJ4S/aRSwKzFtM= github.com/shoenig/go-m1cpu v0.1.6/go.mod h1:1JJMcUBvfNwpq05QDQVAnx3gUHr9IYF7GNg9SUEw2VQ= +github.com/shoenig/go-m1cpu v0.2.2 h1:4nc55oVv7nygGnfI9bhLCLzUEs4794y0Bkqx4q2zy7Y= +github.com/shoenig/go-m1cpu v0.2.2/go.mod h1:KkDOw6m3ZJQAPHbrzkZki4hnx+pDRR1Lo+ldA56wD5w= github.com/shoenig/test v0.6.4 h1:kVTaSd7WLz5WZ2IaoM0RSzRsUD+m8wRR+5qvntpn4LU= github.com/shoenig/test v0.6.4/go.mod h1:byHiCGXqrVaflBLAMq/srcZIHynQPQgeyvkvXnjqq0k= +github.com/shoenig/test v1.7.0 h1:eWcHtTXa6QLnBvm0jgEabMRN/uJ4DMV3M8xUGgRkZmk= github.com/shopspring/decimal v1.4.0 h1:bxl37RwXBklmTi0C79JfXCEBD1cqqHt0bbgBAGFp81k= github.com/shopspring/decimal v1.4.0/go.mod h1:gawqmDU56v4yIKSwfBSFip1HdCCXN8/+DMd9qYNcwME= github.com/shurcooL/go v0.0.0-20200502201357-93f07166e636/go.mod h1:TDJrrUr11Vxrven61rcy3hJMUqaf/CLWYhHNPmT14Lk= From 0a89fdb1d00a1e1e0cbbde9bd60807fa93b6ce51 Mon Sep 17 00:00:00 2001 From: "mudler's LocalAI [bot]" <139863280+localai-bot@users.noreply.github.com> Date: Thu, 27 Aug 2026 00:18:18 +0200 Subject: [PATCH 2/2] chore(model-gallery): :arrow_up: update checksum (#11742) :arrow_up: Checksum updates in gallery/index.yaml Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: mudler <2420543+mudler@users.noreply.github.com> --- gallery/index.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gallery/index.yaml b/gallery/index.yaml index 4d8fe4d31a46..b44c4b427276 100644 --- a/gallery/index.yaml +++ b/gallery/index.yaml @@ -1860,7 +1860,7 @@ files: - filename: llama-cpp/models/nemotron-3.5-lightning-30b-a3b/NVIDIA-Nemotron-3.5-Lightning-30B-A3B-Q8_0.gguf uri: huggingface://ggml-org/NVIDIA-Nemotron-3.5-Lightning-30B-A3B-GGUF/NVIDIA-Nemotron-3.5-Lightning-30B-A3B-Q8_0.gguf - sha256: b0e25ce2d301930e706d549a59d18c5969dcec664fdf7466435287b03fefda36 + sha256: d4cc4c9fffaa356db8b49cfaba9233609cfb29b4dd89d827665210dc1cc8dbbb - &muse-glimmer-30b name: "muse-glimmer-30b" variants: