Skip to main content

validate_device

Function validate_device 

Source
pub fn validate_device(
    cfg: &Qwen35Config,
    device: Device,
    packed_weights: bool,
) -> Result<(), Error>
Expand description

Validate that device is in the workspace standard backend set (CPU, Metal, MLX, CUDA, ROCm, WGPU, Vulkan). Build with all-backends on rlx-qwen35 to link every native runtime backend into the rlx-qwen35 binary.