rlx-gemma 0.2.0

Gemma / Gemma 2 causal LMs for RLX
Documentation
// RLX — versatile ML compiler + runtime.
// Copyright (C) 2026 Eugene Hauptmann, Nataliya Kosmyna.
//
// Gemma / Gemma 2 / Gemma 3 / Gemma 4 causal LMs for RLX.

pub mod builder;
pub mod capabilities;
pub mod cli;
pub mod config;
pub mod flow;
pub mod generator;
pub mod rope;
pub mod runner;

pub use builder::{
    build_gemma_decode_graph_sized, build_gemma_decode_graph_sized_ext,
    build_gemma_decode_hir_dynamic_ext, build_gemma_decode_hir_sized,
    build_gemma_decode_hir_sized_ext, build_gemma_graph_sized, build_gemma_graph_sized_last_logits,
    build_gemma_graph_sized_packed, build_gemma_prefill_hir_dynamic_ext,
};
pub use config::{GemmaArch, GemmaConfig, gemma_cfg_from_gguf};
pub use flow::{
    GEMMA_PROFILE_FILE, GemmaDecodeOpts, GemmaFlow, GemmaMode, GemmaPrefillOpts,
    build_gemma_decode_built, build_gemma_decode_flow, build_gemma_decode_graph,
    build_gemma_prefill_built, build_gemma_prefill_flow, gemma_profile_near_weights,
};
pub use generator::{GemmaGenerator, decode_profile_for_device};
pub use rlx_qwen35::{encode_prompt, encode_prompt_auto, resolve_tokenizer_path};
pub use runner::{GemmaConfigSource, GemmaRunner, GemmaRunnerBuilder};

#[cfg(feature = "parity-llama")]
pub use rlx_qwen35::llama_oracle;