Cargo Features
[dependencies]
burn = { version = "0.15.0", default-features = false, features = ["std", "doc", "train", "tui", "metrics", "dataset", "sqlite", "sqlite-bundled", "vision", "autodiff", "fusion", "accelerate", "autotune", "blas-netlib", "candle-cuda", "metal", "openblas", "openblas-system", "template", "candle", "cuda-jit", "hip-jit", "ndarray", "tch", "wgpu", "wgpu-spirv", "network", "experimental-named-tensor", "record-backward-compat", "record-item-custom-serde"] }
- 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, train
-
Enables doc of burn-core and burn-train
- train doc? = 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
- accelerate
-
Backend features
Enables accelerate of burn-core
- autotune
- blas-netlib
-
Enables blas-netlib of burn-core
- candle-cuda
-
Enables candle-cuda of burn-core
- metal
- openblas
- openblas-system
-
Enables openblas-system of burn-core
- template
- candle
- cuda-jit
- hip-jit
- ndarray
- tch
- wgpu
- wgpu-spirv
-
Enables wgpu-spirv of burn-core
- network
-
Network utils
- experimental-named-tensor
-
Experimental
Enables experimental-named-tensor of burn-core
- record-backward-compat
-
Records
Enables record-backward-compat of burn-core
- record-item-custom-serde
-
Enables record-item-custom-serde 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.