Cargo Features

diffusion_rs_common has no features set by default.

[dependencies]
diffusion_rs_common = { version = "0.1.0", features = ["cuda", "cudnn", "mkl", "accelerate", "metal"] }
cuda cudnn? = cudarc

Enables bindgen_cuda, ug-cuda ^0.0.2, cuda of float8

Affects core::cuda_backend, quantized::cuda, diffusion_rs_common::cuda_kernels, ops::kvconcat

cudnn = cuda

Enables cudnn of cudarc ^0.12.1

Affects cuda_backend::cudnn

mkl

Enables intel-mkl-src and libc

accelerate

Enables accelerate-src and libc

metal

Enables metal ^0.27.0 and ug-metal ^0.0.2

Affects core::metal_backend, quantized::metal, diffusion_rs_common::metal_kernels

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.

cudarc cuda? cudnn?

Enables cudarc ^0.12.1