burn/crates/burn-tch/Cargo.toml

35 lines
1.0 KiB
TOML
Raw Permalink Normal View History

2022-11-16 10:06:40 +08:00
[package]
authors = ["nathanielsimard <nathaniel.simard.42@gmail.com>"]
categories = ["science"]
description = "LibTorch backend for the Burn framework using the tch bindings."
edition.workspace = true
2022-11-16 10:06:40 +08:00
keywords = ["deep-learning", "machine-learning", "data"]
license.workspace = true
name = "burn-tch"
readme.workspace = true
repository = "https://github.com/tracel-ai/burn/tree/main/crates/burn-tch"
version.workspace = true
2022-11-16 10:06:40 +08:00
[features]
2023-12-01 22:48:28 +08:00
default = []
2022-11-16 10:06:40 +08:00
doc = ["tch/doc-only"]
[dependencies]
burn-tensor = { path = "../burn-tensor", version = "0.14.0" }
2023-03-17 21:31:52 +08:00
2023-12-02 03:33:28 +08:00
half = { workspace = true, features = ["std"] }
libc = { workspace = true }
2023-12-02 03:33:28 +08:00
rand = { workspace = true, features = ["std"] }
tch = { workspace = true, features = ["download-libtorch"] }
2022-11-16 10:06:40 +08:00
[dev-dependencies]
burn-autodiff = { path = "../burn-autodiff", version = "0.14.0", default-features = false, features = [
"export_tests",
2023-12-02 03:33:28 +08:00
] }
burn-tensor = { path = "../burn-tensor", version = "0.14.0", default-features = false, features = [
"export_tests",
2023-12-02 03:33:28 +08:00
] }
2024-01-24 03:13:57 +08:00
[package.metadata.docs.rs]
features = ["doc"]