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"
|
|
|
|
edition.workspace = true
|
|
|
|
keywords = ["deep-learning", "machine-learning", "gpu"]
|
|
|
|
license.workspace = true
|
|
|
|
name = "burn-jit"
|
|
|
|
readme.workspace = true
|
|
|
|
repository = "https://github.com/tracel-ai/burn/tree/main/burn-jit"
|
|
|
|
version.workspace = true
|
|
|
|
|
|
|
|
[features]
|
|
|
|
default = ["autotune", "std", "burn-compute/default", "fusion"]
|
|
|
|
std = []
|
|
|
|
doc = ["default"]
|
|
|
|
autotune = []
|
2024-04-06 00:58:10 +08:00
|
|
|
template = []
|
2024-03-07 00:23:53 +08:00
|
|
|
fusion = ["burn-fusion"]
|
|
|
|
export_tests = [
|
|
|
|
"burn-tensor-testgen",
|
|
|
|
"serial_test",
|
|
|
|
"burn-autodiff/export_tests",
|
|
|
|
"burn-tensor/export_tests",
|
|
|
|
"burn-ndarray",
|
|
|
|
"fusion",
|
|
|
|
]
|
|
|
|
|
|
|
|
[dependencies]
|
2024-04-13 05:14:45 +08:00
|
|
|
burn-common = { path = "../burn-common", version = "0.14.0" }
|
|
|
|
burn-tensor = { path = "../burn-tensor", version = "0.14.0" }
|
|
|
|
burn-fusion = { path = "../burn-fusion", version = "0.14.0", optional = true }
|
2024-03-07 00:23:53 +08:00
|
|
|
|
|
|
|
bytemuck = { workspace = true }
|
|
|
|
derive-new = { workspace = true }
|
|
|
|
log = { workspace = true }
|
|
|
|
num-traits = { workspace = true }
|
|
|
|
rand = { workspace = true }
|
|
|
|
spin = { workspace = true }
|
2024-04-30 21:46:29 +08:00
|
|
|
half = { workspace = true, features = ["bytemuck"] }
|
2024-03-07 00:23:53 +08:00
|
|
|
|
|
|
|
# Template
|
|
|
|
serde = { workspace = true }
|
|
|
|
text_placeholder = { workspace = true, features = ["struct_context"] }
|
|
|
|
|
|
|
|
hashbrown = { workspace = true }
|
2024-04-13 05:14:45 +08:00
|
|
|
burn-compute = { path = "../burn-compute", version = "0.14.0", default-features = false, features = [
|
2024-03-07 00:23:53 +08:00
|
|
|
"channel-mutex",
|
|
|
|
"std",
|
|
|
|
] }
|
2024-04-13 05:14:45 +08:00
|
|
|
burn-tensor-testgen = { path = "../burn-tensor-testgen", version = "0.14.0", optional = true }
|
2024-03-07 00:23:53 +08:00
|
|
|
|
|
|
|
# When exporting tests
|
|
|
|
serial_test = { workspace = true, optional = true }
|
2024-04-13 05:14:45 +08:00
|
|
|
burn-autodiff = { path = "../burn-autodiff", version = "0.14.0", default-features = false, optional = true }
|
|
|
|
burn-ndarray = { path = "../burn-ndarray", version = "0.14.0", optional = true }
|
2024-03-07 00:23:53 +08:00
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
features = ["doc"]
|