burn-optim 0.20.1

Optimizer building blocks for the Burn deep learning framework
Documentation
# 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 = "2024"
name = "burn-optim"
version = "0.20.1"
authors = ["nathanielsimard <nathaniel.simard.42@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Optimizer building blocks for the Burn deep learning framework"
documentation = "https://docs.rs/burn-optim"
readme = "README.md"
keywords = [
    "deep-learning",
    "machine-learning",
    "tensor",
    "pytorch",
    "ndarray",
]
categories = [
    "science",
    "no-std",
    "embedded",
    "wasm",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/tracel-ai/burn/tree/main/crates/burn-optim"
resolver = "2"

[package.metadata.docs.rs]
features = ["doc"]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
collective = ["burn-collective"]
default = [
    "std",
    "burn-core/default",
]
doc = [
    "std",
    "burn-core/doc",
]
std = [
    "burn-core/std",
    "num-traits/std",
    "serde/std",
    "log",
]
test-cuda = ["burn-cuda/default"]
test-memory-checks = ["burn-fusion/memory-checks"]
test-metal = [
    "test-wgpu",
    "burn-wgpu/metal",
]
test-rocm = ["burn-rocm/default"]
test-tch = ["burn-tch/default"]
test-vulkan = [
    "test-wgpu",
    "burn-wgpu/vulkan",
]
test-wgpu = ["burn-wgpu/default"]
tracing = [
    "burn-collective?/tracing",
    "burn-core/tracing",
    "burn-cuda?/tracing",
    "burn-fusion?/tracing",
    "burn-remote?/tracing",
    "burn-rocm?/tracing",
    "burn-router?/tracing",
    "burn-tch?/tracing",
    "burn-wgpu?/tracing",
]

[lib]
name = "burn_optim"
path = "src/lib.rs"

[dependencies.burn-collective]
version = "0.20.1"
optional = true
default-features = false

[dependencies.burn-core]
version = "0.20.1"
default-features = false

[dependencies.burn-cuda]
version = "0.20.1"
optional = true
default-features = false

[dependencies.burn-fusion]
version = "0.20.1"
optional = true

[dependencies.burn-remote]
version = "0.20.1"
optional = true
default-features = false

[dependencies.burn-rocm]
version = "0.20.1"
optional = true
default-features = false

[dependencies.burn-router]
version = "0.20.1"
optional = true
default-features = false

[dependencies.burn-tch]
version = "0.20.1"
optional = true

[dependencies.burn-wgpu]
version = "0.20.1"
optional = true
default-features = false

[dependencies.derive-new]
version = "0.7.0"
default-features = false

[dependencies.hashbrown]
version = "0.16"
features = ["serde"]

[dependencies.log]
version = "0.4.29"
optional = true
default-features = false

[dependencies.num-traits]
version = "0.2.19"
features = ["libm"]
default-features = false

[dependencies.serde]
version = "1.0.228"
features = [
    "derive",
    "alloc",
    "derive",
]
default-features = false

[dev-dependencies.burn-autodiff]
version = "0.20.1"

[dev-dependencies.burn-ndarray]
version = "0.20.1"

[dev-dependencies.burn-nn]
version = "0.20.1"

[dev-dependencies.rstest]
version = "0.26.1"

[lints.clippy]

[lints.rustdoc]
broken_intra_doc_links = "deny"
invalid_html_tags = "deny"