Cargo Features

[dependencies]
burn-backend = { version = "0.20.1", default-features = false, features = ["std", "tracing", "cubecl", "cubecl-cuda", "cubecl-hip", "cubecl-wgpu", "cubecl-cpu", "doc"] }
default doc? = std

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

std default

Enables std of burn-std, optional cubecl, num-traits, and rand ^0.9.2

rand:

Option (enabled by default): without "std" rand uses libcore; this option enables functionality expected to be available on a standard platform.

tracing

Enables tracing of burn-std and cubecl

cubecl cubecl-cpu? cubecl-cuda? cubecl-hip? cubecl-wgpu? tracing?

Enables cubecl, cubecl of burn-std

cubecl-cuda = cubecl

Enables cuda of cubecl

cubecl-hip = cubecl

Enables hip of cubecl

cubecl-wgpu = cubecl

Enables wgpu of cubecl

cubecl-cpu = cubecl

Enables cpu of cubecl

cubecl:

Runtimes

doc = default

burn-backend has 9 features without comments.