forked from tracel-ai/burn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
50 lines (46 loc) · 1.58 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
[workspace]
# 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 = [
"burn",
"burn-core",
"burn-train",
"burn-derive",
"burn-tensor",
"burn-tensor-testgen",
"burn-dataset",
"burn-tch",
"burn-ndarray",
"burn-autodiff",
"burn-common",
"burn-no-std-tests",
"examples/*",
]
[workspace.dependencies]
const-random = "0.1.15"
dashmap = "5.4.0"
dirs = "4.0.0"
fake = "2.5.0"
flate2 = "1.0.25"
half = {version = "2", features = ["alloc", "num-traits"], default-features = false}
hashbrown = "0.13.2"
indicatif = "0.17.3"
libm = "0.2.6"
log = "0.4.17"
log4rs = "1.2.0"
spin = {version = "0.9.5", features = ["mutex", "spin_mutex"]}
thiserror = "1.0.39"
#
# The following packages disable the "std" feature for no_std compatibility
#
derive-new = {version = "0.5.9", default-features = false}
ndarray = {version = "0.15.6", default-features = false}
num-traits = {version = "0.2.15", default-features = false, features = ["libm"]}# libm is for no_std
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}
uuid = {version = "1.3.0", default-features = false}
serde = {version = "1.0.155", default-features = false, features = ["derive", "alloc"]}# alloc is for no_std, derive is needed
serde_json = {version = "1.0.94", default-features = false}
rmp-serde = {version = "1.1.1"}
bincode = {version = "2.0.0-rc", features=["alloc", "serde"], default-features = false}