-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
flake.nix: rewrite #4605
Merged
Merged
flake.nix: rewrite #4605
Commits on Dec 26, 2023
-
flake.lock: update to hotfix CUDA::cuda_driver
Required to support ggerganov#4606
Configuration menu - View commit details
-
Copy full SHA for d3e73df - Browse repository at this point
Copy the full SHA d3e73dfView commit details -
1. Split into separate files per output. 2. Added overlays, so that this flake can be integrated into others. The names in the overlay are `llama-cpp`, `llama-cpp-opencl`, `llama-cpp-cuda`, and `llama-cpp-rocm` so that they fit into the broader set of Nix packages from [nixpkgs](https://github.com/nixos/nixpkgs). 3. Use [callPackage](https://summer.nixos.org/blog/callpackage-a-tool-for-the-lazy/) rather than `with pkgs;` so that there's dependency injection rather than dependency lookup. 4. Add a description and meta information for each package. The description includes a bit about what's trying to accelerate each one. 5. Use specific CUDA packages instead of cudatoolkit on the advice of SomeoneSerge. 6. Format with `serokell/nixfmt` for a consistent style. 7. Update `flake.lock` with the latest goods.
Configuration menu - View commit details
-
Copy full SHA for 8364cf4 - Browse repository at this point
Copy the full SHA 8364cf4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0607e24 - Browse repository at this point
Copy the full SHA 0607e24View commit details -
Configuration menu - View commit details
-
Copy full SHA for eab1c12 - Browse repository at this point
Copy the full SHA eab1c12View commit details -
nix: pass most darwin frameworks unconditionally
...for simplicity
Configuration menu - View commit details
-
Copy full SHA for 0259941 - Browse repository at this point
Copy the full SHA 0259941View commit details -
nix shell github:piegamesde/nixfmt/rfc101-style --command \ nixfmt flake.nix .devops/nix/*.nix
Configuration menu - View commit details
-
Copy full SHA for 0fa62c1 - Browse repository at this point
Copy the full SHA 0fa62c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 69c56bc - Browse repository at this point
Copy the full SHA 69c56bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for a07407c - Browse repository at this point
Copy the full SHA a07407cView commit details -
nix: add missing meta attributes
nix: clarify the interpretation of meta.maintainers nix: clarify the meaning of "broken" and "badPlatforms" nix: passthru: expose the use* flags for inspection E.g.: ``` ❯ nix eval .#cuda.useCuda true ```
Configuration menu - View commit details
-
Copy full SHA for 04bc417 - Browse repository at this point
Copy the full SHA 04bc417View commit details -
Configuration menu - View commit details
-
Copy full SHA for d08690a - Browse repository at this point
Copy the full SHA d08690aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a28c9ac - Browse repository at this point
Copy the full SHA a28c9acView commit details -
Configuration menu - View commit details
-
Copy full SHA for a629371 - Browse repository at this point
Copy the full SHA a629371View commit details -
Configuration menu - View commit details
-
Copy full SHA for e3b1ba2 - Browse repository at this point
Copy the full SHA e3b1ba2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 12d4a68 - Browse repository at this point
Copy the full SHA 12d4a68View commit details -
Configuration menu - View commit details
-
Copy full SHA for a16f589 - Browse repository at this point
Copy the full SHA a16f589View commit details -
Configuration menu - View commit details
-
Copy full SHA for dd0e12c - Browse repository at this point
Copy the full SHA dd0e12cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4522c47 - Browse repository at this point
Copy the full SHA 4522c47View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae6bebc - Browse repository at this point
Copy the full SHA ae6bebcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1efbc6b - Browse repository at this point
Copy the full SHA 1efbc6bView commit details -
nix: clean sources more thoroughly
...this way outPaths change less frequently, and so there are fewer rebuilds
Configuration menu - View commit details
-
Copy full SHA for 82e48e2 - Browse repository at this point
Copy the full SHA 82e48e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7bd8d8c - Browse repository at this point
Copy the full SHA 7bd8d8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for d0adab6 - Browse repository at this point
Copy the full SHA d0adab6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f7003b - Browse repository at this point
Copy the full SHA 3f7003bView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.