Cargo Features

[dependencies]
burn-tensor = { version = "0.21.0-pre.3", default-features = false, features = ["std", "tracing", "distributed", "cubecl", "cubecl-cuda", "cubecl-hip", "cubecl-wgpu", "cubecl-cpu", "doc"] }
default doc? = std

The std feature is set by default whenever burn-tensor is added without default-features = false somewhere in the dependency tree.

std default distributed? = colored

Enables std of burn-backend, burn-std, and num-traits

tracing

Enables tracing of burn-backend and burn-std

distributed = std

Enables distributed of burn-backend

cubecl

Enables cubecl of burn-backend and burn-std

cubecl-cuda

Enables cubecl-cuda of burn-backend

cubecl-hip

Enables cubecl-hip of burn-backend

cubecl-wgpu

Enables cubecl-wgpu of burn-backend

cubecl-cpu

Enables cubecl-cpu of burn-backend

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.

colored std