# 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 = "rmistral" version = "0.1.0" authors = ["Evan Almloff"] description = "A simple interface for Mistral models " license = "MIT/Apache-2.0" repository = "https://github.com/floneum/floneum" [dependencies.accelerate-src] version = "0.3.2" optional = true [dependencies.anyhow] version = "1.0.75" [dependencies.async-trait] version = "0.1.73" [dependencies.candle-core] version = "0.3.1" [dependencies.candle-nn] version = "0.3.1" [dependencies.candle-transformers] version = "0.3.1" [dependencies.cudarc] version = "0.9.14" features = ["f16"] optional = true [dependencies.half] version = "2.3.1" features = [ "num-traits", "use-intrinsics", "rand_distr", ] optional = true [dependencies.hf-hub] version = "0.3.0" [dependencies.intel-mkl-src] version = "0.8.1" features = ["mkl-static-lp64-iomp"] optional = true [dependencies.kalosm-language-model] version = "0.1.0" [dependencies.kalosm-sample] version = "0.1.0" [dependencies.kalosm-streams] version = "0.1.0" [dependencies.llm-samplers] version = "=0.0.7" [dependencies.rand] version = "0.8.5" [dependencies.serde_json] version = "1.0.106" [dependencies.tokenizers] version = "0.13.4" [dependencies.tokio] version = "1.32.0" features = ["full"] [dependencies.tracing] version = "0.1.37" [features] accelerate = [ "dep:accelerate-src", "candle-core/accelerate", "candle-nn/accelerate", "candle-transformers/accelerate", ] cuda = [ "candle-core/cuda", "candle-nn/cuda", "candle-transformers/cuda", ] cudnn = ["candle-core/cudnn"] mkl = [ "dep:intel-mkl-src", "candle-core/mkl", "candle-nn/mkl", "candle-transformers/mkl", ] nccl = [ "cuda", "cudarc/nccl", "dep:half", ]