-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathCargo.toml
45 lines (41 loc) · 1.27 KB
/
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
[package]
name = "cria"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
async-stream = "0.3.5"
axum = "0.6.19"
clap = { version = "4.3.19", features = ["derive"] }
futures = "0.3.28"
# llm = { path = "./llm/crates/llm" }
llm = { git = "https://github.com/rustformers/llm.git", rev = "2f6ffd4435799ceaa1d1bcb5a8790e5b3e0c5663" }
llm-llama = "0.1.1"
rand = "0.8.5"
serde = { version = "1.0.179", features = ["derive"] }
tokio = { version = "1.29.1", features = ["full", "rt"] }
tokio-stream = "0.1.14"
tower-http = { version = "0.4.0", features = ["trace"] }
uuid = { version = "1.4.1", features = ["v4"] }
# tracing
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = [
"json",
"time",
"env-filter",
] }
opentelemetry = { version = "0.20.0", features = ["rt-tokio", "metrics"] }
tracing-opentelemetry = "0.20.0"
opentelemetry-zipkin = { version = "0.18.0", features = [
"reqwest-client",
], default-features = false }
axum-tracing-opentelemetry = "0.13.1"
axum-prometheus = "0.4.0"
figment = { version = "0.10.10", features = ["env"] }
flume = "0.11.0"
serde_json = "1.0.105"
[profile.dev.package.ggml-sys]
opt-level = 3
[features]
cublas = ["llm/cublas"]
metal = ["llm/metal"]