zsfm_burn/lib.rs
1//! Burn-backend inference.
2//!
3//! Shared Burn tensor ops (linear, norm, attention, RoPE), direct GGUF
4//! weight loading via [`GgufWeights`], and op microbenchmarks. No model
5//! weights needed for the op checks: they use fixed synthetic inputs so
6//! they run offline in CI.
7//!
8//! Every measurement lands in `benchmark/burn_migration.md`.
9
10pub mod attn;
11pub mod bench;
12pub mod gguf_weights;
13pub mod linear;
14pub mod norm;
15pub mod rope;
16
17pub use bench::{bench_op, max_abs_err, OpMeasurement};
18pub use gguf_weights::{open_gguf_weights, GgufWeights};