open-standards/wai/tools/dcvc-drift/Cargo.toml
Transaction Science 9413f5cf19 Each desync event is read alone: two lose the stream, and one costs a symbol and stays
The drift page said an event loses its frame and every later one. Forcing each event's one
bucket on the sink's route, read against that fabric's own run, shows that holds for the two
events that lose the coder's state, at 7.3 and 7.4 dB, and not for the one that costs a single
symbol: read alone it moves no sample by more than 1, stays at or above 64.4 dB, and never
leaves the stream. Sections 4.5 and 5 now say so, with every figure marked into
readings/gop/events.json.

dcvc-drift gains --force and an event subcommand, and record refuses a forced run. record no
longer needs the encoder's reference: the baseline's frames, rounded half to even, must carry
the digests in fixture.json. The webgpu build gets a search path to the provider's library.

verify.py holds each latent to its symbols, so an event erased with its bucket is refused, and
holds a forced run to the event it repeats and to the run it is read against. Section 7 states
which fields it recomputes, which it takes from a reading and which it can only hold together.

The change note now says what ran: only the two sink's-route fabrics went through
decode_envelope; the other five ran in the loop alone.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-07 03:34:51 -05:00

31 lines
1.2 KiB
TOML

# Drift and desync of the float inter-frame decoder `wai.neural.dcvc_rt`, per frame and per
# fabric: research/dcvc-drift.md is the record this tool writes.
#
# A SEPARATE crate with its own lockfile, as ops-gpu-bench and quantum-meter are: it reads
# the decoder's entropy stage from outside, so nothing here compiles in wai-rs's own builds
# or tests.
[package]
name = "dcvc-drift"
version = "0.0.0"
edition = "2024"
license = "Apache-2.0"
publish = false
[dependencies]
wai = { path = "../../wai-rs", default-features = false, features = ["neural"] }
# The version wai-rs's lockfile holds, so this tool and the decoder it measures link one
# runtime.
ort = { version = "=2.0.0-rc.13", default-features = false, features = ["std", "download-binaries", "ndarray", "tls-rustls"] }
ndarray = "0.17"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
sha2 = "0.10"
[features]
# A GPU through the runtime's WebGPU provider. The default build has its CPU provider only.
# That provider's library is a shared one: copy-dylibs links it beside the binary, and build.rs
# gives the binary a search path to that directory.
webgpu = ["ort/webgpu", "ort/copy-dylibs"]
[profile.release]
debug = false