Elffuss BraidHub

kikocis/coco public

2d5dfd774425 · 897 BRawPermalink
1// coco-engine library seam.
2//
3// `main.rs` is the `coco` generate/bench bin (unchanged). This `lib.rs` exposes the
4// engine's internals so sibling bins (e.g. `coco-evomerge`) can reuse coco's model
5// loading + generation without duplicating the forward. The modules below are the
6// SAME sources compiled by the bin; nothing here changes their behavior.
7//
8// Step-1 evolutionary-merge additions: `merge` (CPU f32 parent lerp → runnable Model)
9// and `eval` (GSM8K + ARC-Easy fitness harness). Both are library-only — the `coco`
10// bin never touches them.
11
12pub mod config;
13pub mod eval;
14pub mod merge;
15pub mod model;
16pub mod qlinear;
17pub mod qwen2_legacy;
18pub mod qwen2_q;
19pub mod turboquant;
20
21// The stable surface the merge/eval lanes (and the evomerge bin) build on.
22pub use config::{Arch, CocoConfig};
23pub use model::{build_model, Model};
24pub use qwen2_q::{WeightSource, WeightStats};