Some checks failed
wai-det-jpegai WAISM float-level module of record / does this change touch it (push) Successful in 25s
repository checks / lockfiles, advisories, tests in CI, workflow hygiene, spec and section references, public text (push) Has been cancelled
WAI breaking changes and the conformance runner / WAI breaking · does this change touch WAI (push) Successful in 8s
WAI breaking changes and the conformance runner / WAI breaking · wire, record and API against main · linux (push) Successful in 50s
WAI breaking changes and the conformance runner / WAI breaking and conform · their tests, and the independent verifiers through wai conform · linux (push) Successful in 7m10s
wai-det-jpegai WAISM float-level module of record / linux · both checkers, F1, F2 on wasmtime (Cranelift, Winch, Pulley) and Wasmi, the planted faults (push) Successful in 13m54s
wai-det-jpegai WAISM float-level module of record / linux-arm64 · both checkers, F1, F2 on wasmtime (Cranelift, Winch, Pulley) and Wasmi, the planted faults (push) Failing after 14m33s
One WebAssembly module with the interface of waism §5 and nothing else, decoding
wai.image.jpegai through wai-rs's exact decoder, the integer weight bundle arriving as the set
(the file sequence of norm.json and weights/*.json). Refusals are the capability's codes; a
codestream outside the decoder's configuration traps. Both checkers hold it at the float level
and refuse it R3 at the integer level. record/ keeps the module of record, built on Linux
x86_64 over main at 373fe3594 and named by its SHA-256 (53d54e58…, 666,425 bytes).
corpus.json, written by corpus.py from committed files: the reference codestream over the
pinned jpegai/v1 bundle, to the native exact decoder's pinned RGB8 (dbc494a5…), and three
refusal fixtures. host/ runs the probe on each engine first, in the same process (§6 check 10),
then every case on an instance of its own: wasmtime 50.0.1 with Cranelift, Winch and Pulley,
each with its NaN canonicalisation on and off, and Wasmi 2.0.0 built with `deterministic`.
What ran (rb, slot limiter):
- Linux x86_64 (Framework): F1 holds, the probe's bytes on the four engines with the NaN rule
set and other bytes on the three without it; the planted probe fails F1. F2: the module of
record gives every case the corpus's on all four engines, one run digest c7025bbc….
- Linux arm64 (Thor): build.sh with both checkers; F1 holds and the planted probe fails it; F2
on the module of record and on this host's own build (ffb2c94f…, other bytes): eight runs,
the same run digest. module-check.sh in full passes.
- The planted decoder (feature planted-nan-branch) gives the pinned RGB8 on the four engines
the probe holds, another output on the three with the rule unset run past the probe, and the
probe refuses those engines first (module_probe_mismatch), on both hosts.
- wai registry export --check, wai ops export --check and wai breaking against main: clean.
module-check.sh holds record/ to its manifest and both verdicts; wai-det-jpegai.yml runs the
build, F1, F2 and the planted faults on linux and linux-arm64.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
39 lines
1.5 KiB
TOML
39 lines
1.5 KiB
TOML
# The JPEG AI exact decoder as a module of WAISM's float level (`extensions/waism.md`,
|
|
# `waism/1-det`): one WebAssembly module, the ABI of waism §5 and nothing else, that decodes
|
|
# `wai.image.jpegai` through `wai-rs`'s exact decoder, the integer weight bundle arriving as
|
|
# the capability's parameter set. Floating point is in it, so it holds a tier only on an
|
|
# engine set to the deterministic profile's NaN rule, shown by the probe of waism §9.3.
|
|
#
|
|
# Built for `wasm32-unknown-unknown` by `build.sh`. Both checkers of the profile
|
|
# (`../wai-module-check`) must hold it at the float level and refuse it at the integer level
|
|
# by R3, and `record/` keeps the module of record.
|
|
[package]
|
|
name = "wai-det-jpegai"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
license = "Apache-2.0"
|
|
publish = false
|
|
|
|
[lib]
|
|
crate-type = ["cdylib"]
|
|
path = "src/lib.rs"
|
|
|
|
[features]
|
|
# The planted fault (README, *The planted faults*): a branch on a NaN's sign after the
|
|
# decode. Never in a module of record.
|
|
planted-nan-branch = []
|
|
|
|
[dependencies]
|
|
# The exact decoder and nothing else of the crate: no ONNX runtime, no filesystem.
|
|
wai = { path = "../wai-rs", default-features = false, features = ["neural_int"] }
|
|
# The names of the bundle's network members, in the order the loader takes them.
|
|
wai-ops = { path = "../wai-ops" }
|
|
# The eICCI net and the float tables of `norm.json`, read as the native sink reads them.
|
|
serde_json = "1"
|
|
|
|
[profile.release]
|
|
debug = false
|
|
# One codegen unit and fat LTO: the linker keeps only what the six exports reach.
|
|
codegen-units = 1
|
|
lto = "fat"
|
|
panic = "abort"
|