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"]
|
|
|
|
candle-cuda = ["burn/candle-cuda"]
|
2023-09-28 21:38:21 +08:00
|
|
|
ndarray = ["burn/ndarray"]
|
|
|
|
ndarray-blas-accelerate = ["burn/ndarray-blas-accelerate"]
|
|
|
|
ndarray-blas-netlib = ["burn/ndarray-blas-netlib"]
|
|
|
|
ndarray-blas-openblas = ["burn/ndarray-blas-openblas"]
|
|
|
|
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-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
|