Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

llama-cpp: 2843 -> 2901 #312167

Merged
merged 1 commit into from
May 16, 2024
Merged

llama-cpp: 2843 -> 2901 #312167

merged 1 commit into from
May 16, 2024

Conversation

r-ryantm
Copy link
Contributor

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.

meta.description for llama-cpp is: Port of Facebook's LLaMA model in C/C++

meta.homepage for llama-cpp is: https://github.com/ggerganov/llama.cpp/

Updates performed
  • Ran passthru.UpdateScript
To inspect upstream changes
Impact

Checks done


  • built on NixOS
  • The tests defined in passthru.tests, if any, passed
  • found 2901 with grep in /nix/store/2as6xqf0afvk6z0x42ilag1kzjqvpnp6-llama-cpp-2901
  • found 2901 in filename of file in /nix/store/2as6xqf0afvk6z0x42ilag1kzjqvpnp6-llama-cpp-2901

Rebuild report (if merged into master) (click to expand)
4 total rebuild path(s)

4 package rebuild(s)

First fifty rebuilds by attrpath

llama-cpp
local-ai
tabby
Instructions to test this update (click to expand)

Either download from Cachix:

nix-store -r /nix/store/2as6xqf0afvk6z0x42ilag1kzjqvpnp6-llama-cpp-2901 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.

Or, build yourself:

nix-build -A llama-cpp https://github.com/r-ryantm/nixpkgs/archive/12e0c85d7724a1e0f3bd991291c754c7bdaa6ea6.tar.gz

Or:

nix build github:r-ryantm/nixpkgs/12e0c85d7724a1e0f3bd991291c754c7bdaa6ea6#llama-cpp

After you've downloaded or built it, look at the files and if there are any, run the binaries:

ls -la /nix/store/2as6xqf0afvk6z0x42ilag1kzjqvpnp6-llama-cpp-2901
ls -la /nix/store/2as6xqf0afvk6z0x42ilag1kzjqvpnp6-llama-cpp-2901/bin


Pre-merge build results

We have automatically built all packages that will get rebuilt due to
this change.

This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.

Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

3 packages built:
  • llama-cpp
  • local-ai
  • tabby

Maintainer pings

cc @dit7ya @elohmeier @philiptaron for testing.

Copy link
Contributor

@philiptaron philiptaron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lots of nifty progress. I'm loving this!

@drupol drupol merged commit 8bf7d35 into NixOS:master May 16, 2024
26 checks passed
@r-ryantm r-ryantm deleted the auto-update/llama-cpp branch May 17, 2024 00:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants