The per-host scripts that took the readings (build host, two x86_64 hosts) go beside the record, with how each platform is tagged. The summary gains the integer decodes' total across platforms and the PSNR change of float decodes whose entropy decode diverged, in both the tool and its independent verifier; per-decode energy is stated in joules. wai_det_energy reads each accelerator client's GPU time per registry node. The conformance workflow's independent-verifiers job checks the record, the texts quoting it, and the decoder bin. Co-Authored-By: Claude Opus 5.5 <[email protected]>
11 lines
739 B
Shell
11 lines
739 B
Shell
# Build the three decoders on the build host: native CPU, native with GPU graphs, wasm32-wasip2.
|
|
set -euo pipefail
|
|
B=$RB_ROOT/det1/bin; mkdir -p $B
|
|
cd wai/wai-rs
|
|
cargo build --locked --release --no-default-features --features neural_int --bin wai_det_cost 2>&1 | tail -1
|
|
cp $CARGO_TARGET_DIR/release/wai_det_cost $B/wai_det_cost.native
|
|
cargo build --locked --release --no-default-features --features neural_int,ops_gpu --bin wai_det_cost 2>&1 | tail -1
|
|
cp $CARGO_TARGET_DIR/release/wai_det_cost $B/wai_det_cost.gpu
|
|
cargo build --locked --release --no-default-features --features neural_int --target wasm32-wasip2 --bin wai_det_cost 2>&1 | tail -1
|
|
cp $CARGO_TARGET_DIR/wasm32-wasip2/release/wai_det_cost.wasm $B/wai_det_cost.wasm
|
|
ls -la $B
|