forked from tracel-ai/cubecl
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
173 lines (142 loc) · 4.66 KB
/
Copy pathCargo.toml
File metadata and controls
173 lines (142 loc) · 4.66 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
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
170
171
172
173
[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 = ["crates/*", "examples/*", "xtask"]
[workspace.package]
edition = "2024"
license = "MIT OR Apache-2.0"
readme = "README.md"
rust-version = "1.95"
version = "0.11.0-pre.1"
[workspace.lints.rust]
warnings = "warn"
[workspace.lints.clippy]
doc_markdown = "warn"
[workspace.lints.rustdoc]
broken_intra_doc_links = "warn"
invalid_html_tags = "warn"
[workspace.dependencies]
bitflags = { version = "2.9.1", features = ["serde"] }
derive-new = { version = "0.7.0", default-features = false }
derive_more = { version = "2", default-features = false }
oneshot = { version = "0.2.1", default-features = false }
tynm = { version = "0.2" }
clap = { version = "4.5.53" }
log = { default-features = false, version = "^0.4.22" }
tokio = { version = "^1.47.1" }
test-log = { version = "^0.2", default-features = false }
tracing = { version = "^0.1.43", default-features = false }
tracing-opentelemetry = "^0.32.0"
tracing-subscriber = "^0.3.20"
opentelemetry = "^0.31.0"
opentelemetry-otlp = "^0.31.0"
opentelemetry_sdk = "^0.31.0"
ciborium = { version = "0.2.2", default-features = false, features = ["std"] }
fnv = "1"
serde = { version = "1.0.204", default-features = false, features = [
"derive",
"alloc",
] } # alloc is for no_std, derive is needed
serde_bytes = { version = "0.11.17", default-features = false, features = [
"alloc",
] } # alloc for no_std
serde_json = { version = "1.0.119", default-features = false }
toml = "1"
variadics_please = "2"
# no_std compatibility
dashmap = "6.1.0"
foldhash = { version = "0.2", default-features = false }
hashbrown = "0.17"
smallvec = { version = "1", features = [
"union",
"const_generics",
"const_new",
] }
spin = { version = "0.10.0", features = ["mutex", "spin_mutex"] }
xxhash-rust = { version = "0.8", default-features = false }
rand = { version = "0.10.0", default-features = false, features = [
"std_rng",
] } # std_rng is for no_std
async-channel = "2.3"
dirs = "6.0.0"
embassy-time = { version = "0.5", default-features = false }
md5 = "0.8.0"
sanitize-filename = "0.6"
wasm-bindgen-futures = "0.4.45"
web-time = "1.1.0"
# Testing
rstest = "0.26"
serial_test = "3.1.1"
bytemuck = "1.16.1"
bytes = { version = "1.10", default-features = false }
float-ord = "0.3"
float4 = "0.2"
float8 = { version = "0.7", default-features = false }
half = { version = "2.5", features = [
"alloc",
"num-traits",
"serde",
], default-features = false }
num-integer = { version = "0.1", default-features = false }
num-traits = { version = "0.2.19", default-features = false, features = [
"libm",
] } # libm is for no_std
bumpalo = "3"
cfg-if = "1.0.0"
darling = "0.23.0"
enumset = { version = "1.1.12", default-features = false }
ident_case = "1"
internment = "0.8"
itertools = "0.14"
paste = "1"
proc-macro2 = "1"
quote = "1"
syn = { version = "2", features = ["full", "extra-traits", "visit-mut"] }
thiserror = { version = "2", default-features = false }
tracy-client = { version = "0.18.0" }
portable-atomic = { version = "1.11", default-features = false, features = [
"serde",
] }
portable-atomic-util = { version = "0.2.4", features = ["alloc"] }
pretty_assertions = "1.4"
# Async
embassy-futures = { version = "0.1.1" } # for no-std
futures-lite = { version = "2.3.0", default-features = false }
# CubeCL-CPU
sysinfo = "0.38"
tracel-llvm = { path = "../tracel-llvm/crates/tracel-llvm", features = [
"mlir-helpers",
] }
tracel-llvm-bundler = { path = "../tracel-llvm/crates/tracel-llvm-bundler" }
### For development
# tracel-llvm = { path = "../tracel-llvm/crates/tracel-llvm", features = [
# "mlir-helpers",
# ] }
# tracel-llvm-bundler = { path = "../tracel-llvm/crates/tracel-llvm-bundler" }
libc = "^0.2.186"
winapi = { version = "^0.3.9", features = ["processthreadsapi", "winbase"] }
cudarc = { version = "0.19.6", features = [
"std",
"driver",
"nvrtc",
"nccl",
"fallback-dynamic-loading",
"cuda-version-from-build-system",
"fallback-latest",
], default-features = false } # CubeCL-CUDA
# CubeCL-SPIR-V
rspirv = { package = "tracel-rspirv", version = "0.13.0" }
# CubeCL-WGPU
ash = "0.38"
tracel-ash = "0.39.2"
# tracel-ash = { path = "../tracel-ash/crates/ash" }
wgpu = { git = "https://github.com/gfx-rs/wgpu.git", rev = "bde709122f8320571ab1733ab055dcb54415a483" }
# wgpu = "^29.0.1"
wgpu-hal = { git = "https://github.com/gfx-rs/wgpu.git", rev = "bde709122f8320571ab1733ab055dcb54415a483" }
renderdoc = "0.12"
# Build deps
cfg_aliases = "0.2.1"
[profile.dev.build-override]
opt-level = 3