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 = "2021"
|
|
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
name = "backend-comparison"
|
|
|
|
readme = "README.md"
|
|
|
|
repository = "https://github.com/burn-rs/burn/tree/main/backend-comparison"
|
2023-10-25 07:31:13 +08:00
|
|
|
version = "0.11.0"
|
2023-09-28 21:38:21 +08:00
|
|
|
|
|
|
|
[features]
|
|
|
|
default = ["std"]
|
|
|
|
std = []
|
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"]
|
|
|
|
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"]
|
|
|
|
wgpu = ["burn/wgpu"]
|
2023-11-16 04:13:37 +08:00
|
|
|
wgpu-fusion = ["burn/wgpu", "burn/fusion"]
|
2023-09-28 21:38:21 +08:00
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
burn = { path = "../burn" }
|
|
|
|
derive-new = { workspace = true }
|
|
|
|
rand = { workspace = true }
|
2023-10-30 04:44:59 +08:00
|
|
|
burn-common = { path = "../burn-common", version = "0.11.0" }
|
2023-11-23 00:50:27 +08:00
|
|
|
serde_json = { workspace = true }
|
|
|
|
dirs = "5.0.1"
|
2023-09-28 21:38:21 +08:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "unary"
|
|
|
|
harness = false
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "binary"
|
|
|
|
harness = false
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "matmul"
|
|
|
|
harness = false
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "data"
|
|
|
|
harness = false
|
2023-11-16 21:15:21 +08:00
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "custom_gelu"
|
|
|
|
harness = false
|