git: d7c3f73d7296 - main - misc/koboldcpp: update 1.74 → 1.75.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 22 Sep 2024 06:26:09 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=d7c3f73d7296f4a22bc0e06f7f6afa7211c35ba2 commit d7c3f73d7296f4a22bc0e06f7f6afa7211c35ba2 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2024-09-22 06:25:58 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2024-09-22 06:25:58 +0000 misc/koboldcpp: update 1.74 → 1.75.1 Reported by: portscout --- misc/koboldcpp/Makefile | 6 +++--- misc/koboldcpp/distinfo | 6 +++--- misc/koboldcpp/files/patch-koboldcpp.py | 31 ------------------------------- misc/koboldcpp/pkg-plist | 1 - 4 files changed, 6 insertions(+), 38 deletions(-) diff --git a/misc/koboldcpp/Makefile b/misc/koboldcpp/Makefile index 29d56f39ebd3..37acc5b85de8 100644 --- a/misc/koboldcpp/Makefile +++ b/misc/koboldcpp/Makefile @@ -1,6 +1,6 @@ PORTNAME= koboldcpp DISTVERSIONPREFIX= v -DISTVERSION= 1.74 +DISTVERSION= 1.75.1 CATEGORIES= misc # machine-learning MAINTAINER= yuri@FreeBSD.org @@ -18,7 +18,7 @@ LIB_DEPENDS= libopenblas.so:math/openblas \ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}customtkinter>0:x11-toolkits/py-customtkinter@${PY_FLAVOR} -USES= gmake localbase:ldflags python shebangfix +USES= compiler:c++11-lang gmake localbase:ldflags python shebangfix USE_GITHUB= yes GH_ACCOUNT= LostRuins @@ -38,7 +38,7 @@ do-install: ${RLN} ${STAGEDIR}${DATADIR}/koboldcpp.py ${STAGEDIR}${PREFIX}/bin/koboldcpp # libraries .for lib in koboldcpp_default.so koboldcpp_failsafe.so koboldcpp_noavx2.so \ - koboldcpp_openblas.so koboldcpp_vulkan.so koboldcpp_vulkan_noavx2.so + koboldcpp_vulkan.so koboldcpp_vulkan_noavx2.so ${INSTALL_LIB} ${WRKSRC}/${lib} ${STAGEDIR}${DATADIR} .endfor # embd files diff --git a/misc/koboldcpp/distinfo b/misc/koboldcpp/distinfo index 1e81634075cc..1fd15dd6ad71 100644 --- a/misc/koboldcpp/distinfo +++ b/misc/koboldcpp/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1725179865 -SHA256 (LostRuins-koboldcpp-v1.74_GH0.tar.gz) = 10f99515eec5a34659d4f0b1d160404a6ca0cbf3054e77663c3f038ff4c7c08c -SIZE (LostRuins-koboldcpp-v1.74_GH0.tar.gz) = 28510760 +TIMESTAMP = 1726978161 +SHA256 (LostRuins-koboldcpp-v1.75.1_GH0.tar.gz) = 08cd63a71fbab02511b0dfed40412f1604f6212e9e9a23b7f606a7d9ef2d24ab +SIZE (LostRuins-koboldcpp-v1.75.1_GH0.tar.gz) = 22707800 diff --git a/misc/koboldcpp/files/patch-koboldcpp.py b/misc/koboldcpp/files/patch-koboldcpp.py deleted file mode 100644 index bad178aa0cc6..000000000000 --- a/misc/koboldcpp/files/patch-koboldcpp.py +++ /dev/null @@ -1,31 +0,0 @@ -- submitted here: https://github.com/LostRuins/koboldcpp/issues/1110 - ---- koboldcpp.py.orig 2024-09-01 15:51:59 UTC -+++ koboldcpp.py -@@ -4159,8 +4159,9 @@ def main(launch_args,start_server=True): - - - #load embedded lite -+ basepath = os.path.abspath(os.path.dirname(os.path.realpath(__file__))) -+ - try: -- basepath = os.path.abspath(os.path.dirname(__file__)) - with open(os.path.join(basepath, "klite.embd"), mode='rb') as f: - embedded_kailite = f.read() - # patch it with extra stuff -@@ -4174,7 +4175,6 @@ def main(launch_args,start_server=True): - print("Could not find KoboldAI Lite. Embedded KoboldAI Lite will not be available.") - - try: -- basepath = os.path.abspath(os.path.dirname(__file__)) - with open(os.path.join(basepath, "kcpp_docs.embd"), mode='rb') as f: - embedded_kcpp_docs = f.read() - print("Embedded API docs loaded.") -@@ -4182,7 +4182,6 @@ def main(launch_args,start_server=True): - print("Could not find Embedded KoboldCpp API docs.") - - try: -- basepath = os.path.abspath(os.path.dirname(__file__)) - with open(os.path.join(basepath, "kcpp_sdui.embd"), mode='rb') as f: - embedded_kcpp_sdui = f.read() - if args.sdmodel: diff --git a/misc/koboldcpp/pkg-plist b/misc/koboldcpp/pkg-plist index 8efacd4bc51e..f4f740d331c1 100644 --- a/misc/koboldcpp/pkg-plist +++ b/misc/koboldcpp/pkg-plist @@ -6,7 +6,6 @@ bin/koboldcpp %%DATADIR%%/koboldcpp_default.so %%DATADIR%%/koboldcpp_failsafe.so %%DATADIR%%/koboldcpp_noavx2.so -%%DATADIR%%/koboldcpp_openblas.so %%DATADIR%%/koboldcpp_vulkan.so %%DATADIR%%/koboldcpp_vulkan_noavx2.so %%DATADIR%%/rwkv_vocab.embd