[package] authors = ["louisfd "] 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/tracel-ai/burn/tree/main/backend-comparison" version = "0.12.0" [features] default = ["std"] std = [] candle-cpu = ["burn/candle"] candle-cuda = ["burn/candle", "burn/cuda"] candle-accelerate = ["burn/candle", "burn/accelerate"] ndarray = ["burn/ndarray"] ndarray-blas-accelerate = ["burn/ndarray", "burn/accelerate"] ndarray-blas-netlib = ["burn/ndarray", "burn/blas-netlib"] ndarray-blas-openblas = ["burn/ndarray", "burn/openblas"] tch-cpu = ["burn/tch"] tch-gpu = ["burn/tch"] wgpu = ["burn/wgpu"] wgpu-fusion = ["burn/wgpu", "burn/fusion"] [dependencies] burn = { path = "../burn" } derive-new = { workspace = true } rand = { workspace = true } burn-common = { path = "../burn-common", version = "0.12.0" } serde_json = { workspace = true } dirs = "5.0.1" [dev-dependencies] [[bench]] name = "unary" harness = false [[bench]] name = "binary" harness = false [[bench]] name = "matmul" harness = false [[bench]] name = "data" harness = false [[bench]] name = "custom_gelu" harness = false