Commit Graph

16 Commits

Author SHA1 Message Date
Someone
30a7fb23bd
Merge pull request #328413 from DontEatOreo/interface-backport-koboldcpp
koboldcpp: interface backport and small fixes
2024-07-20 19:33:15 +03:00
DontEatOreo
e04cfef691
koboldcpp: makeWrapperArgs -> libraryPathWrapperArgs
`makeWrapperArgs` was quite ambiguous and unclear. `libraryPathWrapperArgs` is clearer on what it's supposed to actually do
2024-07-19 14:30:44 +03:00
DontEatOreo
fd54fe25e0
koboldcpp: lib.optionalString -> lib.optionals (cublasSupport)
Refs: https://github.com/NixOS/nixpkgs/pull/325540#discussion_r1677129629

Co-authored-by: SomeoneSerge <sergei.kozlukov@aalto.fi>
2024-07-19 14:23:51 +03:00
DontEatOreo
269a863769
koboldcpp: rename interface arches -> cudaArches
Refs: https://github.com/NixOS/nixpkgs/pull/325540#discussion_r1677129990

Co-authored-by: SomeoneSerge <sergei.kozlukov@aalto.fi>
2024-07-19 14:19:28 +03:00
DontEatOreo
201ee23106
koboldcpp: fix x86_64-darwin build
Refs: https://github.com/NixOS/nixpkgs/pull/327102/checks?check_run_id=27511352788
2024-07-19 14:18:32 +03:00
DontEatOreo
1cbd07c4e6
koboldcpp: backport old interfaces
Refs: https://github.com/NixOS/nixpkgs/pull/327102#discussion_r1677136308
Refs: https://github.com/NixOS/nixpkgs/pull/327102#discussion_r1677136419
Refs: https://github.com/NixOS/nixpkgs/pull/327102#discussion_r1677137201

Co-authored-by: SomeoneSerge <sergei.kozlukov@aalto.fi>
2024-07-19 14:02:20 +03:00
DontEatOreo
67f9b2849c
koboldcpp: 1.69.1 -> 1.70.1
Changelog: https://github.com/LostRuins/koboldcpp/releases/tag/v1.70.1
Diff: https://github.com/LostRuins/koboldcpp/compare/v1.69.1...v1.70.1
2024-07-17 23:41:50 +03:00
DontEatOreo
2da41055fe
koboldcpp: remove march, mtune and mtune
After going over a detailed conversation with @SomeoneSerge about
`cc-warpper`, `march` `mtune` and `mcpu`, I've come to the conclusion that
it is unnecessary to have those flags as ad hoc options. Instead, it's
best for users to "merge" their own `env` on top of the current one

Refs: https://github.com/NixOS/nixpkgs/pull/325540#discussion_r1674917673
Refs: https://github.com/NixOS/nixpkgs/pull/325540#discussion_r1676059901
Refs: https://github.com/NixOS/nixpkgs/pull/325540#discussion_r1676556732
Refs: https://github.com/NixOS/nixpkgs/pull/325540#discussion_r1676560445

Co-authored-by: SomeoneSerge <sergei.kozlukov@aalto.fi>
2024-07-13 22:07:17 +03:00
DontEatOreo
4a10d41b5d
koboldcpp: add postPatch for Darwin
- Add `postPatch` deleting an unused argument for Darwin
2024-07-11 23:45:34 +03:00
DontEatOreo
734c0294c3
koboldcpp: 1.68 -> 1.69.1
Diff: https://github.com/LostRuins/koboldcpp/compare/v1.68...v1.69.1
Changelog: https://github.com/LostRuins/koboldcpp/releases/tag/v1.69.1
2024-07-08 16:03:14 +03:00
DontEatOreo
ab46acdbda
koboldcpp: fix CUDA
- Fix CUDA lib linkage
- Add new optional option `arches`

Refs: https://github.com/NixOS/nixpkgs/pull/314450#issuecomment-2170543384
Refs: https://github.com/NixOS/nixpkgs/pull/314450#issuecomment-2208635912
Refs: https://github.com/NixOS/nixpkgs/pull/325540#discussion_r1669900645

Co-authored-by: 百地 希留耶 <65301509+KiruyaMomochi@users.noreply.github.com>
Co-authored-by: mirrexagon <mirrexagon@mirrexagon.com>
Co-authored-by: SomeoneSerge <sergei.kozlukov@aalto.fi>
2024-07-08 15:52:28 +03:00
DontEatOreo
c5da1f1164
koboldcpp: use python3 instead of python311
Reason: https://github.com/NixOS/nixpkgs/pull/314450#discussion_r1617133115
2024-07-07 23:21:14 +03:00
R. Ryantm
421a15f6e0 koboldcpp: 1.67 -> 1.68 2024-06-25 11:20:15 +00:00
R. Ryantm
aff842768c koboldcpp: 1.66 -> 1.67 2024-06-10 06:47:52 +00:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
Maxwell Henderson
55291de146 koboldcpp: init at 1.66
This responds to issue #295900 by adding the koboldcpp package

Co-authored-by: DontEatOreo <57304299+DontEatOreo@users.noreply.github.com>
2024-05-27 13:54:21 -07:00