Skip to content

ollama: 0.1.7 -> 0.1.9#267486

Closed
ktaf wants to merge 1 commit intoNixOS:masterfrom
ktaf:Ollama
Closed

ollama: 0.1.7 -> 0.1.9#267486
ktaf wants to merge 1 commit intoNixOS:masterfrom
ktaf:Ollama

Conversation

@ktaf
Copy link

@ktaf ktaf commented Nov 14, 2023

Description of changes

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 23.11 Release Notes (or backporting 23.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

@ofborg ofborg bot requested review from dit7ya and elohmeier November 14, 2023 18:36
@ofborg ofborg bot added 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels Nov 14, 2023
@elohmeier
Copy link
Contributor

go: downloading github.com/go-playground/locales v0.14.1
go: downloading golang.org/x/arch v0.3.0
go: downloading github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311
go: downloading github.com/klauspost/cpuid/v2 v2.2.4
go: downloading github.com/twitchyliquid64/golang-asm v0.15.1
installing
error: hash mismatch in fixed-output derivation '/nix/store/5rzszc1llc1a8xlsqmlyrcdi9vlg6y5d-ollama-0.1.9-go-modules.drv':
         specified: sha256-Qt5QVqRkwK61BJPVhFWtox6b9E8BpAIseNB0yhh+/90=
            got:    sha256-NrRj+YmsNgehxgPL/fzG4sH1CCt42KMkhpNyifiyDWM=
error: 1 dependencies of derivation '/nix/store/jsbfy28bng85ljqcfia9kc04h297gq1p-ollama-0.1.9.drv' failed to build

Please update the modules hash.

@ktaf
Copy link
Author

ktaf commented Nov 14, 2023

go: downloading github.com/go-playground/locales v0.14.1
go: downloading golang.org/x/arch v0.3.0
go: downloading github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311
go: downloading github.com/klauspost/cpuid/v2 v2.2.4
go: downloading github.com/twitchyliquid64/golang-asm v0.15.1
installing
error: hash mismatch in fixed-output derivation '/nix/store/5rzszc1llc1a8xlsqmlyrcdi9vlg6y5d-ollama-0.1.9-go-modules.drv':
         specified: sha256-Qt5QVqRkwK61BJPVhFWtox6b9E8BpAIseNB0yhh+/90=
            got:    sha256-NrRj+YmsNgehxgPL/fzG4sH1CCt42KMkhpNyifiyDWM=
error: 1 dependencies of derivation '/nix/store/jsbfy28bng85ljqcfia9kc04h297gq1p-ollama-0.1.9.drv' failed to build

Please update the modules hash.

Done.

@marcusramberg
Copy link
Contributor

go: downloading github.com/go-playground/locales v0.14.1
go: downloading golang.org/x/arch v0.3.0
go: downloading github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311
go: downloading github.com/klauspost/cpuid/v2 v2.2.4
go: downloading github.com/twitchyliquid64/golang-asm v0.15.1
installing
error: hash mismatch in fixed-output derivation '/nix/store/5rzszc1llc1a8xlsqmlyrcdi9vlg6y5d-ollama-0.1.9-go-modules.drv':
         specified: sha256-Qt5QVqRkwK61BJPVhFWtox6b9E8BpAIseNB0yhh+/90=
            got:    sha256-NrRj+YmsNgehxgPL/fzG4sH1CCt42KMkhpNyifiyDWM=
error: 1 dependencies of derivation '/nix/store/jsbfy28bng85ljqcfia9kc04h297gq1p-ollama-0.1.9.drv' failed to build

Please update the modules hash.

Done.

I see your fix also added a merge commit. You should probably rebase against master instead.

@ktaf
Copy link
Author

ktaf commented Nov 15, 2023

go: downloading github.com/go-playground/locales v0.14.1
go: downloading golang.org/x/arch v0.3.0
go: downloading github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311
go: downloading github.com/klauspost/cpuid/v2 v2.2.4
go: downloading github.com/twitchyliquid64/golang-asm v0.15.1
installing
error: hash mismatch in fixed-output derivation '/nix/store/5rzszc1llc1a8xlsqmlyrcdi9vlg6y5d-ollama-0.1.9-go-modules.drv':
         specified: sha256-Qt5QVqRkwK61BJPVhFWtox6b9E8BpAIseNB0yhh+/90=
            got:    sha256-NrRj+YmsNgehxgPL/fzG4sH1CCt42KMkhpNyifiyDWM=
error: 1 dependencies of derivation '/nix/store/jsbfy28bng85ljqcfia9kc04h297gq1p-ollama-0.1.9.drv' failed to build

Please update the modules hash.

Done.

I see your fix also added a merge commit. You should probably rebase against master instead.

Rebased!

@ethanthoma
Copy link

Any thoughts on updating to v0.1.10 instead?

@ktaf
Copy link
Author

ktaf commented Nov 17, 2023 via email

@kirillrdy
Copy link
Member

I get a build error when running nixpkgs-review

error: builder for '/nix/store/0sy8qxjyjh70lzip16gb27dmb7j0nilw-llama-cpp-1483.drv' failed with exit code 1;
       last 10 log lines:
       > -- Checking for module 'openblas'
       > --   No package 'openblas' found
       > CMake Error at /nix/store/vnhl4zdy7igx9gd3q1d548vwzz15a9ma-cmake-3.27.7/share/cmake-3.27/Modules/FindPkgConfig.cmake:607 (message):
       >   A required package was not found
       > Call Stack (most recent call first):
       >   /nix/store/vnhl4zdy7igx9gd3q1d548vwzz15a9ma-cmake-3.27.7/share/cmake-3.27/Modules/FindPkgConfig.cmake:829 (_pkg_check_modules_internal)
       >   CMakeLists.txt:193 (pkg_check_modules)
       >
       > 
       > -- Configuring incomplete, errors occurred!
       For full logs, run 'nix log /nix/store/0sy8qxjyjh70lzip16gb27dmb7j0nilw-llama-cpp-1483.drv'.

@pbsds
Copy link
Member

pbsds commented Nov 19, 2023

Fixing the build failure would be gainful to the zero hydra fail campaign.

@pbsds
Copy link
Member

pbsds commented Nov 19, 2023

Seems to be fixed in #268449. LGTM, but could you @kirillrdy test on hardware?

@ghost
Copy link

ghost commented Nov 22, 2023

@ereslibre ereslibre mentioned this pull request Nov 22, 2023
13 tasks
@elohmeier elohmeier closed this Nov 22, 2023
@ktaf ktaf deleted the Ollama branch November 29, 2024 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

Comments