Updated llamacpp

This commit is contained in:
Silas Marvin 2024-06-06 18:38:38 -07:00
parent b9e851e822
commit cea6d6cc33
2 changed files with 8 additions and 8 deletions

10
Cargo.lock generated
View File

@ -1461,8 +1461,9 @@ checksum = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c"
[[package]]
name = "llama-cpp-2"
version = "0.1.52"
source = "git+https://github.com/SilasMarvin/llama-cpp-rs/?branch=silas-redo-build-script#1f69c90dd4822ebf34bfac6ae988f16232d71284"
version = "0.1.55"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "60ea3a10607d6d4417e221b5da470d0bed4591a7c020c7941a4ec4d437e37554"
dependencies = [
"llama-cpp-sys-2",
"thiserror",
@ -1471,8 +1472,9 @@ dependencies = [
[[package]]
name = "llama-cpp-sys-2"
version = "0.1.52"
source = "git+https://github.com/SilasMarvin/llama-cpp-rs/?branch=silas-redo-build-script#1f69c90dd4822ebf34bfac6ae988f16232d71284"
version = "0.1.55"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c99197ef99dd5049767e3b64c10a6c752a6ba3bef95b13064ab1b796c2c92a8a"
dependencies = [
"bindgen",
"cc",

View File

@ -18,9 +18,7 @@ tokenizers = "0.14.1"
parking_lot = "0.12.1"
once_cell = "1.19.0"
directories = "5.0.1"
# llama-cpp-2 = { version = "0.1.54", optional = true }
# llama-cpp-2 = { path = "../llama-cpp-rs/llama-cpp-2", optional = true }
llama-cpp-2 = { git = "https://github.com/SilasMarvin/llama-cpp-rs/", branch = "silas-redo-build-script", optional = true }
llama-cpp-2 = { version = "0.1.55", optional = true }
minijinja = { version = "1.0.12", features = ["loader"] }
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
tracing = "0.1.40"
@ -36,7 +34,7 @@ async-trait = "0.1.78"
default = []
llama_cpp = ["dep:llama-cpp-2"]
metal = ["llama-cpp-2/metal"]
cublas = ["llama-cpp-2/cublas"]
cuda = ["llama-cpp-2/cuda"]
[dev-dependencies]
assert_cmd = "2.0.14"