Skip to main content

rbp_autotrain/
lib.rs

1//! Automated training pipeline orchestration.
2//!
3//! This module manages the complete training workflow, from checking database
4//! state through clustering and blueprint generation. Supports both single-machine
5//! and distributed training modes.
6//!
7//! ## Pipeline Stages
8//!
9//! 1. **Pretraining** — Generate abstractions via hierarchical clustering
10//! 2. **Fast mode** — Single-machine MCCFR with in-memory profile
11//! 3. **Slow mode** — Distributed workers with PostgreSQL synchronization
12//!
13//! ## Core Types
14//!
15//! - [`Trainer`] — Main entry point for training orchestration
16//! - [`Mode`] — Training configuration (fast vs slow, clustering vs blueprint)
17//!
18//! ## Submodules
19//!
20//! - [`workers`] — Distributed training workers for MCCFR
21mod epoch;
22mod fast;
23mod mode;
24mod pretraining;
25mod slow;
26mod trainer;
27
28pub mod workers;
29
30pub use epoch::*;
31pub use fast::*;
32pub use mode::*;
33pub use pretraining::*;
34pub use slow::*;
35pub use trainer::*;
36pub use workers::*;