gpt4all: update
This commit is contained in:
parent
75c4ad2383
commit
db224fba5e
@ -39,9 +39,7 @@ let
|
|||||||
model_files = builtins.listToAttrs (
|
model_files = builtins.listToAttrs (
|
||||||
map (f: {
|
map (f: {
|
||||||
name = ".local/share/nomic.ai/GPT4All/${f.name}";
|
name = ".local/share/nomic.ai/GPT4All/${f.name}";
|
||||||
value = {
|
value.source = f.source;
|
||||||
source = f.source;
|
|
||||||
};
|
|
||||||
}) models
|
}) models
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -49,7 +47,7 @@ let
|
|||||||
optimizeWithFlags
|
optimizeWithFlags
|
||||||
(pkgs.gpt4all.overrideAttrs (old: {
|
(pkgs.gpt4all.overrideAttrs (old: {
|
||||||
# https://github.com/NixOS/nixpkgs/pull/344001 3.2.1 -> 3.3.0
|
# https://github.com/NixOS/nixpkgs/pull/344001 3.2.1 -> 3.3.0
|
||||||
version = "3.3.0";
|
version = "3.4.0-dev0";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
owner = "nomic-ai";
|
owner = "nomic-ai";
|
||||||
@ -72,7 +70,6 @@ let
|
|||||||
"-fno-finite-math-only" # https://github.com/ggerganov/llama.cpp/pull/7154#issuecomment-2143844461
|
"-fno-finite-math-only" # https://github.com/ggerganov/llama.cpp/pull/7154#issuecomment-2143844461
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
home.packages = [
|
home.packages = [
|
||||||
@ -92,7 +89,10 @@ in
|
|||||||
suggestionMode=Off
|
suggestionMode=Off
|
||||||
threadCount=8
|
threadCount=8
|
||||||
uniqueId=7096f2d2-448d-4272-a132-d37e77f8a781
|
uniqueId=7096f2d2-448d-4272-a132-d37e77f8a781
|
||||||
userDefaultModel=${(builtins.elemAt models 0).name}
|
userDefaultModel=${
|
||||||
|
# select the first element of `models` to be the default model
|
||||||
|
(builtins.elemAt models 0).name
|
||||||
|
}
|
||||||
width=1472
|
width=1472
|
||||||
x=0
|
x=0
|
||||||
y=0
|
y=0
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user