# 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 = "candle-core-temp" version = "0.3.0" description = "Minimalist ML framework." readme = "README.md" keywords = [ "blas", "tensor", "machine-learning", ] categories = ["science"] license = "MIT OR Apache-2.0" repository = "https://github.com/huggingface/candle" [dependencies.accelerate-src] version = "0.3.2" optional = true [dependencies.byteorder] version = "1.4.3" [dependencies.candle-kernels] version = "0.3.0" optional = true [dependencies.cudarc] version = "0.9.14" features = ["f16"] optional = true [dependencies.gemm] version = "0.16.6" features = ["wasm-simd128-enable"] [dependencies.half] version = "2.3.1" features = [ "num-traits", "use-intrinsics", "rand_distr", ] [dependencies.intel-mkl-src] version = "0.8.1" features = ["mkl-static-lp64-iomp"] optional = true [dependencies.libc] version = "0.2.147" optional = true [dependencies.memmap2] version = "0.7.1" features = ["stable_deref_trait"] [dependencies.num-traits] version = "0.2.15" [dependencies.num_cpus] version = "1.15.0" [dependencies.rand] version = "0.8.5" [dependencies.rand_distr] version = "0.4.3" [dependencies.rayon] version = "1.7.0" [dependencies.safetensors] version = "0.3.1" [dependencies.thiserror] version = "1" [dependencies.yoke] version = "0.7.2" features = ["derive"] [dependencies.zip] version = "0.6.6" default-features = false [dev-dependencies.anyhow] version = "1" features = ["backtrace"] [dev-dependencies.clap] version = "4.2.4" features = ["derive"] [features] accelerate = [ "dep:libc", "dep:accelerate-src", ] cuda = [ "cudarc", "dep:candle-kernels", ] cudnn = [ "cuda", "cudarc/cudnn", ] default = [] mkl = [ "dep:libc", "dep:intel-mkl-src", ]