Feat: Updated llama-cpp and switch mirai to llama-cpp

This commit is contained in:
uttarayan21
2025-08-08 08:13:03 +03:00
parent 19b977d66e
commit cdab31315d
4 changed files with 28 additions and 1 deletions

18
flake.lock generated
View File

@@ -1790,6 +1790,23 @@
"type": "github" "type": "github"
} }
}, },
"llama-cpp": {
"flake": false,
"locked": {
"lastModified": 1754628423,
"narHash": "sha256-KZpYyDBCg/qZGpzCFILDdV8x7wgPetJsZp8i6o0u63E=",
"owner": "ggml-org",
"repo": "llama.cpp",
"rev": "aaa3d07ae749b781d6135eaff23c7fa8a4ab404a",
"type": "github"
},
"original": {
"owner": "ggml-org",
"ref": "b6116",
"repo": "llama.cpp",
"type": "github"
}
},
"music-player": { "music-player": {
"inputs": { "inputs": {
"advisory-db": "advisory-db_4", "advisory-db": "advisory-db_4",
@@ -2621,6 +2638,7 @@
"ik_llama": "ik_llama", "ik_llama": "ik_llama",
"ironbar": "ironbar", "ironbar": "ironbar",
"lanzaboote": "lanzaboote", "lanzaboote": "lanzaboote",
"llama-cpp": "llama-cpp",
"music-player": "music-player", "music-player": "music-player",
"musnix": "musnix", "musnix": "musnix",
"navigator": "navigator", "navigator": "navigator",

View File

@@ -192,6 +192,11 @@
# submodules = true; # submodules = true;
flake = false; flake = false;
}; };
llama-cpp = {
# url = "https://github.com/ggml-org/llama.cpp";
url = "github:ggml-org/llama.cpp/b6116?submodules=1";
flake = false;
};
}; };
outputs = { outputs = {

View File

@@ -26,7 +26,7 @@
url = "https://huggingface.co/lmstudio-community/gpt-oss-20b-GGUF/resolve/main/gpt-oss-20b-MXFP4.gguf"; url = "https://huggingface.co/lmstudio-community/gpt-oss-20b-GGUF/resolve/main/gpt-oss-20b-MXFP4.gguf";
sha256 = "65d06d31a3977d553cb3af137b5c26b5f1e9297a6aaa29ae7caa98788cde53ab"; sha256 = "65d06d31a3977d553cb3af137b5c26b5f1e9297a6aaa29ae7caa98788cde53ab";
}; };
package = pkgs.ik_llama; # package = pkgs.ik_llama;
}; };
ollama = { ollama = {
enable = true; enable = true;

View File

@@ -125,6 +125,10 @@
src = inputs.ik_llama; src = inputs.ik_llama;
version = "5995"; version = "5995";
}); });
llama-cpp = prev.llama-cpp.overrideAttrs (oldAttrs: {
src = inputs.llama-cpp;
version = "b6116";
});
python312 = prev.python312.override { python312 = prev.python312.override {
packageOverrides = final: prev: { packageOverrides = final: prev: {
pysaml2 = prev.pysaml2.overridePythonAttrs (orig: { pysaml2 = prev.pysaml2.overridePythonAttrs (orig: {