Cargo Features

burn-compute = { version = "0.12.1", default-features = false, features = ["std", "channel-cell", "channel-mpsc", "storage-bytes", "autotune-persistent-cache"] }
default = autotune-persistent-cache, channel-cell, channel-mpsc, channel-mutex, std, storage-bytes

These default features are set whenever burn-compute is added without default-features = false somewhere in the dependency tree.

std default

Enables std of burn-common

channel-mutex channel-cell default
channel-mpsc default

Assume std

storage-bytes default
autotune-persistent-cache default = dirs, md5, serde, serde_json

Assume std

Affects operation::compute_checksum, operation::AutotuneOperationSet.compute_checksum, operation::AutotuneKey, tune_cache::get_persistent_cache_file_path

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

dirs autotune-persistent-cache
serde autotune-persistent-cache
serde_json autotune-persistent-cache
md5 autotune-persistent-cache