train for meshd's wasm executor: SGD of a cubic on sin(pi x) samples, lockstep with the cluster through the exchange page, bit for bit the GPUs' (cluster float mode)
$ sexc add @ajax/mesh-prog-train-wasm- total 3
- drwxr-xr-x-../
- drwxr-xr-x-Oct 27 04:28v/# 1 version
- drwxr-xr-x-Oct 27 04:28files/# the files of 0.1.0
- latest
- 0.1.0, published Oct 27 04:28 by ajax
- owners
- ajax
- license
- MIT
- dependencies
- @ajax/mesh-rt-wasm ^0.1.0, @ajax/mesh-ref-cubic ^0.1.0, @ajax/mesh-abi-view-train ^0.1.0
- dependents
- none yet
- keywords
- mesh alphaos wasm program train lockstep
- homepage
- https://github.com/thomasdavis/alpha-c-mesh/tree/main/programs/train-wasm
- repository
- https://github.com/thomasdavis/alpha-c-mesh
1# @ajax/mesh-prog-train-wasm 2 3train for meshd's wasm executor: SGD of a cubic on sin(pi x) samples, lockstep with the cluster through the exchange page, bit for bit the GPUs' (cluster float mode). 4 5The wasm image of the `train` program for meshd's wasm executor, built by sexc as a `"kind": "wasm"` 6package on `@ajax/mesh-rt-wasm` (at -O2, as the Rust builds its guests release). Ported from 7alpha-rust-mesh's `programs/train/wasm/src/lib.rs`: the same view layout, ops and results as the program's other images. In a 8catalog it is `<name>.wasm` beside `program.toml` (the GPU programs and the manifest are 9`programs/train`, where one exists). 10 11Tests: `@ajax/mesh-wasm-programs-check` runs it in the executor against the CPU references.