-
Notifications
You must be signed in to change notification settings - Fork 447
/
Cargo.toml
169 lines (153 loc) · 4.66 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
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
[workspace]
# Try
# require version 2 to avoid "feature" additiveness for dev-dependencies
# https://doc.rust-lang.org/cargo/reference/resolver.html#feature-resolver-version-2
resolver = "2"
members = [
"backend-comparison",
"crates/*",
"crates/burn-import/pytorch-tests",
"crates/burn-import/onnx-tests",
"examples/*",
"examples/pytorch-import/model",
"xtask",
]
exclude = [
"examples/notebook",
"examples/raspberry-pi-pico", # will cause dependency building issues otherwise
]
[workspace.package]
edition = "2021"
license = "MIT OR Apache-2.0"
readme = "README.md"
version = "0.16.0"
[workspace.dependencies]
atomic_float = "1"
bytemuck = "1.20.0"
candle-core = { version = "0.8" }
clap = { version = "4.5.21", features = ["derive"] }
colored = "2.1.0"
console_error_panic_hook = "0.1.7"
csv = "1.3.1"
dashmap = "6.1.0"
data-encoding = { version = "2.6.0", default-features = false, features = [
"alloc",
] }
dirs = "5.0.1"
fake = "3.0.1"
flate2 = "1.0.35"
float-cmp = "0.10.0"
getrandom = { version = "0.2.15", default-features = false }
gix-tempfile = { version = "15.0.0", features = ["signals"] }
globwalk = "0.9.1"
hashbrown = "0.15.2"
hound = "3.5.1"
image = "0.25.5"
indicatif = "0.17.9"
js-sys = "0.3.72"
libm = "0.2.11"
log = { default-features = false, version = "0.4.22" }
md5 = "0.7.0"
paste = "1"
percent-encoding = "2.3.1"
polars = { version = "0.44.2", features = ["lazy"] }
pretty_assertions = "1.4.1"
proc-macro2 = "1.0.92"
protobuf = "3.7.1"
protobuf-codegen = "3.7.1"
quote = "1.0.37"
r2d2 = "0.8.10"
r2d2_sqlite = "0.25.0"
rayon = "1.10.0"
regex = "1.11.1"
reqwest = "0.12.9"
rmp-serde = "1.3.0"
rstest = "0.23.0"
rusqlite = "0.32.1"
rust-format = "0.3.4"
sanitize-filename = "0.6.0"
serde_bytes = { version = "0.11.15", default-features = false, features = [
"alloc",
] } # alloc for no_std
serde_rusqlite = "0.36.0"
serial_test = "3.2.0"
spin = { version = "0.9.8", features = [
"mutex",
"spin_mutex",
"portable-atomic",
] }
strum = "0.26.3"
strum_macros = "0.26.4"
syn = { version = "2.0.89", features = ["full", "extra-traits"] }
tempfile = "3.14.0"
thiserror = "2.0.3"
tokio = { version = "1.41.1", features = ["rt", "macros"] }
tracing-appender = "0.2.3"
tracing-core = "0.1.33"
tracing-subscriber = "0.3.18"
web-time = "1.1.0"
zip = "2.2.1"
# Async handling
async-channel = "2.3"
futures-lite = { version = "2.5.0", default-features = false }
# Terminal UI
ratatui = "0.29.0"
# WGPU stuff
text_placeholder = "0.5.1"
wgpu = "22.1.0"
# Benchmarks and Burnbench
arboard = "3.4.1"
github-device-flow = "0.2.0"
os_info = "3.8.2"
wsl = "0.1.0"
bincode = { version = "2.0.0-rc.3", features = [
"alloc",
"serde",
], default-features = false }
#
# The following packages disable the "std" feature for no_std compatibility
#
cfg-if = "1.0.0"
derive-new = { version = "0.7.0", default-features = false }
blas-src = { version = "0.10.0", default-features = false }
half = { version = "2.4.1", features = [
"alloc",
"num-traits",
"serde",
], default-features = false }
matrixmultiply = { version = "0.3.9", default-features = false }
ndarray = { version = "0.16.1", default-features = false }
num-traits = { version = "0.2.19", default-features = false, features = [
"libm",
] } # libm is for no_std
openblas-src = "0.10.9"
rand = { version = "0.8.5", default-features = false, features = [
"std_rng",
] } # std_rng is for no_std
rand_distr = { version = "0.4.3", default-features = false }
serde = { version = "1.0.215", default-features = false, features = [
"derive",
"alloc",
] } # alloc is for no_std, derive is needed
serde_json = { version = "1.0.133", default-features = false }
uuid = { version = "1.11.0", default-features = false }
libc = "0.2.165"
nvml-wrapper = "0.10.0"
sysinfo = "0.32.1"
systemstat = "0.2.3"
tch = "0.15.0"
ahash = { version = "0.8.11", default-features = false }
portable-atomic-util = { version = "0.2.4", features = ["alloc"] }
### For the main burn branch. ###
cubecl = { git = "https://github.com/tracel-ai/cubecl", default-features = false, rev = "2c09d4dd1ecb9f474e524dc47b05599edb7049e7" }
cubecl-common = { git = "https://github.com/tracel-ai/cubecl", default-features = false, rev = "2c09d4dd1ecb9f474e524dc47b05599edb7049e7" }
### For local development. ###
# cubecl = { path = "../cubecl/crates/cubecl", default-features = false }
# cubecl-common = { path = "../cubecl/crates/cubecl-common", default-features = false }
### For the release. ###
# cubecl = { version = "0.3.0", default-features = false }
# cubecl-common = { version = "0.3.0", default-features = false }
### For xtask crate ###
tracel-xtask = { version = "~1.1" }
[profile.dev]
debug = 0 # Speed up compilation time and not necessary.