mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2026-07-17 10:58:08 +00:00
Compare commits
5 Commits
v2.6.1
...
python-v2.
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f8564398fc | ||
|
|
b96406669d | ||
|
|
e51a504550 | ||
|
|
eef604fd64 | ||
|
|
b803d51586 |
@@ -287,6 +287,7 @@ jobs:
|
|||||||
$Env:INCLUDE = "${Env:INCLUDE};C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\VS\include"
|
$Env:INCLUDE = "${Env:INCLUDE};C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\VS\include"
|
||||||
$Env:INCLUDE = "${Env:INCLUDE};C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include"
|
$Env:INCLUDE = "${Env:INCLUDE};C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include"
|
||||||
$Env:INCLUDE = "${Env:INCLUDE};C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\ATLMFC\include"
|
$Env:INCLUDE = "${Env:INCLUDE};C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\ATLMFC\include"
|
||||||
|
$Env:VULKAN_SDK = "C:\VulkanSDK\1.3.261.1"
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
& "C:\Qt\Tools\CMake_64\bin\cmake.exe" `
|
& "C:\Qt\Tools\CMake_64\bin\cmake.exe" `
|
||||||
@@ -483,8 +484,9 @@ jobs:
|
|||||||
cd gpt4all-backend
|
cd gpt4all-backend
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
$env:Path += ";C:\ProgramData\mingw64\mingw64\bin"
|
$Env:Path += ";C:\ProgramData\mingw64\mingw64\bin"
|
||||||
$env:Path += ";C:\VulkanSDK\1.3.261.1\bin"
|
$Env:Path += ";C:\VulkanSDK\1.3.261.1\bin"
|
||||||
|
$Env:VULKAN_SDK = "C:\VulkanSDK\1.3.261.1"
|
||||||
cmake -G "MinGW Makefiles" .. -DKOMPUTE_OPT_DISABLE_VULKAN_VERSION_CHECK=ON -DKOMPUTE_OPT_USE_BUILT_IN_VULKAN_HEADER=OFF
|
cmake -G "MinGW Makefiles" .. -DKOMPUTE_OPT_DISABLE_VULKAN_VERSION_CHECK=ON -DKOMPUTE_OPT_USE_BUILT_IN_VULKAN_HEADER=OFF
|
||||||
cmake --build . --parallel
|
cmake --build . --parallel
|
||||||
- run:
|
- run:
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import shutil
|
|||||||
package_name = "gpt4all"
|
package_name = "gpt4all"
|
||||||
|
|
||||||
# Define the location of your prebuilt C library files
|
# Define the location of your prebuilt C library files
|
||||||
SRC_CLIB_DIRECtORY = os.path.join("..", "..", "gpt4all-backend")
|
SRC_CLIB_DIRECTORY = os.path.join("..", "..", "gpt4all-backend")
|
||||||
SRC_CLIB_BUILD_DIRECTORY = os.path.join("..", "..", "gpt4all-backend", "build")
|
SRC_CLIB_BUILD_DIRECTORY = os.path.join("..", "..", "gpt4all-backend", "build")
|
||||||
|
|
||||||
LIB_NAME = "llmodel"
|
LIB_NAME = "llmodel"
|
||||||
@@ -55,13 +55,13 @@ def copy_prebuilt_C_lib(src_dir, dest_dir, dest_build_dir):
|
|||||||
|
|
||||||
# NOTE: You must provide correct path to the prebuilt llmodel C library.
|
# NOTE: You must provide correct path to the prebuilt llmodel C library.
|
||||||
# Specifically, the llmodel.h and C shared library are needed.
|
# Specifically, the llmodel.h and C shared library are needed.
|
||||||
copy_prebuilt_C_lib(SRC_CLIB_DIRECtORY,
|
copy_prebuilt_C_lib(SRC_CLIB_DIRECTORY,
|
||||||
DEST_CLIB_DIRECTORY,
|
DEST_CLIB_DIRECTORY,
|
||||||
DEST_CLIB_BUILD_DIRECTORY)
|
DEST_CLIB_BUILD_DIRECTORY)
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name=package_name,
|
name=package_name,
|
||||||
version="2.0.2",
|
version="2.1.0",
|
||||||
description="Python bindings for GPT4All",
|
description="Python bindings for GPT4All",
|
||||||
author="Nomic and the Open Source Community",
|
author="Nomic and the Open Source Community",
|
||||||
author_email="support@nomic.ai",
|
author_email="support@nomic.ai",
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ endif()
|
|||||||
|
|
||||||
set(APP_VERSION_MAJOR 2)
|
set(APP_VERSION_MAJOR 2)
|
||||||
set(APP_VERSION_MINOR 6)
|
set(APP_VERSION_MINOR 6)
|
||||||
set(APP_VERSION_PATCH 1)
|
set(APP_VERSION_PATCH 2)
|
||||||
set(APP_VERSION "${APP_VERSION_MAJOR}.${APP_VERSION_MINOR}.${APP_VERSION_PATCH}")
|
set(APP_VERSION "${APP_VERSION_MAJOR}.${APP_VERSION_MINOR}.${APP_VERSION_PATCH}")
|
||||||
|
|
||||||
# Include the binary directory for the generated header file
|
# Include the binary directory for the generated header file
|
||||||
|
|||||||
@@ -11,6 +11,10 @@
|
|||||||
#include <QUrl>
|
#include <QUrl>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
|
||||||
|
#ifndef GPT4ALL_OFFLINE_INSTALLER
|
||||||
|
#include "network.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
class MyLLM: public LLM { };
|
class MyLLM: public LLM { };
|
||||||
Q_GLOBAL_STATIC(MyLLM, llmInstance)
|
Q_GLOBAL_STATIC(MyLLM, llmInstance)
|
||||||
LLM *LLM::globalInstance()
|
LLM *LLM::globalInstance()
|
||||||
|
|||||||
@@ -616,6 +616,26 @@
|
|||||||
* Adam Treat (Nomic AI)
|
* Adam Treat (Nomic AI)
|
||||||
* Jared Van Bortel (Nomic AI)
|
* Jared Van Bortel (Nomic AI)
|
||||||
* Community (beta testers, bug reporters, bindings authors)
|
* Community (beta testers, bug reporters, bindings authors)
|
||||||
|
"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"version": "2.6.1",
|
||||||
|
"notes":
|
||||||
|
"
|
||||||
|
* Update to newer llama.cpp
|
||||||
|
* Implemented configurable context length
|
||||||
|
* Bugfixes for localdocs
|
||||||
|
* Bugfixes for serialization to disk
|
||||||
|
* Bugfixes for AVX
|
||||||
|
* Bugfixes for Windows builds
|
||||||
|
* Bugfixes for context retention and clearing
|
||||||
|
* Add a button to collections dialog
|
||||||
|
",
|
||||||
|
"contributors":
|
||||||
|
"
|
||||||
|
* Jared Van Bortel (Nomic AI)
|
||||||
|
* Adam Treat (Nomic AI)
|
||||||
|
* Community (beta testers, bug reporters, bindings authors)
|
||||||
"
|
"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user