Search Criteria
Package Details: gpt4all-chat 3.4.2-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/gpt4all-chat.git (read-only, click to copy) |
---|---|
Package Base: | gpt4all-chat |
Description: | run open-source LLMs anywhere |
Upstream URL: | https://gpt4all.io |
Keywords: | chatgpt gpt llm |
Licenses: | MIT |
Submitter: | ZhangHua |
Maintainer: | ZhangHua |
Last Packager: | ZhangHua |
Votes: | 8 |
Popularity: | 0.28 |
First Submitted: | 2023-11-22 05:47 (UTC) |
Last Updated: | 2024-10-22 01:50 (UTC) |
Dependencies (18)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR, glibc-eac-rocoAUR)
- hicolor-icon-theme (hicolor-icon-theme-gitAUR)
- qt6-5compat
- qt6-base (qt6-base-headlessAUR, qt6-base-gitAUR)
- qt6-declarative (qt6-declarative-gitAUR)
- qt6-httpserver
- qt6-webengine
- cmake (cmake-gitAUR) (make)
- fmt (fmt-gitAUR) (make)
- qt6-shadertools (make)
- qt6-svg (make)
- qt6-tools (make)
- qt6-wayland (make)
- qxlsx-qt6 (make)
- shaderc (shaderc-gitAUR) (make)
- vulkan-headers (vulkan-headers-gitAUR) (make)
- vulkan-tools (vulkan-tools-gitAUR) (make)
Required by (0)
Sources (16)
- 001-change-binary-name.diff
- 002-install-and-load-localdocs-model-more-standardly.diff
- 003-prefer-system-qxlsx.diff
- 004-fix-build-with-qt-6.8.0.diff
- DuckX-6e31dfb280e2107fbf4f6a15098c38b014f1bbcc.tar.gz
- fmt-0c9fce2ffefecfdce794e1859584e25877b7b592.tar.gz
- FP16-0a92994d729ff76a58f692d3028ca1b64b145d91.tar.gz
- gpt4all-chat-3.4.2.tar.gz
- https://gpt4all.io/models/gguf/nomic-embed-text-v1.5.f16.gguf
- kompute-7c20efa30bb53d08bf04f84e510275766ebe9923.tar.gz
- llama.cpp-b3b5c0571eda3065035a7f25f7b84640b159d821.tar.gz
- QXlsx-29e81b369128525749dcb6516195b6b062eda955.tar.gz
- SimSIMD-18d17686124ddebd9fe55eee56b2e0273a613d4b.tar.gz
- SingleApplication-21bdef01eddcbd78044eea1d50b9dee08d218ff2.tar.gz
- StringZilla-91d0a1a02faae90a41c60a30855d5935eb3eaef1.tar.gz
- usearch-1f0618a86f9dbb7386237241cee96cc425dd7b55.tar.gz
Latest Comments
1 2 3 4 Next › Last »
DarkShadow44 commented on 2024-10-15 20:14 (UTC)
Yes, there seems to have been functions removed from Qt.
melioratio commented on 2024-10-15 17:55 (UTC) (edited on 2024-10-15 17:56 (UTC) by melioratio)
Is this busted for anyone else after updating to Qt 6.8? When I try to run it:
gpt4all-chat: symbol lookup error: gpt4all-chat: undefined symbol: _ZN21QHttpServerRouterRuleC1ERK7QString6QFlagsIN18QHttpServerRequest6MethodEESt8functionIFvRK23QRegularExpressionMatchRKS4_O20QHttpServerResponderEE, version Qt_6
When I try to recompile it, it fails at:
[ 55%] Building CXX object CMakeFiles/chat.dir/src/server.cpp.o /home/***/gpt4all-chat/src/gpt4all-3.4.1/gpt4all-chat/src/server.cpp: In member function ‘void Server::start()’: /home/***/gpt4all-chat/src/gpt4all-3.4.1/gpt4all-chat/src/server.cpp:460:20: error: ‘class QHttpServer’ has no member named ‘listen’ 460 | if (!m_server->listen(QHostAddress::LocalHost, MySettings::globalInstance()->networkPort())) { | ^~~~~~ /home/***/gpt4all-chat/src/gpt4all-3.4.1/gpt4all-chat/src/server.cpp:603:15: error: ‘class QHttpServer’ has no member named ‘afterRequest’ 603 | m_server->afterRequest([] (QHttpServerResponse &&resp) { | ^~~~~~~~~~~~ /home/***/gpt4all-chat/src/gpt4all-3.4.1/gpt4all-chat/src/server.cpp: In lambda function: /home/***/gpt4all-chat/src/gpt4all-3.4.1/gpt4all-chat/src/server.cpp:604:14: error: ‘class QHttpServerResponse’ has no member named ‘addHeader’ 604 | resp.addHeader("Access-Control-Allow-Origin", "*"); | ^~~~~~~~~ make[2]: *** [CMakeFiles/chat.dir/build.make:519: CMakeFiles/chat.dir/src/server.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:359: CMakeFiles/chat.dir/all] Error 2 make: *** [Makefile:156: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...
DarkShadow44 commented on 2024-10-09 15:53 (UTC)
Thanks, I figured out what caused this: My makepkg.conf was out of date, I updated and now I have additional parameters.
To be exact, the cause is this part:
CXXFLAGS="$CFLAGS -Wp,-D_GLIBCXX_ASSERTIONS
, you need the-Wp,-D_GLIBCXX_ASSERTIONS
otherwise compilation fails. No idea why though...ZhangHua commented on 2024-10-09 02:17 (UTC)
@DarkShadow44 I cannot reproduce this problem on my computer, so I think I can do nothing now. Maybe you can setup a chroot environment and build this package?
DarkShadow44 commented on 2024-09-26 16:35 (UTC) (edited on 2024-09-26 16:35 (UTC) by DarkShadow44)
Fails for me with
/usr/bin/ld: ../deps/fmt/libfmt.a(format.cc.o): relocation R_X86_64_PC32 against symbol `stderr@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
Previous versions still work, but since you bumped to 3.3.0 on 2024-09-24 it fails.
ZhangHua commented on 2024-08-08 01:04 (UTC)
If I enable this, LocalDoc model will be installed into
/usr/resources/nomic-embed-text-v1.5.f16.gguf
, this is not a standard path to place package content.You can see here for more info:
https://github.com/nomic-ai/gpt4all/blob/main/gpt4all-chat/embllm.cpp#L81
Maybe I have to modify its code to use a more standard place like
/usr/share/gpt4all-chat/resources/nomic-embed-text-v1.5.f16.gguf
. But archlinux do not like applying too many patches.joeVinegar commented on 2024-08-07 14:21 (UTC) (edited on 2024-08-07 15:25 (UTC) by joeVinegar)
TL;DR: a model file included in the package is not found (not copied in the expected directory, it seems). as a consequence the LocalDoc feature doesn't work, the embedding stops at 0%
from console:
CONTEXT: the recent versions of gpt4all-chat (from 3.0 I guess) have a LocalDoc functionality that make use of a local embedding model. According to devs on Nomic AI linux-help discord channel, this model is included in the package, the file name should be
nomic-embed-text-v1.5.f16.guff
In the flatpak directory it is in/var/lib/flatpak/app/io.gpt4all.gpt4all/...../files/resources
ZhangHua commented on 2024-07-03 13:11 (UTC) (edited on 2024-07-03 14:14 (UTC) by ZhangHua)
@AndyRTR I build this package with
pkgctl build
and it does have the problem you say. I think I may do more research on how to make pkgctl happy because I usemakechrootpkg
and it can build this PKGBUILD without problem.But I must say this is not a zsh-only declare option,
-r
is supported by bash'sdeclare
command: https://www.gnu.org/software/bash/manual/html_node/Bash-Builtins.htmlEdit: After I did some research, I found that the PKGBUILD is sourced when code is executed on the line 334 of
/usr/share/devtools/lib/build/build.sh
, and sourced again on the line 37 of/usr/share/devtools/lib/util/pacman.sh
, which results that bash tries override a readonly variable and throws an error. Maybe this is pkgctl's problem?AndyRTR commented on 2024-07-03 12:38 (UTC)
Please avoid using zsh-only declare options. Your PKGBUILD is not bash/sh compatible. See "man PKGBUILD". Please fix your package to allow for easy build for non-zsh users.
1 2 3 4 Next › Last »