2024-03-07 00:23:53 +08:00
|
|
|
[package]
|
|
|
|
authors = ["nathanielsimard <nathaniel.simard.42@gmail.com>"]
|
|
|
|
categories = ["science"]
|
|
|
|
description = "Generic backend that can be compiled just-in-time to any shader language target"
|
2024-11-05 02:01:01 +08:00
|
|
|
documentation = "https://docs.rs/burn-jit"
|
2024-03-07 00:23:53 +08:00
|
|
|
edition.workspace = true
|
|
|
|
keywords = ["deep-learning", "machine-learning", "gpu"]
|
|
|
|
license.workspace = true
|
|
|
|
name = "burn-jit"
|
|
|
|
readme.workspace = true
|
2024-05-10 03:40:05 +08:00
|
|
|
repository = "https://github.com/tracel-ai/burn/tree/main/crates/burn-jit"
|
2024-03-07 00:23:53 +08:00
|
|
|
version.workspace = true
|
|
|
|
|
|
|
|
[features]
|
2024-09-24 03:54:50 +08:00
|
|
|
autotune = []
|
2024-07-22 23:08:40 +08:00
|
|
|
default = ["autotune", "std", "fusion", "cubecl/default"]
|
2024-03-07 00:23:53 +08:00
|
|
|
doc = ["default"]
|
|
|
|
export_tests = [
|
|
|
|
"burn-tensor-testgen",
|
|
|
|
"serial_test",
|
|
|
|
"burn-autodiff/export_tests",
|
|
|
|
"burn-tensor/export_tests",
|
|
|
|
"burn-ndarray",
|
|
|
|
"fusion",
|
2024-11-05 02:01:01 +08:00
|
|
|
"paste",
|
2024-03-07 00:23:53 +08:00
|
|
|
]
|
2024-09-24 03:54:50 +08:00
|
|
|
fusion = ["burn-fusion"]
|
|
|
|
std = ["cubecl/std"]
|
|
|
|
template = []
|
2024-03-07 00:23:53 +08:00
|
|
|
|
|
|
|
[dependencies]
|
2024-10-29 04:41:58 +08:00
|
|
|
burn-common = { path = "../burn-common", version = "0.16.0" }
|
|
|
|
burn-fusion = { path = "../burn-fusion", version = "0.16.0", optional = true }
|
|
|
|
burn-tensor = { path = "../burn-tensor", version = "0.16.0", features = [
|
2024-11-05 02:01:01 +08:00
|
|
|
"cubecl",
|
|
|
|
"repr",
|
2024-09-24 03:54:50 +08:00
|
|
|
] }
|
|
|
|
cubecl = { workspace = true, features = ["linalg"] }
|
2024-03-07 00:23:53 +08:00
|
|
|
|
|
|
|
bytemuck = { workspace = true }
|
|
|
|
derive-new = { workspace = true }
|
2024-09-24 03:54:50 +08:00
|
|
|
half = { workspace = true, features = ["bytemuck"] }
|
2024-03-07 00:23:53 +08:00
|
|
|
log = { workspace = true }
|
|
|
|
num-traits = { workspace = true }
|
|
|
|
rand = { workspace = true }
|
|
|
|
spin = { workspace = true }
|
|
|
|
|
2024-10-17 03:56:12 +08:00
|
|
|
# Async
|
|
|
|
futures-lite = { workspace = true, features = ["std"] }
|
|
|
|
|
2024-03-07 00:23:53 +08:00
|
|
|
# Template
|
|
|
|
serde = { workspace = true }
|
|
|
|
text_placeholder = { workspace = true, features = ["struct_context"] }
|
|
|
|
|
2024-10-29 04:41:58 +08:00
|
|
|
burn-tensor-testgen = { path = "../burn-tensor-testgen", version = "0.16.0", optional = true }
|
2024-09-24 03:54:50 +08:00
|
|
|
hashbrown = { workspace = true }
|
2024-03-07 00:23:53 +08:00
|
|
|
|
|
|
|
# When exporting tests
|
2024-10-29 04:41:58 +08:00
|
|
|
burn-autodiff = { path = "../burn-autodiff", version = "0.16.0", default-features = false, optional = true }
|
|
|
|
burn-ndarray = { path = "../burn-ndarray", version = "0.16.0", optional = true }
|
2024-11-05 02:01:01 +08:00
|
|
|
paste = { workspace = true, optional = true }
|
2024-09-24 03:54:50 +08:00
|
|
|
serial_test = { workspace = true, optional = true }
|
2024-03-07 00:23:53 +08:00
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
features = ["doc"]
|
2024-10-09 21:15:02 +08:00
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|