# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "burn-tch" version = "0.15.0" authors = ["nathanielsimard "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "LibTorch backend for the Burn framework using the tch bindings." documentation = "https://docs.rs/burn-tch" readme = "README.md" keywords = [ "deep-learning", "machine-learning", "data", ] categories = ["science"] license = "MIT OR Apache-2.0" repository = "https://github.com/tracel-ai/burn/tree/main/crates/burn-tch" [package.metadata.docs.rs] features = ["doc"] rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "burn_tch" path = "src/lib.rs" [[bin]] name = "cpu" path = "src/bin/cpu.rs" [[bin]] name = "cuda" path = "src/bin/cuda.rs" [[bin]] name = "mps" path = "src/bin/mps.rs" [dependencies.burn-tensor] version = "0.15.0" [dependencies.half] version = "2.4.1" features = [ "alloc", "num-traits", "serde", "std", ] default-features = false [dependencies.libc] version = "0.2.159" [dependencies.log] version = "0.4.22" default-features = false [dependencies.rand] version = "0.8.5" features = [ "std_rng", "std", ] default-features = false [dependencies.tch] version = "0.15.0" features = ["download-libtorch"] [dev-dependencies.burn-autodiff] version = "0.15.0" features = ["export_tests"] default-features = false [dev-dependencies.burn-tensor] version = "0.15.0" features = ["export_tests"] default-features = false [features] default = [] doc = ["tch/doc-only"]