Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 451 Bytes

README.md

File metadata and controls

23 lines (18 loc) · 451 Bytes

Weights & Biases for Rust

Simple run creation & logging implemented!

let wandb = WandB::new(BackendOptions::new(api_key));

let run = wandb
    .new_run(
        RunInfo::new("wandb-rs")
            .entity("nous_research")
            .name("node-25")
            .build()?,
    )
    .await?;

for i in 0..100 {
    run.log((("_step", i), ("loss", 1.0 / (i as f64).sqrt())))
        .await;
}

see examples/test.rs for an example :)