Six literal .cu ports get a pure admission/geometry module (every entry signature is cross-checked against the .cu text), a Linux-gated driver facade, #[ignore]d GPU smokes and zero-pin placeholder PTX. All modes are off by default; KAR's closed-launch ABI is widened to 24 arguments with a 64-bit scalar. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
29 lines
1.3 KiB
Rust
29 lines
1.3 KiB
Rust
//! CPU references, cell layouts and planners for the *experimental* modes of the Original Strata engine
|
|
//! (`engine/strata`), in safe Rust. Every mode here is lossy or otherwise unqualified and is therefore OFF by
|
|
//! default; callers must name the mode explicitly (see `leleka-cuda-driver::experimental`).
|
|
//!
|
|
//! * [`f16`], [`fwht`], [`q4_0`], [`kv_q8`] - the arithmetic of `f16_bits.hpp`, `kv_q4.cu`, `kv_q8.cu`.
|
|
//! * [`layout`] - KV cache cell layouts and byte sizes of every KV format (fp16, INT8, rotated INT8, Q4_0,
|
|
//! K8V4, INT8 keyless / V-only).
|
|
//! * [`keyless`] - query-routing matrices, the `SKLROUT1` artifact, positional V-only attention.
|
|
//! * [`cvec`] - control-vector GGUF parsing and application (project / add).
|
|
//! * [`kv_stream`] - the KV streaming planner and the CLOCK residency resolver.
|
|
//! * [`remote_experts`] - the second-GPU expert tier's planner, dispatcher and result scatter.
|
|
//!
|
|
//! Nothing here claims a speed or model-quality result.
|
|
|
|
// Literal ports keep the Original's loop and reborrow shapes (host-pool reborrows, exact chunking by constant sizes).
|
|
#![allow(clippy::needless_option_as_deref, clippy::chunks_exact_to_as_chunks)]
|
|
|
|
pub mod attn;
|
|
pub mod cache;
|
|
pub mod cvec;
|
|
pub mod f16;
|
|
pub mod fwht;
|
|
pub mod keyless;
|
|
pub mod kv_q8;
|
|
pub mod kv_stream;
|
|
pub mod layout;
|
|
pub mod q4_0;
|
|
pub mod remote_experts;
|