Cargo Features
[dependencies]
burn-tensor = { version = "0.15.0", default-features = false, features = ["std", "experimental-named-tensor", "export_tests", "repr", "cubecl", "cubecl-wgpu", "cubecl-cuda", "cubecl-hip", "doc"] }
- default doc? = repr, std
-
These default features are set whenever
burn-tensor
is added without
somewhere in the dependency tree.default-features = false - std default = colored
-
Enables rayon and std of burn-common and std of half, num-traits, and rand
rand:
Default enables std
- experimental-named-tensor
- export_tests = burn-tensor-testgen
- repr default
-
Affects
burn-tensor::repr
… - cubecl cubecl-cuda? cubecl-hip? cubecl-wgpu?
-
Enables cubecl
- cubecl-wgpu = cubecl
- cubecl-cuda = cubecl
-
cubecl:
Runtimes
- cubecl-hip = cubecl
- 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.