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: 2454 -> 2481 #297779

Merged
merged 1 commit into from
Mar 22, 2024
Merged

llama-cpp: 2454 -> 2481 #297779

merged 1 commit into from
Mar 22, 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 2481 in filename of file in /nix/store/d8fl5kri3hy2c2agadn18s23bbj6p7iq-llama-cpp-2481

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

2 package rebuild(s)

First fifty rebuilds by attrpath
llama-cpp
tabby
Instructions to test this update (click to expand)

Either download from Cachix:

nix-store -r /nix/store/d8fl5kri3hy2c2agadn18s23bbj6p7iq-llama-cpp-2481 \
  --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/c70ff30bde8bba1c6cd249109e532e6f15ab99c5.tar.gz

Or:

nix build github:r-ryantm/nixpkgs/c70ff30bde8bba1c6cd249109e532e6f15ab99c5#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/d8fl5kri3hy2c2agadn18s23bbj6p7iq-llama-cpp-2481
ls -la /nix/store/d8fl5kri3hy2c2agadn18s23bbj6p7iq-llama-cpp-2481/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

2 packages built:
  • llama-cpp
  • 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.

Darwin is on a little shaky ground for this update. ggerganov/llama.cpp#6118

@wegank wegank added 12.approvals: 1 This PR was reviewed and approved by one reputable person 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in the package labels Mar 21, 2024
@drupol drupol merged commit 653a2b5 into NixOS:master Mar 22, 2024
26 of 27 checks passed
@r-ryantm r-ryantm deleted the auto-update/llama-cpp branch March 22, 2024 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
10.rebuild-darwin: 1-10 10.rebuild-linux: 1-10 12.approvals: 1 This PR was reviewed and approved by one reputable person 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in the package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants