open-standards/wai/wai-rs/examples
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Transaction Science 7c8e47fddc wai: learned integer-exact Gaussian-splat attribute codec (wai.splat.int_codec)
"The int_hyper of 3D" — extends conformance-is-a-hash to the last missing modality.
A Gaussian splat is N Gaussians × 14 attributes (pos[3], scale[3], rot[4], color[3],
opacity); the SOTA splat codecs (SOG / self-organizing Gaussians) decode through a
FLOAT network, so the reconstructed cloud — and its hash — drift between machines.
Here the synthesis is integer (the int_hyper machinery, 14 channels instead of RGB's
3) over a per-channel factorized-rANS latent, all i64 — so the decoded attribute
tensor is byte-identical on every machine (NeuralIntegerExact; splat-equivalence, a
portable cloud hash). The float rasterizer stays sink-supplied presentation; the
attributes are the conformance contract.

- src/int_splat.rs (feature splat_int = ["neural_int"]): factorized rANS-decode the
  per-channel latent (y_q = s·2^afrac + median_q) → integer synthesis g_s (reuses
  int_hyper_synth run_net) → [14,S,S] attribute tensor → round-half-up u8. Pure i64,
  wasm-ready, self-contained b64.
- tools/wai_int_splat_export.py: a synthetic structured Gaussian cloud → Morton-sorted
  [14,S,S] attribute image → learned transform codec (Conv2d+GDN / ConvTranspose2d+
  IGDN) → PTQ g_s to WHM1 → integer reference decode mirroring the Rust → attr hash.
  Reuses the int_hyper 2D integer ops + the world tool's WHM1/PTQ helpers.
- capability wai.splat.int_codec registered (Lossy tier, NeuralIntegerExact; nie set
  now {int_synth, int_hyper, video.int_hyper, audio.int_codec, splat.int_codec}).
  SPEC row added.
- tests/int_splat.rs never-skips: the committed tiny vector (1024 gaussians × 14
  attrs) decodes to the committed attr_hash 5a94ebc9f0399a35. Rust == Python.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
2026-06-28 09:14:46 -04:00
..
c Add WAI — Web AI Media Transport & Execution standard 2026-05-24 13:36:51 -04:00
dl_check.rs Add WAI — Web AI Media Transport & Execution standard 2026-05-24 13:36:51 -04:00
gen_preview.rs wai: generative-replicate — deterministic byte-exact GENERATION (wai.generate.spectral) 2026-06-25 18:48:21 -04:00
int_audio_decode.rs wai: learned integer-exact audio codec (wai.audio.int_codec) + conformance 2026-06-27 17:01:31 -04:00
int_hyper_decode_frame.rs wai.video.int_hyper at SOTA scale: real 256x256 neural-keyframe video 2026-06-27 08:08:21 -04:00
int_splat_decode.rs wai: learned integer-exact Gaussian-splat attribute codec (wai.splat.int_codec) 2026-06-28 09:14:46 -04:00
int_world_decode.rs wai: integer-exact interactive world model — the byte-exact renderer for wai.world.model 2026-06-27 18:34:30 -04:00
jpeg_test.rs Add WAI — Web AI Media Transport & Execution standard 2026-05-24 13:36:51 -04:00
opus_check.rs Add WAI — Web AI Media Transport & Execution standard 2026-05-24 13:36:51 -04:00