Skip to content

feat(darwin): add llama.cpp v0.6.0 (Metal, Clef decision models) - #108

Open
Dumspy wants to merge 1 commit into
masterfrom
feat/llama-cpp-darwin-v060
Open

Dumspy wants to merge 1 commit into
masterfrom
feat/llama-cpp-darwin-v060

Conversation

@Dumspy

@Dumspy Dumspy commented Oct 7, 2026

Copy link
Copy Markdown
Owner

What

Adds llama.cpp to the darwin system via a new home-manager module:

  • modules/home/llama-cpp.nix (new): myModules.home.llama-cpp.enable + package override option, installs into home.packages
  • packages/llama-cpp/package.nix (new): pinned v0.6.0 vendored from nixpkgs master
  • Enabled in hosts/darwin/home.nix, imported via modules/home/default.nix
  • Bumps nixpkgs flake input (Sep 30 → Oct 7)

Why pinned, not pkgs.llama-cpp

nixpkgs-unstable (even after this bump) still ships b10273 (Aug 4) — pre-Clef, no /v1/systemone API. v0.6.0 is the minimum for Clef text+vision decision models (#29831/#29969) and the newest stable (nightlies are at b11476+, unreleased). nixpkgs master already has v0.6.0; drop the vendored package and default back to pkgs.llama-cpp once nixpkgs-unstable >= 0.6.0.

Metal is on by default on aarch64-darwin (GGML_METAL=TRUE, embedded library, llama-server built).

Verified

  • Full darwin config evaluates; resolved package version = 0.6.0, aarch64-darwin supported
  • alejandra + deadnix pre-commit hooks pass

Follow-up

  • Run ./rebuild.sh on darwin (first build compiles Metal backends + Web UI, takes a while), then llama cli -hf … / llama serve -hf …
  • Optional: track nightlies by bumping version/tag/hash in the vendored package

Add myModules.home.llama-cpp home-manager module, enabled on the
darwin host. Vendors the v0.6.0 package from nixpkgs master into
packages/llama-cpp since nixpkgs-unstable still ships b10273
(pre-Clef, no /v1/systemone API). v0.6.0 is the minimum for Clef
text+vision decision models and the newest stable release.

Metal is enabled by default on aarch64-darwin (GGML_METAL=TRUE,
embedded library, llama-server built). Drop the vendored package
and default back to pkgs.llama-cpp once nixpkgs-unstable >= 0.6.0.

Also bumps the nixpkgs flake input (Sep 30 -> Oct 7).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant