2022-11-16 10:06:40 +08:00
|
|
|
[package]
|
|
|
|
authors = ["nathanielsimard <nathaniel.simard.42@gmail.com>"]
|
2023-02-25 22:38:01 +08:00
|
|
|
categories = ["science"]
|
2022-11-16 10:06:40 +08:00
|
|
|
description = "Tch backend for burn"
|
2023-02-25 22:38:01 +08:00
|
|
|
edition = "2021"
|
2022-11-16 10:06:40 +08:00
|
|
|
keywords = ["deep-learning", "machine-learning", "data"]
|
|
|
|
license = "MIT/Apache-2.0"
|
2023-02-25 22:38:01 +08:00
|
|
|
name = "burn-tch"
|
|
|
|
readme = "README.md"
|
|
|
|
repository = "https://github.com/burn-rs/burn/tree/main/burn-tch"
|
|
|
|
version = "0.5.0"
|
2022-11-16 10:06:40 +08:00
|
|
|
|
|
|
|
[features]
|
|
|
|
doc = ["tch/doc-only"]
|
|
|
|
|
|
|
|
[dependencies]
|
2023-02-25 22:38:01 +08:00
|
|
|
burn-tensor = {path = "../burn-tensor"}
|
|
|
|
half = {workspace = true}
|
|
|
|
lazy_static = {workspace = true}
|
|
|
|
rand = {workspace = true, features = ["std"]}
|
2023-03-01 09:01:01 +08:00
|
|
|
|
|
|
|
[target.'cfg(not(target_arch = "aarch64"))'.dependencies]
|
|
|
|
tch = {version = "0.10.3"}
|
|
|
|
|
|
|
|
# Temporary workaround for https://github.com/burn-rs/burn/issues/180
|
|
|
|
# Remove this and build.rs once tch-rs upgrades to Torch 2.0 at least
|
|
|
|
[target.'cfg(target_arch = "aarch64")'.dependencies]
|
|
|
|
tch = {version = "0.10.3", default-features = false} # Disables torch downloading
|
2022-11-16 10:06:40 +08:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2023-02-25 22:38:01 +08:00
|
|
|
burn-autodiff = {path = "../burn-autodiff", default-features = false, features = [
|
|
|
|
"export_tests",
|
|
|
|
]}
|
|
|
|
burn-tensor = {path = "../burn-tensor", default-features = false, features = [
|
|
|
|
"export_tests",
|
|
|
|
]}
|