# 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 = "oxidized-transformers" version = "0.1.1" description = "Transformers library (not functional yet)" homepage = "https://github.com/oxidized-transformers/oxidized-transformers" license = "MIT OR Apache-2.0" repository = "https://github.com/oxidized-transformers/oxidized-transformers" [dependencies.candle-core] version = "0.4" [dependencies.candle-nn] version = "0.4" [dependencies.half] version = "2.4" [dependencies.hf-hub] version = "0.3" [dependencies.regex] version = "1.10" [dependencies.serde] version = "1.0" features = [ "derive", "derive", ] [dependencies.serde_json] version = "1.0" [dependencies.snafu] version = "0.8" [dependencies.tokenizers] version = "0.15" features = [ "http", "http", ] [dev-dependencies.approx] version = "0.5" [dev-dependencies.ndarray] version = "0.15.4" features = [ "approx-0_5", "approx-0_5", ] [dev-dependencies.rand_core] version = "0.6" [dev-dependencies.rand_pcg] version = "0.3" [dev-dependencies.rstest] version = "0.18" [features] accelerate = [ "candle-core/accelerate", "candle-nn/accelerate", ] cuda = [ "candle-core/cuda", "candle-nn/cuda", ] cudnn = ["candle-core/cudnn"] metal = [ "candle-core/metal", "candle-nn/metal", ]