-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathCargo.toml
30 lines (25 loc) · 834 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
[package]
name = "llm-rs"
version = "0.2.15"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
name = "llm_rs"
crate-type = ["cdylib"]
[dependencies]
rand = "0.8.5"
rand_chacha = "0.3.1"
log = "0.4.17"
serde = "1.0.163"
serde_json = "1.0"
llm = { git = "https://github.com/rustformers/llm.git", rev = "129b84a" , features = ["falcon"]}
llm-base = { git = "https://github.com/rustformers/llm.git", rev = "129b84a"}
[dependencies.pyo3]
version = "0.19.2"
# "abi3-py38" tells pyo3 (and maturin) to build using the stable ABI with
# Python 3.8 or later.
features = ["abi3-py38","extension-module", "generate-import-lib"]
[features]
cublas = ["llm/cublas", "llm-base/cublas"]
clblast = ["llm/clblast", "llm-base/clblast"]
metal = ["llm/metal", "llm-base/metal"]