Book contents +

V · Systems / CHAPTER 36

systems/tanhi — TANHI · UDP HUD

Samuel Watson · Welvet feature bookOriginal source ↗

github.com/openfluke/welvet/systems/tanhi


Why it exists

Training visualization must never block the engine — best-effort UDP JSON-lines to a HUD.

What it is

TANHI = Tensor Activation Network Holographic Interface. Sparse non-blocking JSON-line UDP events for per-layer forward/backward HUD visualization (timing, dtypes, shapes, routing links, parallel branches/combine). v1.1.1: grid BP, cameral stack/parallel train (all mode families), step mesh; ConfigureGrid, SetTanhi, topology bridge. ConfigFromGrid, Emit/EmitSweep, DefaultUDPPort (17481). SoulGlitch-style consumers.

Go example

examples/36-tanhi/main.go

Run:cd welvet/examples/36-tanhi && source ../env.sh && go run .
package main

import (
	"github.com/openfluke/welvet/architecture"
	"github.com/openfluke/welvet/systems/tanhi"
)

func main() {
	g := architecture.NewGrid(1, 1, 1, 1)
	cfg := tanhi.ConfigFromGrid(g)
	tanhi.EmitSweep(cfg, "epoch-0") // non-blocking best-effort
}

Output

exit 0 · last run via go run .

(no output)