burn/backend-comparison/Cargo.toml

114 lines
2.9 KiB
TOML
Raw Normal View History

2023-09-28 21:38:21 +08:00
[package]
authors = ["louisfd <louisfd94@gmail.com>"]
categories = ["science"]
description = "This crate is used to time the execution of various computations, from operation kernels to complex model scenarios."
edition.workspace = true
license.workspace = true
2023-09-28 21:38:21 +08:00
name = "backend-comparison"
readme.workspace = true
2023-12-02 03:33:28 +08:00
repository = "https://github.com/tracel-ai/burn/tree/main/backend-comparison"
version.workspace = true
2023-09-28 21:38:21 +08:00
[features]
# we depend on wgpu and autotune by default because we use the burn-wgpu crate to get system information
default = ["burn/std", "burn/autodiff", "burn/wgpu", "burn/autotune"]
2023-10-23 23:00:54 +08:00
candle-cpu = ["burn/candle"]
candle-cuda = ["burn/candle-cuda"]
2024-01-09 05:41:34 +08:00
candle-metal = ["burn/candle", "burn/metal"]
2023-12-01 22:48:28 +08:00
candle-accelerate = ["burn/candle", "burn/accelerate"]
2023-09-28 21:38:21 +08:00
ndarray = ["burn/ndarray"]
2023-12-01 22:48:28 +08:00
ndarray-blas-accelerate = ["burn/ndarray", "burn/accelerate"]
ndarray-blas-netlib = ["burn/ndarray", "burn/blas-netlib"]
ndarray-blas-openblas = ["burn/ndarray", "burn/openblas"]
2023-09-28 21:38:21 +08:00
tch-cpu = ["burn/tch"]
tch-gpu = ["burn/tch"]
2024-02-09 00:28:02 +08:00
wgpu = ["burn/wgpu", "burn/autotune"]
wgpu-fusion = ["wgpu", "burn/fusion"]
2024-07-22 23:08:40 +08:00
# cuda-jit = ["burn-cuda"]
2023-09-28 21:38:21 +08:00
[dependencies]
arboard = { workspace = true }
burn = { path = "../crates/burn", default-features = false }
burn-common = { path = "../crates/burn-common", version = "0.14.0" }
2024-07-22 23:08:40 +08:00
burn-wgpu = { path = "../crates/burn-wgpu", default-features = false, version = "0.14.0", optional = true }
# burn-cuda = { path = "../crates/burn-cuda", version = "0.14.0", optional = true }
clap = { workspace = true }
colored = { workspace = true }
2023-09-28 21:38:21 +08:00
derive-new = { workspace = true }
dirs = { workspace = true }
github-device-flow = { workspace = true }
os_info = { workspace = true }
indicatif = { workspace = true }
percent-encoding = { workspace = true }
2023-09-28 21:38:21 +08:00
rand = { workspace = true }
reqwest = { workspace = true, features = ["blocking", "json"] }
serde = { workspace = true }
serde_json = { workspace = true }
strum = { workspace = true }
strum_macros = { workspace = true }
sysinfo = { workspace = true, features = ["serde"] }
wgpu = { workspace = true }
wsl = { workspace = true }
2024-07-22 23:08:40 +08:00
cubecl = { workspace = true, features = ["wgpu"] }
2023-09-28 21:38:21 +08:00
[dev-dependencies]
rstest = { workspace = true }
serial_test = { workspace = true }
2023-09-28 21:38:21 +08:00
[[bench]]
name = "unary"
harness = false
[[bench]]
name = "binary"
harness = false
2024-03-05 02:23:11 +08:00
[[bench]]
name = "max-pool2d"
path = "benches/max_pool2d.rs"
2024-03-05 02:23:11 +08:00
harness = false
[[bench]]
name = "conv-transpose2d"
path = "benches/conv_transpose2d.rs"
harness = false
[[bench]]
name = "conv-transpose3d"
path = "benches/conv_transpose3d.rs"
harness = false
[[bench]]
name = "conv2d"
harness = false
[[bench]]
name = "conv3d"
harness = false
2023-09-28 21:38:21 +08:00
[[bench]]
name = "matmul"
harness = false
[[bench]]
name = "data"
harness = false
2024-04-02 22:13:35 +08:00
[[bench]]
name = "load-record"
harness = false
path = "benches/load_record.rs"
[[bench]]
name = "custom-gelu"
path = "benches/custom_gelu.rs"
harness = false
[[bench]]
name = "autodiff"
harness = false
[[bin]]
name = "burnbench"
path = "src/bin/burnbench.rs"