burn/backend-comparison/Cargo.toml

84 lines
2.4 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"]
2023-12-01 22:48:28 +08:00
candle-cuda = ["burn/candle", "burn/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"]
tui = ["ratatui", "crossterm"]
2024-02-09 00:28:02 +08:00
wgpu = ["burn/wgpu", "burn/autotune"]
wgpu-fusion = ["wgpu", "burn/fusion"]
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.13.0" }
burn-wgpu = { path = "../crates/burn-wgpu", default-features = false, version = "0.13.0" }
clap = { workspace = true }
crossterm = { workspace = true, optional = 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 }
2023-09-28 21:38:21 +08:00
rand = { workspace = true }
ratatui = { workspace = true, optional = 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 }
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
2023-09-28 21:38:21 +08:00
[[bench]]
name = "matmul"
harness = false
[[bench]]
name = "data"
harness = false
[[bench]]
name = "custom-gelu"
path = "benches/custom_gelu.rs"
harness = false
[[bin]]
name = "burnbench"
path = "src/bin/burnbench.rs"