Skip to main content

ProviderType

Type Alias ProviderType 

Source
pub type ProviderType = ProviderId;
Expand description

Alias for provider types (same as ProviderId)

Aliased Type§

pub enum ProviderType {
    CPU,
    GPU,
    WebAssembly,
    BitNet,
    Custom(u32),
}

Variants§

§

CPU

CPU execution provider with SIMD optimizations.

§

GPU

GPU execution provider using Candle.

§

WebAssembly

WebAssembly execution provider for browser deployment.

§

BitNet

BitNet specialized provider for 1-bit quantized models.

§

Custom(u32)

Custom hardware provider.