Commit Graph

37 Commits

Author SHA1 Message Date
Masum Reza
b4928123e8
koboldcpp: drop unused args, refactor darwin sdks (#349052) 2024-11-21 23:35:09 +05:30
DontEatOreo
683a41fcb2
koboldcpp: 1.77 -> 1.78
Changelog: https://github.com/LostRuins/koboldcpp/releases/tag/v1.78
Diff: https://github.com/LostRuins/koboldcpp/compare/v1.77...v1.78
2024-11-16 15:55:45 +00:00
DontEatOreo
d626241e24
koboldcpp: gitUpdater -> nix-update-script 2024-11-08 18:41:57 +02:00
DontEatOreo
bccff63bbb
koboldcpp: drop postPatch 2024-11-08 18:37:54 +02:00
DontEatOreo
30a3b42239
koboldcpp: drop stdenv.hostPlatform.isAarch64 requirement
https://github.com/NixOS/nixpkgs/pull/349052#issuecomment-2417739679
2024-11-08 18:10:23 +02:00
DontEatOreo
65a20bbd7f
koboldcpp: 1.76 -> 1.77
Changelog: https://github.com/LostRuins/koboldcpp/releases/tag/v1.77
Diff: https://github.com/LostRuins/koboldcpp/compare/v1.76...v1.77
2024-11-01 16:37:09 +00:00
jacobi petrucciani
66d16f804f koboldcpp: fix metal support 2024-10-21 15:00:01 -04:00
DontEatOreo
466d465746
koboldcpp: migrate to apple-sdk_12 2024-10-16 17:08:07 +03:00
DontEatOreo
6e9650ad50
koboldcpp: drop unused args 2024-10-16 17:04:13 +03:00
DontEatOreo
3a7199dbd2
koboldcpp: add meta.homepage 2024-10-12 12:49:52 +03:00
DontEatOreo
8a8e39bd49
koboldcpp: 1.75.2 -> 1.76
Changelog: https://github.com/LostRuins/koboldcpp/releases/tag/v1.76
Diff: https://github.com/LostRuins/koboldcpp/compare/v1.75.2...v1.76
2024-10-12 12:48:22 +03:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
DontEatOreo
6539d1b561
koboldcpp: 1.74 -> 1.75.2
Changelog: https://github.com/LostRuins/koboldcpp/releases/tag/v1.75.2
Diff: https://github.com/LostRuins/koboldcpp/compare/v1.74...v1.75.2
2024-09-23 16:40:06 +03:00
DontEatOreo
2137cfedcb
koboldcpp-1.73.1 -> koboldcpp-1.74
Changelog: https://github.com/LostRuins/koboldcpp/releases/tag/v1.74
Diff: https://github.com/LostRuins/koboldcpp/compare/v1.73.1...v1.74
2024-08-31 12:55:27 +03:00
R. Ryantm
b2a6a86d33 koboldcpp: 1.73 -> 1.73.1 2024-08-25 07:23:49 +00:00
DontEatOreo
3ab95873a8
koboldcpp: sort meta and add changelog 2024-08-19 13:45:10 +03:00
DontEatOreo
4e8b1b96ef
koboldcpp: 1.72 -> 1.73
Changelog: https://github.com/LostRuins/koboldcpp/releases/tag/v1.73
Diff: https://github.com/LostRuins/koboldcpp/compare/v1.72...v1.73
2024-08-19 13:41:20 +03:00
DontEatOreo
4a7c396766
koboldcpp: 1.71.1 -> 1.72
Changelog: https://github.com/LostRuins/koboldcpp/releases/tag/v1.72
Diff: https://github.com/LostRuins/koboldcpp/compare/v1.71.1...v1.72
2024-08-02 14:21:10 +03:00
DontEatOreo
cf1df147c5
koboldcpp: 1.70.1 -> 1.71.1
Changelog: https://github.com/LostRuins/koboldcpp/releases/tag/v1.71.1
Diff: https://github.com/LostRuins/koboldcpp/compare/v1.70.1...v1.71.1
2024-07-30 19:02:45 +03:00
百地 希留耶
f0ff293509
koboldcpp: add separator to the prefix option of makeWrapper 2024-07-26 08:14:13 +08:00
百地 希留耶
d01482ec08
koboldcpp: fix gpu-architecture flags from CUDA_DOCKER_ARCH 2024-07-26 08:11:29 +08:00
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