Cargo Features
[dependencies]
burn-vision = { version = "0.17.0", default-features = false, features = ["std", "candle", "cubecl-backend", "export-tests", "fusion", "ndarray", "tch", "test-cpu", "test-cuda", "test-vulkan", "test-wgpu"] }
- default = cubecl-backend, export-tests, fusion, ndarray, std
-
These default features are set whenever
burn-vision
is added without
somewhere in the dependency tree.default-features = false - std default
- candle = burn-candle
- cubecl-backend default test-cuda? test-vulkan? test-wgpu? = burn-cubecl, cubecl
- export-tests default test-cpu? test-cuda? test-vulkan? test-wgpu? = burn-tensor-testgen, image
-
Affects
burn-vision::tests
… - fusion dev default = burn-fusion
- ndarray default = burn-ndarray
- tch = burn-tch
- test-cpu = export-tests
-
Test features
- test-cuda = cubecl-backend, export-tests
- test-vulkan dev = cubecl-backend, export-tests
-
burn-wgpu:
Backends
- test-wgpu = cubecl-backend, export-tests
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.