-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
82 lines (65 loc) · 1.45 KB
/
Copy pathCargo.toml
File metadata and controls
82 lines (65 loc) · 1.45 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
[package]
name = "perspective"
version = "0.1.0"
edition = "2021"
authors = ["NAME0x0"]
description = "PERSPECTIVE — 1T+ sparse MoE architecture for consumer hardware"
license = "MIT"
repository = "https://github.com/NAME0x0/OMNI"
[lib]
name = "perspective"
path = "src/lib.rs"
[[bin]]
name = "perspective"
path = "src/main.rs"
[dependencies]
# Async runtime
tokio = { version = "1", features = ["full"] }
# Numeric / linear algebra
ndarray = { version = "0.16", features = ["rayon", "serde"] }
num-traits = "0.2"
half = { version = "2", features = ["num-traits"] }
# Random number generation
rand = "0.8"
rand_distr = "0.4"
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
bincode = "1"
# CLI
clap = { version = "4", features = ["derive"] }
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# Memory-mapped I/O (NVMe streaming)
memmap2 = "0.9"
# Parallelism
rayon = "1"
crossbeam = "0.8"
# Error handling
anyhow = "1"
thiserror = "1"
# Bytemuck for zero-copy casting
bytemuck = { version = "1", features = ["derive"] }
[dev-dependencies]
criterion = { version = "0.5", features = ["html_reports"] }
proptest = "1"
approx = "0.5"
tempfile = "3"
[build-dependencies]
cc = "1"
[features]
default = ["cpu"]
cpu = []
cuda = []
hip = []
sycl = []
native-manifold = []
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
strip = true
[profile.bench]
inherits = "release"
debug = true