kopitiam-runtime 0.2.2

Kopitiam Runtime: the Qwen transformer forward pass (embedding, RoPE, grouped-query attention, SwiGLU MLP, KV cache, greedy sampling) running entirely in Rust on CPU.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Test-only helpers shared by every module's `#[cfg(test)]` unit tests.
//!
//! This module is `#[cfg(test)]`-gated in [`crate`] (see `lib.rs`), so none
//! of it exists in a release build. It exists because several modules
//! (`bridge`, `weights`, `model`, `kv_cache`) all need the same thing: a
//! real, on-disk GGUF file small enough to build in-process and cheap
//! enough to parse in a unit test, exercising the *actual*
//! `kopitiam_loader::load_model` parse path rather than a hand-built
//! `LoadedModel` (which cannot be constructed outside `kopitiam-loader`
//! anyway — its fields are private).

pub(crate) mod synthetic_gguf;