Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
48 lines (43 loc) · 1.68 KB
/
Copy pathCargo.toml
File metadata and controls
48 lines (43 loc) · 1.68 KB
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
46
47
48
[package]
name = "rusting_strata"
version = "1.5.2"
edition = "2024"
license-file = "LICENSE.md"
description = "Pure-Rust GGUF inference engine for MoE models that do not fit in VRAM (CUDA via NVRTC, Vulkan, HIP)"
repository = "https://github.com/RustingStudio/RustingStrata"
readme = "README.md"
keywords = ["llm", "gguf", "inference", "cuda", "vulkan"]
categories = ["science", "command-line-utilities"]
# CI files and the local-CPU build flag stay out of the crate (cargo install from crates.io ignores the latter anyway).
exclude = [".github/", ".cargo/", ".dockerignore"]
[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ os-name }-{ target-arch }{ binary-ext }"
pkg-fmt = "bin"
[[bin]]
name = "rustingstrata"
path = "src/main.rs"
[dependencies]
anyhow = "1"
memmap2 = "0.9"
rayon = "1"
half = "2"
tokenizers = { version = "0.20", default-features = false, features = ["onig"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
clap = { version = "4", features = ["derive"] }
cudarc = { version = "0.19", default-features = false, features = ["std", "driver", "nvrtc", "dynamic-loading", "cuda-13010"] }
# Same version cudarc already pulls in; loads NVRTC by our own name list (src/cuda/nvrtc.rs).
libloading = "0.9"
ash = "0.38"
ureq = { version = "3", default-features = false, features = ["rustls"] }
image = { version = "0.25", default-features = false, features = ["png", "jpeg", "webp"] }
base64 = "0.22"
indicatif = { version = "0.18.6", default-features = false }
console = { version = "0.16.6", default-features = false, features = ["std"] }
[profile.release]
opt-level = 3
debug = 1
codegen-units = 1
lto = "thin"
[profile.test]
opt-level = 3