mistralrs::v0_4_api

Function best_device

source
pub fn best_device(force_cpu: bool) -> Result<Device>
Expand description

Gets the best device, cpu, cuda if compiled with CUDA, or Metal