ferrotherm 0.18.0

Thermodynamic computing in pure Rust: sparse energy-based models, chromatic block-Gibbs, parallel tempering, thermodynamic linear algebra, stochastic differentiable programs, a variational compiler onto device topologies, exact inference by variable elimination, planted instances with known optima, sampler certificates, and a first-class joules ledger. std-only, zero dependencies, wasm-clean, deterministic by seed.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Run the conformance suite on ourselves, and print the result unedited.
//!
//! A conformance suite whose author exempts themselves is worthless.
fn main() {
    let r = ferrotherm::conform::run(&mut ferrotherm::fabric::Cpu::default());
    println!("{r}\n");
    for c in &r.cases {
        println!("  {:<22} asks: {}", c.name, c.asks);
    }
    if !r.passed() {
        println!("\nWE FAIL OUR OWN SUITE. That is published as-is.");
    }
}