Cargo Features
[dependencies]
burn = { version = "0.14.0", default-features = false, features = ["std", "doc", "train", "tui", "metrics", "dataset", "sqlite", "sqlite-bundled", "vision", "autodiff", "fusion", "candle-cuda", "metal", "accelerate", "openblas", "openblas-system", "blas-netlib", "autotune", "template", "ndarray", "wgpu", "cuda-jit", "tch", "candle", "network", "experimental-named-tensor", "record-item-custom-serde", "record-backward-compat"] }
- default doc? = std
-
These default features are set whenever
burn
is added without
somewhere in the dependency tree.default-features = false Enables burn-core and optional burn-train
burn-core:
** Please make sure all dependencies support no_std when std is disabled **
- std default
- doc = default
-
Enables doc of burn-core and burn-train
- train = autodiff, burn-train, dataset
-
Training with full features
Affects
burn::train
… - tui
-
Includes the Text UI (progress bars, metric plots)
Enables tui of optional burn-train
- metrics
-
Includes system info metrics (CPU/GPU usage, etc)
Enables metrics of optional burn-train
- dataset train?
-
Datasets
- sqlite
- sqlite-bundled
-
Enables sqlite-bundled of burn-core
- vision
- autodiff train?
-
Backends
- fusion
- candle-cuda
-
Backend features
Enables candle-cuda of burn-core
- metal
- accelerate
-
Enables accelerate of burn-core
- openblas
- openblas-system
-
Enables openblas-system of burn-core
- blas-netlib
-
Enables blas-netlib of burn-core
- autotune
- template
- ndarray
- wgpu
- cuda-jit
- tch
- candle
- network
-
Network utils
- experimental-named-tensor
-
Experimental
Enables experimental-named-tensor of burn-core
- record-item-custom-serde
-
Records
Enables record-item-custom-serde of burn-core
- record-backward-compat
-
Enables record-backward-compat of burn-core
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.