Skip to main content

GemmaConfigSource

Type Alias GemmaConfigSource 

Source
pub type GemmaConfigSource = ConfigSource<GemmaConfig>;
Expand description

Where to load the Gemma config from. Alias of the shared rlx_runtime::ConfigSource<T> — same Embedded | JsonFile | Explicit(T) shape as the other family *ConfigSource enums.

Aliased Type§

pub enum GemmaConfigSource {
    Embedded,
    JsonFile(PathBuf),
    Explicit(GemmaConfig),
}

Variants§

§

Embedded

Read from GGUF metadata.

§

JsonFile(PathBuf)

Read from a HuggingFace config.json at this path.

§

Explicit(GemmaConfig)

Use the supplied config object directly.