skip to content
==> program.toml <==
1# train: SGD of a cubic on sin(pi x) samples, lockstep with a peer
2# (layout: mesh_abi::v2::views::train; docs/plan-program-loading.md §3.8)
3name       = "train"
4abi        = 6
5view_bytes = 0x1000
6view_abi   = 1
7snap_bytes = 0xd00
8nodes      = 1
9policy     = "continuous"
10fanout     = 1
11arg        = "view_u32:0x1c"
12peer       = "lockstep"
13counters   = ["steps", "timeouts", "inits", ""]
14fields     = ["a:f32:0x0", "b:f32:0x4", "c:f32:0x8", "d:f32:0xc", "lr:f32:0x10", "steps_per_task:u32:0x14", "next_step:u32:0x1c", "step_hi:u32:0x2c", "err:u32:0x20", "pending:u32:0x24"]
15autostart  = true
16backends   = ["cuda", "metal", "wasm"]