Cargo Features
[dependencies]
burn-cubecl = { version = "0.17.0", default-features = false, features = ["std", "autotune", "export_tests", "fusion", "fusion-experimental", "template", "doc"] }
- default doc? = autotune, fusion, std
-
These default features are set whenever
burn-cubecl
is added without
somewhere in the dependency tree.default-features = false Enables cubecl
- std default
-
Enables std of burn-tensor and cubecl
- autotune default
-
Affects
tune::autotune_sum
… - export_tests = burn-ndarray, burn-tensor-testgen, fusion, paste, serial_test
-
Enables autotune-checks of burn-cubecl-fusion, export_tests of burn-tensor, autotune-checks of cubecl and export_tests of burn-autodiff
When exporting tests
Affects
burn-cubecl::tests
… - fusion default export_tests? fusion-experimental? = burn-cubecl-fusion, burn-fusion
- fusion-experimental = fusion
- template
-
Affects
burn-cubecl::template
… - doc = default
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.