# 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-optimisers" version = "0.8.0" build = false exclude = ["*.ipynb"] autobins = false autoexamples = false autotests = false autobenches = false description = "Optimisers for use with candle, the minimalist ML framework" readme = "README.md" keywords = [ "optimisers", "candle", "tensor", "machine-learning", ] categories = ["science"] license = "MIT" repository = "https://github.com/KGrewal1/optimisers" [package.metadata.docs.rs] rustdoc-args = [ "--html-in-header", "./katex-header.html", ] [profile.bench] lto = true [lib] name = "candle_optimisers" path = "src/lib.rs" [[example]] name = "mnist" path = "examples/mnist/main.rs" [[test]] name = "adadelta_tests" path = "tests/adadelta_tests.rs" [[test]] name = "adagrad_tests" path = "tests/adagrad_tests.rs" [[test]] name = "adam_tests" path = "tests/adam_tests.rs" [[test]] name = "adamax_tests" path = "tests/adamax_tests.rs" [[test]] name = "esgd_tests" path = "tests/esgd_tests.rs" [[test]] name = "lbfgs_tests" path = "tests/lbfgs_tests.rs" [[test]] name = "nadam_tests" path = "tests/nadam_tests.rs" [[test]] name = "radam-tests" path = "tests/radam-tests.rs" [[test]] name = "rmsprop-tests" path = "tests/rmsprop-tests.rs" [[bench]] name = "mnist_bench" path = "benches/mnist_bench.rs" harness = false [[bench]] name = "training" path = "benches/training.rs" [dependencies.candle-core] version = "0.8.0" [dependencies.candle-nn] version = "0.8.0" [dependencies.log] version = "0.4.20" [dev-dependencies.anyhow] version = "1" features = ["backtrace"] [dev-dependencies.assert_approx_eq] version = "1.1.0" [dev-dependencies.candle-datasets] version = "0.8.0" [dev-dependencies.clap] version = "4.4.6" features = ["derive"] [dev-dependencies.criterion] version = "0.5.1" features = ["html_reports"] [features] cuda = [ "candle-core/cuda", "candle-nn/cuda", ] default = [] [lints.clippy] imprecise_flops = "warn" [lints.clippy.cargo] level = "warn" priority = -1 [lints.clippy.complexity] level = "warn" priority = -1 [lints.clippy.doc_markdown] level = "allow" priority = 1 [lints.clippy.float_cmp] level = "allow" priority = 1 [lints.clippy.missing_errors_doc] level = "allow" priority = 1 [lints.clippy.multiple_crate_versions] level = "allow" priority = 1 [lints.clippy.pedantic] level = "warn" priority = -1 [lints.clippy.perf] level = "warn" priority = -1 [lints.clippy.similar_names] level = "allow" priority = 1 [lints.clippy.style] level = "warn" priority = -1 [lints.clippy.suspicious] level = "warn" priority = -1 [lints.clippy.uninlined_format_args] level = "allow" priority = 1