Automatic Speech Recognition
MLX
ONNX
GGUF
Rust
English
Chinese
audio8
streaming-asr
quantized
experimental
Run this model with HF Jobs
Run Reza2kn/Audio8-ASR-Infinite-Compressed on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Reza2kn/Audio8-ASR-Infinite-Compressed. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Reza2kn/Audio8-ASR-Infinite-Compressed on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use Reza2kn/Audio8-ASR-Infinite-Compressed with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use Reza2kn/Audio8-ASR-Infinite-Compressed with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download Reza2kn/Audio8-ASR-Infinite-Compressed --local-dir Audio8-ASR-Infinite-Compressed
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Publish complete experimental Audio8 Q4 model and runtimes
Browse filesExperimental release; accuracy, memory and latency limits are documented.
Release manifest SHA256: eba69a195d75757f9b14446cd7f58ff1f6e9374287c23f0a653b3909245ff480
Files changed (23)
- README.md+40-26
- SHA256SUMS+22-15
- bin/linux-x86_64/audio8-stream+2-2
- evaluation/native-cpu-is1000a-baseline-v1.jsonAdded+146
- evaluation/native-cpu-is1000a.json+76-133
- evaluation/native-cpu-prefix-phase-summary.jsonAdded+84
- evaluation/native-cpu-prefix-strict-verification.jsonAdded+36
- evaluation/native-portable-prefix-parity.jsonAdded+449
- evaluation/native-rebase-component.jsonAdded+171
- execution_profile.json+7-4
- native/src/bin/audio8-stream.rs+67-10
- native/src/bin/support/silero_stream.rs+45-4
- native/src/caption_stream.rs+52-1
- native/src/encoder_tiled_attention.rs+15-1
- native/src/encoder_tiled_attention_tests.rs+124
- native/src/encoder_tiled_attention_x86.rsAdded+59
- native/src/kv_rebase_x86.rsAdded+217
- native/src/kv_storage.rs+37-17
- provenance/native-build.json+36-36
- provenance/native-source-manifest.json+142-123
- release_manifest.json+168-39
- run-cpu-linux-x86_64.sh+9-4
- sources/native-caption-sources.tar.gz+2-2
38 unmodified lines394041424243444530 unmodified lines767778798081828384857980818283848589868788899293949596979091929394959697989910010110210310410510610710810911011111211311411511611711811910310410510612012112247 unmodified lines1701711721601731741621751761641771781791671801811821831848 unmodified lines1931941951821961971981998 unmodified lines2082092101972112122132145 unmodified lines22022122220922322422522638 unmodified lines| Full English diagnostic | Errors /478 words | Peak process RSS | Queue /latency result ||---|---:|---:|---|| Original BF16 CUDA, frozen silence resets |171 (35.77% WER)|Not compared|Unpaced quality control; no latency claim|| Native CPU BF16, batch1 |185 (38.70% WER)|2.431 GB|Non-EOF receipt queue **10.146s: sustained real-time failed**|| Native CPU BF16, batch1, offline prefix |185 (38.70% WER)|2.434 GB|Peak non-EOF queue **0.518s**; matched-word p95 **0.657s**; one match exceeds1s|| MLX F16/BF16, batch4 |186 (38.91% WER)|2.646 GB|Non-EOF queue0.337s; 13 labeled matches >1s; memory target exceeded|
See `evaluation/paired-quality.json` for exact aggregates, report hashes and30 unmodified lines
## Linux CPU
The supplied native executable is Linux x86_64 and requires GLIBC 2.35 or newer.Its tested BF16 route used an AMD Ryzen AI 9 HX 370 (12 physical/24 logical cores)on Linux7.0/glibc2.43, with eight selected physical cores and nice15. Other CPU families,instruction fallbacks, core counts and distributions have no equivalent speedclaim. The launcher chooses up to eight distinct physical cores within theinherited allowed mask; if topology is unavailable it preserves the mask andreports that fallback. It does not change other processes or system policy.The executable requires Linux x86_64 and GLIBC2.35 or newer. The new path usesfour-query encoder attention and exact BF16 cache-rebase acceleration. For thelowest measured startup delay, prepare the audio-independent cache once on themachine where inference will run, then pass it explicitly:
```shchmod +x bin/linux-x86_64/audio8-streamsh ./run-cpu-linux-x86_64.sh audio.f32le ensh ./run-cpu-linux-x86_64.sh --prepare-prefix en ./prefix-en.a8pfxsh ./run-cpu-linux-x86_64.sh audio.f32le en ./prefix-en.a8pfx```
Use `zh` for Chinese. The fixed profile is BF16 activation, BF16 cache, RT18/240,batch1, eight workers/four tasks. Do not invoke the raw binary without itsprecision flags: its legacy A8 default failed quality checks for this model.Python3 is required only by the Linux topology-selector launcher.
To rebuild, the exact native and tract sources and locks are included:Use `zh` and a separately prepared Chinese prefix for Chinese input. Preparationis a separate operation and does not read microphone audio. Prefixes are bound tothe executable, weights, frontend, CPU/OS, language and execution profile; preparea new file after any mismatch. Every silence reset checks the prefix again.The existing two-argument invocation remains supported, with slower speech-startprocessing. Arbitrary runtime flags are refused.
On Ryzen AI9 HX370, eight physical cores, Linux7.0/glibc2.43 and nice15, the full319.715s paced diagnostic preserved all2831 tokens. Mature-cache model work,including trims, took53.361s for55.2s of audio (RTF0.9667). Peak non-EOF backlogwas0.518s. Matched-word delay was0.484s median and0.657s p95; one matched unitexceeded1s and omissions remain errors. This is **not a universal one-secondlatency pass**. Process peakRSS was2.434GB. Model/prefix loading and separateprefix preparation are outside the warmed streaming interval; start live audioafter `caption_stream_ready`. The full timing used a host build from the samesource; the supplied GLIBC2.35 binary separately passed EN/ZH prefix parity.
The launcher selects eight distinct physical cores within its inherited allowedmask. If topology is unavailable it preserves that mask and reports the fallback;performance on other CPU families or instruction fallbacks is unqualified.Python3 is used by this topology selector. The fixed arithmetic is BF16 activationand cache, RT18/240, batch1, eight workers and four tasks. The raw binary's legacyA8 default failed quality checks for these weights, so use the launcher.
Exact sources and dependency locks are included:
```shcargo build --manifest-path native/Cargo.toml --locked --release --features x86-vnni,silero --bin audio8-stream```
The current packaged native build passed 6 caption, 3 gated-input, 8 CLI and oneBF16-mode tests plus strict Clippy over the selected library/CLI/tests. Anunfiltered full-library and ASR-CLI execution was not part of that build record.
## Apple Silicon
Use Python3.12 on Apple Silicon macOS. The tested route used an M2 on macOS26.5.1.47 unmodified lines{ "native": { "status": "focused_tests_passed", "scope": "Linux x86_64, Ubuntu22.04 build, GLIBC\u22652.35; exact native inference evidence is reported separately.", "scope": "Linux x86_64, Ubuntu22.04 build, GLIBC>=2.35; improved source passed same-binary EN/ZH prefix parity. Full paced timing below used the identical source in a separately pinned host build.", "tests": { "caption": 6, "caption": 7, "gated": 3, "cli": 8, "cli": 10, "bf16_mode": 1 }, "unfiltered_library_suite_run": false "unfiltered_library_suite_run": false, "portable_prefix_parity": true }, "mlx": { "status": "full_input_diagnostic_passed",8 unmodified lines "AMD integrated Vulkan is slower than the input clock in this smoke.", "WorkRTF includes VAD-gated silence; it is not sustained uninterrupted-speech throughput.", "ProcessRSS excludes device-resident GPU allocation. PeakGPU memory was not sampled; buffer/payload figures are separate.", "Known long-speech omissions, memory target misses and sustained/native latency failures remain; fresh qualification was not run." "Known long-speech omissions and memory target misses remain; strict per-word latency and broad runtime qualification are unproven." ], "glibc_required": "2.43", "linkage_scope": "CLI resolves adjacent bridge via $ORIGIN; external GPU driver and matching system runtime libraries are required.",8 unmodified lines "AMD integrated Vulkan is slower than the input clock in this smoke.", "WorkRTF includes VAD-gated silence; it is not sustained uninterrupted-speech throughput.", "ProcessRSS excludes device-resident GPU allocation. PeakGPU memory was not sampled; buffer/payload figures are separate.", "Known long-speech omissions, memory target misses and sustained/native latency failures remain; fresh qualification was not run." "Known long-speech omissions and memory target misses remain; strict per-word latency and broad runtime qualification are unproven." ], "glibc_required": "2.43", "linkage_scope": "CLI resolves adjacent bridge via $ORIGIN; external GPU driver and matching system runtime libraries are required."5 unmodified lines
The launchers enforce `execution_profile.json`; only input, language and the declared prefix operation are configurable.
`run-cpu-linux-x86_64.sh` uses BF16 activations, realtime startup, 240 ms model delay, 8 workers, 4 tasks per worker, batch 1 after first batch 1, BF16 cache, default worker QoS, and prefix policy `none`. Arbitrary runtime flags are refused.`run-cpu-linux-x86_64.sh` uses BF16 activations, realtime startup, 240 ms model delay, 8 workers, 4 tasks per worker, batch 1 after first batch 1, BF16 cache, default worker QoS, and optional, explicitly prepared constant prefixes. The tiled encoder is enabled. Arbitrary runtime flags are refused.
This Linux launcher also requires Python 3. It selects one logical CPU from each of 8 distinct physical cores inside the inherited allowed mask, ranking static maximum frequency first and then CPU ID. It changes only its own process affinity and records the actual selection on stderr. If topology or enough physical cores are unavailable, it preserves the inherited mask; performance in that fallback is unverified. No speed claim extends to untested hardware.
1223454 unmodified lines10111213141314151617181920162122232481 unmodified lines1061071081041091101111071121131091141151161172 unmodified lines12012112211811912312412512612712812913012513113213313413542 unmodified lines1781791801741811821761831841851791861871881896 unmodified lines19619719819219920020120214 unmodified lines217218219213220cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSEb00e1558b5bebbf7e3deeadc59e8d12b06eda452482192924340186fbd17b33b README.md9550bfbe585313ec12d6aff5524db39b109c8377ee761913ab1cc5f270621e55 README.mdbf1bdaa245a5a4886d7a061d09a072e819079d20d55440e817156cf1f3133497 THIRD_PARTY_NOTICES.md744baed356a8c86a9791fc76cecb73219ed4aff795147c6cdc082337a13f019c assets/config.jsonab3a69e95c9a7fd54adeec09c9cdfe4c79fa81f85908f2154d074bde9ee43102 assets/frontend.a8m4 unmodified lines7fdc1e903297ea1fa438b77503db993c50a67f8b325b4e55754f08b8579c5410 assets/tokenizer.a8tok72f8b7e878ee6606c309881f68201e277f9dae50175a387074a5181d771b9599 assets/tokenizer.jsonceca11f549d6a8550430c7272e9aa40582bffd633f8998335883a428f4d77fb9 assets/tokenizer_config.json30486025c4ba0cb6d8f4d094b556fb22dbe7ecd2018caaeda740ed235ff51626 bin/linux-x86_64/audio8-stream50f953d865bc9203e5f78db181ebfe8fb0576b537f9f435db6d6cf873adedee0 evaluation/native-cpu-is1000a.jsonf10ccbdc33ed5bc73d96516403634cd5551c81a05be823af91060a178a92d2d3 bin/linux-x86_64/audio8-stream50f953d865bc9203e5f78db181ebfe8fb0576b537f9f435db6d6cf873adedee0 evaluation/native-cpu-is1000a-baseline-v1.json9c17000800c34aae880867c03d5d6f1b49d185e223d0e5f0a0ad1460cab7326e evaluation/native-cpu-is1000a.json2d5f1ea91f1dcc518297748dfd2c673b7a4c03fe92153665ac8a0740aa7e79c6 evaluation/native-cpu-prefix-phase-summary.json7064c936b7c769914ed11659eba2ed1343a1df920ad4a5651df4b0ce934b054b evaluation/native-cpu-prefix-strict-verification.json5b8b9fe44c5603a52752c5a11de70961e6c74cfe5297b80c3064a0d9fc360c65 evaluation/native-portable-prefix-parity.json5c207ebb8acc838707446667760eda6fe36717a7a90667904e710dacd24a8741 evaluation/native-rebase-component.json3d01bbe38db3dbba4701e0480bc08ee578ff12a9fb63ab4c6eed380ce41058de evaluation/paired-quality.jsona2b8f0e326fa2d87b0ff165a034b6240742eeb22bc8020408956ac79ab0f3c2e execution_profile.json3cd780f88a4d269f61e9fbfff242569d32abffe59df70473486c5440489f1852 execution_profile.jsond5b992bd89fc32f0166ec15b24ad45c7520621c308de04ba0a9dca7b2519f465 gguf/audio8-q4_0.gguffddd6ef5150c84060a6a6770da7ac7d60f7eef51f5f2e3d944831b625bb8e2fb gguf/bin/linux-x86_64-cuda/audio8-gguf8793f0c1bda707fe7d9deddcba06d669063cfaed2f28f6e4b970b677aaac5ae2 gguf/bin/linux-x86_64-cuda/libaudio8-bridge.so81 unmodified lines20ee26d166b64e6574e07650c37a6b016b9fd02b76801778a93e522ad6cc2585 native/src/attention_x86.rs6f9a839012e518cd3f37f6e8464a254af2b2c3325dafdb01f6fa5447f4960c9b native/src/audio_path.rs796870256040be1ecc9851ce9e72bc9522776e82327f9610a6b527b0edc8d1b8 native/src/bin/audio8-asr.rs5fbe1ca1c377d1855539c1245270ecddb2dd0f830521519e43e71585aa4d8d54 native/src/bin/audio8-stream.rs019315a3a4c4f7272de0956be6677d1ec54866b320a69b9ff0614df0bbe6181f native/src/bin/audio8-stream.rsb78b7f0831c6b7b61c5352001c8d2900686a44a00c181d61dbb3ebf8b9f06175 native/src/bin/kleidi-bench.rs0ab0e8cf673b3a41e207c37e82a0b41e7e93657a0f807308311b9c0fd527e906 native/src/bin/support/runtime_platform.rs6e78be61fc887c530e6bb008b9f310191023cb8a7700e299fd7c98e1f53aa320 native/src/bin/support/silero_stream.rs1ff226447f4899eb5799c75c8b4d48d0e2c8aa208c6778aa58b623c2273dfacb native/src/bin/support/silero_stream.rs0f1972219a26bd6871f2f18cd0cf1279dd576638ae1782136c4792df818a10c1 native/src/bin/support/stream_common.rs1b7c1231aa128d9d758352bc8926bda352b2a8f65d0294892ff8b82f4543f476 native/src/caption_stream.rsd2ca9ed8ecb989fcf86a7ee9f54870bc1a6e8c3b73707a3dc05714d2f2126d8b native/src/caption_stream.rsb99699ca70373281f9ec94d3f84484536a8eb9a85d1abd0350d3099105f327c2 native/src/conditioning.rs0faa455bde072cedecd336548f17b4bfd54dca6addae0e899fd755dad19870c7 native/src/conv_math.rs6681de746aed594960824b8d1d34b8bfb13d0d8544218b6cf4747b09133e4f71 native/src/decoder.rs2 unmodified lines7fd1b32f3472a2823219fa0ced7d20dfa735932f334cebe460dd06b979170567 native/src/encoder_head_local_tests.rs8786f9fb09852232daa533f791f22c69bd02ad135016a2b136739597467269c0 native/src/encoder_i8mm_tests.rs51160570e37fd8f776cc46d9909b1410983307a423db6e39b3467fd52b2c7cd8 native/src/encoder_phase_tests.rsfd3203940bc11da712db02bd98d957def495d59d5804d87c67ce461f7c3de391 native/src/encoder_tiled_attention.rs5b046f439afa58815893037ab6700cf7470d816a4fcff1f87446225a36dbea30 native/src/encoder_tiled_attention_tests.rs08956db5a69de6269ca206c2761cf91fc67e9a1e44e1d35c7037537be742fbe4 native/src/encoder_tiled_attention.rs523567137fafdab39329135e273168549f98d479a2d44859b49dea4881e33a4d native/src/encoder_tiled_attention_tests.rs047afbbca2845290a4d4fa4e7e9027c646cce5039cb67aa3c0d794cc6e2d1802 native/src/encoder_tiled_attention_x86.rsf1725764917be7a7c6a31056b9b70d7dcebe0fb3f1dde29de552c9be749560ca native/src/encoder_x86_attention_tests.rs9845f0e771241b67e3640add3401b6a9cdf24af2b826dcb9960b1937a3b45a0e native/src/engine.rs34e14383a5d82db0396cb55571d750c8d0bb02c0680415243114b8204c111fe6 native/src/fast_sha256.rs1dd5c23afa9af4a294f7efdf942e6b6a2b6c3abddaa44839c57f92b8b093b519 native/src/frontend.rs4207564489bb02e305cc04e03cb99759dbd1ec8a711c07aab010cc99f740376f native/src/gated_audio.rs2ae02b5812d672303e1cbab426d1d368c75fe02207149ec1b0e9bb7296de90c7 native/src/kv_storage.rs8508cc3cf6c266617948e2230513d72eaf34d8632c3c4141d67fbb27fb90b3c2 native/src/kv_rebase_x86.rsa0e8dce85ae12f0bcb6603184e725e51d941a4206f11f09369258f1a5a409e0f native/src/kv_storage.rsebed9b2b955c3f442c986bdfcdb08256d1f42043af9c827ee924b7f2ef102726 native/src/lib.rsaecfefe0c0a082a1f4c081a431f52c45a04e5dc15c83331f9e0d8e610eec17ee native/src/live_audio.rsbf0c6940b2bbf6fff892a1e75bcb17ae2fa45a7c7b3b062caa3c34647f0c93dd native/src/main.rs42 unmodified lines156a9323fdf400929aadb1388ad151f92a99e8a745126b6175390fec0da16bc5 provenance/gguf-validation.json0f082a92d3efb089616f62600850b89450240bdbadbfe3a696ca5f7469ba41d5 provenance/gpu-components.jsonfcf74803d0369127364b5776d37703cd2b3220fd73da3c04e0019f217ddfeea9 provenance/mlx-source.json5f8783ef97d7730d470c82cd74b459dd7f92c1ad6c4744dbcd1fe72a18c652a4 provenance/native-build.json541f57f9439a6f137bb85735608f4fb4c847ab1f68b866fd3007d02940711e1c provenance/native-build.json52c865bb02d45ab5c814c7fcae167aa8b08722c2e2701094e21d33f3c3c5b998 provenance/native-model.jsone52a0d57d942261cb9cc22cbaf8280dbf46dd888aedae2d3a6ccb9abda0cdb4e provenance/native-source-manifest.json70f257fac9ab0a96e116684623e893dad875acefff947adb04b694c9283dc0b8 provenance/native-source-manifest.json8b6d69400d95de97fc68b918eca6ac18a7cd30f7f38534d55c3e811c2363a19c provenance/silero-source.jsond5a5d709779bc64a60b06fb9f4cf18bd8e492ee4934f6b730a8bfd076f26ad68 requirements-mlx.txt3bdaf6e6c5a286670f1c688f9c84b4264d42f3e64d45c41f6f2ba9910a5d2a9c run-cpu-linux-x86_64.sh10dedd6b81a48eeaba5fea35f12528be2f1e296eb1d3b2310f8ca224c51dd617 run-cpu-linux-x86_64.sheb5c75f1ed0b252d75f994c1a671a354d671b12f6b6d369c577ac1033c2887cc run-cuda.sh069998da64992da3d8af0585130efcb5c440f31d642a4660ddf599cc5e26932e run-mlx.shc949d5f4beb0f832a01f52f081eb7958904fdb527b88212edf884ccbeead07fa run-vulkan.sh6 unmodified lines4a49746e66382aedae7f8198df7061dcc07be1af9085494e68362605518c96da sources/exporter/gguf_runtime/test_gguf.py41630e094b99dafbe60c0a9e281b60386fcfa12582126ee99b89113543127f80 sources/exporter/gguf_runtime/validate.py0be9ba69d070da3b6accfda9f310de18d68e4063394c0ed94095ec053a558092 sources/mlx-caption-b4.zip147842b7d73e9fa9dbb001fa68f9b8791bd15a619d68d62326f78bc6d023833f sources/native-caption-sources.tar.gzfd68ec98f70ea455621adb1318b467cec36221dd9b66212f3e81cf5d92c48692 sources/native-caption-sources.tar.gz37ff846220ca490f2d38da5b2d9c777dadc0810f07b17f1ccb471f088b8929d0 vad_probe/Cargo.lock0313aae93c91e3a6a07c17b9e2381f4bbe642f4ec1ef15c5bdf09972ca967971 vad_probe/Cargo.tomla60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2 vad_probe/LICENSE14 unmodified linesa2289e9a9517142dceff07ae58c0c78159f5521636172954aead083591bd03c0 vendor/kleidiai-audio8-bridge/kai_matmul_clamp_f32_qsi8d32p4x4_qsi4c32p4x4_16x4_neon_dotprod_audio8_f32scale_asm.Sab1a940870777fae2aca654d66720146a5b7dc4e981451b42cae1a31565cff5d vendor/kleidiai-audio8-bridge/kai_matmul_clamp_f32_qsi8d32p4x8_qsi4c32p4x8_16x4_neon_i8mm_audio8_f32scale_asm.S179e0843a453ee083105a5222094eaa7bfce714e68d96baabaec38e824fdefa7 vendor/kleidiai-audio8-bridge/provenance.json94e528576fcb5bcabbb50295a9422f59b15515930c0298f0d22d9614c20c3a39 release_manifest.jsoneba69a195d75757f9b14446cd7f58ff1f6e9374287c23f0a653b3909245ff480 release_manifest.json12323version https://git-lfs.github.com/spec/v1oid sha256:30486025c4ba0cb6d8f4d094b556fb22dbe7ecd2018caaeda740ed235ff51626size 28397232oid sha256:f10ccbdc33ed5bc73d96516403634cd5551c81a05be823af91060a178a92d2d3size 28410544123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146{ "schema": "audio8.native_caption_diagnostic_summary.v1", "status": "complete", "release_type": "experimental", "scope": "One previously exposed AMI IS1000a recording; no fresh heldout evaluation and no population-quality claim.", "runtime": { "os": "Linux x86_64 GNU", "cpu": "AMD Ryzen AI 9 HX 370", "physical_cpus": [ 0, 1, 2, 3, 4, 5, 6, 7 ], "workers": 8, "row_tasks_per_worker": 4, "nice": 15, "activation": "bf16", "activation_backend": "avx512_bf16_q4", "batch_windows": 1, "startup": "realtime18", "delay_ms": 240, "prefix_used": false, "minimum_strong_glibc": "2.35", "silero": "tract-onnx0.23.4; fixed existing v5 ONNX" }, "model_sha256": "d40c393cfdb4fbd231c5fab593d844018b26f80d8a0113c9ae297b8edbee60ad", "model_body_sha256": "0a5949f95ac476d7b9bd90ae70b55e6940e6a72ae5a614093f2c181bbb1c3553", "binary_sha256": "30486025c4ba0cb6d8f4d094b556fb22dbe7ecd2018caaeda740ed235ff51626", "source_manifest_sha256": "e52a0d57d942261cb9cc22cbaf8280dbf46dd888aedae2d3a6ccb9abda0cdb4e", "audio_seconds": 319.715, "input_sha256": "a2ca3b651137e316ec19127b5f4c785c258673968a93cd97df0834f97fcd125f", "fixed_segments": 22, "emissions": 2831, "selected_samples": 3593008, "unconsumed_selected_samples": 14264, "all_input_bytes_observed_and_sha_verified": true, "all_fixed_vad_boundaries_equal": true, "token_parity": { "all_ids_exact_mlx": true, "ids": 2831, "generated_ids_sha256": "d1c20a0f5c3f2ea79642f1397b00b8f7167c9592ef3a6507636d49ea4d048355", "limitation": "Greedy token parity on this recording; not bitwise floating-point arithmetic equivalence or a general fidelity guarantee." }, "quality_counts": { "hits": 298, "substitutions": 46, "deletions": 134, "insertions": 5, "reference_units": 478, "hypothesis_units": 349, "errors": 185, "error_rate": 0.38702928870292885 }, "prior_original_reset_errors": 171, "prior_original_reference_units": 478, "phase_seconds": { "model_seconds": 209.74198503299976, "reset_seconds": 0.32344611599999995, "vad_seconds": 1.9816165189999988, "read_seconds": 110.4583317700005, "elapsed_seconds": 322.584235459, "work_rtf": 0.663237720056925 }, "model_window_work_seconds": { "p50": 0.062017852, "p95": 0.089313997, "max": 0.721454188 }, "load_seconds": 5.439074583, "first_readable_host_seconds": 1.8761147260665894, "host_receipt_max_queue_seconds": 10.145683053080006, "host_receipt_non_eof_max_queue_seconds": 10.145683053080006, "published_word_timing": { "correctly_matched_units": 298, "ambiguous_matched_units": 8, "unambiguous_matched_units": 290, "unmatched_reference_units": 180, "matched_reference_fraction": 0.6234309623430963, "p50_seconds": 1.839195849895475, "p95_seconds": 8.944219085872191, "maximum_seconds": 10.365784198902531, "unambiguous_maximum_seconds": 10.365784198902531, "matched_units_above_one_second": 213 }, "word_timing_limitation": "Lag summaries use one deterministic text alignment and are descriptive when alternative optimal alignments exist. Only unambiguous matches can support per-word timing claims. Omissions/substitutions remain errors, never zero-latency successes. Published reference timing uncertainty and overlapping-speaker word order are not independently corrected.", "source_delivery": { "chunk_samples": 320, "scheduled_source_duration_seconds": 319.715, "actual_feeder_duration_seconds": 320.3238878538832, "max_delivery_lateness_seconds": 9.128275424093033 }, "weights_resident_bytes": 2188118080, "peak_kv_payload_capacity_bytes": 210169856, "peak_process_rss_bytes": 2431176704, "maximum_input_retained_samples": 6912, "gates": { "one_second_caption_delay": false, "at_most_two_decimal_gb_process_rss": false, "production_accuracy_approved": false, "release_accepted": false }, "workload_rtf_limitation": "The0.663 workload ratio includes VAD-discarded silence in its denominator; continuous active speech still accumulated10.146s of queue. It is not a sustained low-latency pass.", "evidence": { "full_report": { "path": "reports/native-caption-rt240-is1000a-v1/native-rt240-silero-b1-is1000a-v1.json", "bytes": 291840, "sha256": "c7346ed5a1e779891279062fc6b400431a433a4a7f112aff11e50bbf550750d9" }, "raw_events": { "path": "reports/native-caption-rt240-is1000a-v1/native-rt240-silero-b1-is1000a-v1.jsonl", "bytes": 978692, "sha256": "bbbafb1a5c9451de5b467edaa6589ed7ff28a04b4780864711a276e9a25f2d09" }, "host_receipts": { "path": "reports/native-caption-rt240-is1000a-v1/native-rt240-silero-b1-is1000a-v1.observed.jsonl", "bytes": 741319, "sha256": "f67164ea4cebffa3c518cf321913e132f5ff7d046f96c5918b24ee145606c6e7" }, "plan": { "path": "reports/native-caption-rt240-is1000a-v1/run-plan-v1.json", "bytes": 7584, "sha256": "7e506b998186de644095d78c9d3fe682c359a197dabdb6faec103d6fa96f896c" }, "preflight": { "path": "reports/native-caption-rt240-is1000a-v1/preflight-v1.json", "bytes": 3175, "sha256": "7974bd8f1d0bb55bc3f9d0f81b140d0fc986f222df41eb275115a94860b8ccc4" }, "build_record": { "path": "reports/native-caption-ubuntu2204-v2/build-report.json", "bytes": 7653, "sha256": "5f8783ef97d7730d470c82cd74b459dd7f92c1ad6c4744dbcd1fe72a18c652a4" }, "mlx_raw_reference": { "path": "reports/mlx-live-silero-rt240-b2-is1000a-v1/run.jsonl", "bytes": 1217631, "sha256": "1b72a6d5069dd1438063e55a0675757be34d05fe94133a14b1d99380f5998d01" } }, "release_payload_contains_no_raw_audio_or_transcript": true}1234567891011121314151617181920212223242526272829234567891011121314151617181920212231323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777823242526272829303132338485868788899091929394953435363738394041429798991001011021031041051061071081091101111121131141151161171181191201211224344454647484950515253541241251261275556575859606162636465129130131132666768697071727374757613413513613713813914014114277787980818283848586871441458889{ "schema": "audio8.native_caption_diagnostic_summary.v1", "status": "complete", "release_type": "experimental", "scope": "One previously exposed AMI IS1000a recording; no fresh heldout evaluation and no population-quality claim.", "runtime": { "os": "Linux x86_64 GNU", "cpu": "AMD Ryzen AI 9 HX 370", "physical_cpus": [ 0, 1, 2, 3, 4, 5, 6, 7 ], "workers": 8, "row_tasks_per_worker": 4, "nice": 15, "activation": "bf16", "activation_backend": "avx512_bf16_q4", "batch_windows": 1, "startup": "realtime18", "delay_ms": 240, "prefix_used": false, "minimum_strong_glibc": "2.35", "silero": "tract-onnx0.23.4; fixed existing v5 ONNX" "status": "full_exposed_stream_verified", "all_2831_ids_exact": true, "model_changed": false, "production_ready": false, "published_package_changed": false, "mature_work_seconds_including_trims": 53.360868192, "mature_audio_budget_seconds": 55.2, "mature_work_rtf_including_trims": 0.9666823947826086, "long_segment_model_seconds": 78.840897153, "long_segment_audio_seconds": 85.168, "peak_non_eof_receipt_backlog_seconds": 0.5178427941128803, "memory": { "os_peak_process_rss_bytes": 2434076672, "os_peak_memory_footprint_bytes": null, "footprint_available": false, "rss_source_unit": "KiB (1024 bytes)", "elapsed_seconds": 326.58, "user_seconds": 926.72, "system_seconds": 74.73, "scope": "Fresh native child process including loading and inference; excludes Python harness. RSS and footprint are separate measurements and must not be summed." }, "model_sha256": "d40c393cfdb4fbd231c5fab593d844018b26f80d8a0113c9ae297b8edbee60ad", "model_body_sha256": "0a5949f95ac476d7b9bd90ae70b55e6940e6a72ae5a614093f2c181bbb1c3553", "binary_sha256": "30486025c4ba0cb6d8f4d094b556fb22dbe7ecd2018caaeda740ed235ff51626", "source_manifest_sha256": "e52a0d57d942261cb9cc22cbaf8280dbf46dd888aedae2d3a6ccb9abda0cdb4e", "audio_seconds": 319.715, "input_sha256": "a2ca3b651137e316ec19127b5f4c785c258673968a93cd97df0834f97fcd125f", "fixed_segments": 22, "emissions": 2831, "selected_samples": 3593008, "unconsumed_selected_samples": 14264, "all_input_bytes_observed_and_sha_verified": true, "all_fixed_vad_boundaries_equal": true, "token_parity": { "all_ids_exact_mlx": true, "ids": 2831, "generated_ids_sha256": "d1c20a0f5c3f2ea79642f1397b00b8f7167c9592ef3a6507636d49ea4d048355", "limitation": "Greedy token parity on this recording; not bitwise floating-point arithmetic equivalence or a general fidelity guarantee." }, "quality_counts": { "hits": 298, "substitutions": 46, "deletions": 134, "insertions": 5, "reference_units": 478, "hypothesis_units": 349, "errors": 185, "error_rate": 0.38702928870292885 }, "prior_original_reset_errors": 171, "prior_original_reference_units": 478, "phase_seconds": { "model_seconds": 209.74198503299976, "reset_seconds": 0.32344611599999995, "vad_seconds": 1.9816165189999988, "read_seconds": 110.4583317700005, "elapsed_seconds": 322.584235459, "work_rtf": 0.663237720056925 }, "model_window_work_seconds": { "p50": 0.062017852, "p95": 0.089313997, "max": 0.721454188 }, "load_seconds": 5.439074583, "first_readable_host_seconds": 1.8761147260665894, "host_receipt_max_queue_seconds": 10.145683053080006, "host_receipt_non_eof_max_queue_seconds": 10.145683053080006, "published_word_timing": { "word_timing": { "measured": true, "actual_arrival_paced": true, "timing_basis": "Independent host receipt of flushed JSONL since paced20ms producer start; all source words retained", "correctly_matched_units": 298, "ambiguous_matched_units": 8, "ambiguity_method": "all minimum unit-cost Levenshtein paths, without timing-based selection", "unambiguous_matched_units": 290, "unambiguous_maximum_seconds": 5.314757478116064, "unmatched_reference_units": 180, "matched_reference_fraction": 0.6234309623430963, "p50_seconds": 1.839195849895475, "p95_seconds": 8.944219085872191, "maximum_seconds": 10.365784198902531, "unambiguous_maximum_seconds": 10.365784198902531, "matched_units_above_one_second": 213 }, "word_timing_limitation": "Lag summaries use one deterministic text alignment and are descriptive when alternative optimal alignments exist. Only unambiguous matches can support per-word timing claims. Omissions/substitutions remain errors, never zero-latency successes. Published reference timing uncertainty and overlapping-speaker word order are not independently corrected.", "source_delivery": { "chunk_samples": 320, "scheduled_source_duration_seconds": 319.715, "actual_feeder_duration_seconds": 320.3238878538832, "max_delivery_lateness_seconds": 9.128275424093033 "min_seconds": -2.327656292887397, "p50_seconds": 0.4837891599815265, "p95_seconds": 0.6571080310922071, "maximum_seconds": 5.314757478116064, "matched_units_above_one_second": 1, "all_matched_units_within_one_second": null, "whole_release_pass": false, "limitation": "Lag summaries use one deterministic text alignment and are descriptive when alternative optimal alignments exist. Only unambiguous matches can support per-word timing claims. Omissions/substitutions remain errors, never zero-latency successes. Published reference timing uncertainty and overlapping-speaker word order are not independently corrected." }, "weights_resident_bytes": 2188118080, "peak_kv_payload_capacity_bytes": 210169856, "peak_process_rss_bytes": 2431176704, "maximum_input_retained_samples": 6912, "gates": { "one_second_caption_delay": false, "at_most_two_decimal_gb_process_rss": false, "production_accuracy_approved": false, "release_accepted": false }, "workload_rtf_limitation": "The0.663 workload ratio includes VAD-discarded silence in its denominator; continuous active speech still accumulated10.146s of queue. It is not a sustained low-latency pass.", "evidence": { "full_report": { "path": "reports/native-caption-rt240-is1000a-v1/native-rt240-silero-b1-is1000a-v1.json", "bytes": 291840, "sha256": "c7346ed5a1e779891279062fc6b400431a433a4a7f112aff11e50bbf550750d9" }, "raw_events": { "path": "reports/native-caption-rt240-is1000a-v1/native-rt240-silero-b1-is1000a-v1.jsonl", "bytes": 978692, "sha256": "bbbafb1a5c9451de5b467edaa6589ed7ff28a04b4780864711a276e9a25f2d09" }, "host_receipts": { "path": "reports/native-caption-rt240-is1000a-v1/native-rt240-silero-b1-is1000a-v1.observed.jsonl", "bytes": 741319, "sha256": "f67164ea4cebffa3c518cf321913e132f5ff7d046f96c5918b24ee145606c6e7" "groups": { "early": { "windows": 63, "mean_work_seconds": 0.055957308666666664, "mean_phase_seconds": { "frontend": 0.003428708349206349, "encoder": 0.02292193333333333, "projector": 0.0003277466984126984, "decoder": 0.02676664477777778, "head": 0.0025069615555555554 } }, "plan": { "path": "reports/native-caption-rt240-is1000a-v1/run-plan-v1.json", "bytes": 7584, "sha256": "7e506b998186de644095d78c9d3fe682c359a197dabdb6faec103d6fa96f896c" "middle": { "windows": 192, "mean_work_seconds": 0.06687693241666666, "mean_phase_seconds": { "frontend": 0.00370436446875, "encoder": 0.034558047125, "projector": 0.0003304233541666667, "decoder": 0.025908055890625, "head": 0.0023705438697916668 } }, "preflight": { "path": "reports/native-caption-rt240-is1000a-v1/preflight-v1.json", "bytes": 3175, "sha256": "7974bd8f1d0bb55bc3f9d0f81b140d0fc986f222df41eb275115a94860b8ccc4" "late": { "windows": 672, "mean_work_seconds": 0.07568816295684525, "mean_phase_seconds": { "frontend": 0.003339698361607143, "encoder": 0.04277912063541667, "projector": 0.0003491926056547619, "decoder": 0.026791862453869046, "head": 0.002423294998511905 } }, "build_record": { "path": "reports/native-caption-ubuntu2204-v2/build-report.json", "bytes": 7653, "sha256": "5f8783ef97d7730d470c82cd74b459dd7f92c1ad6c4744dbcd1fe72a18c652a4" }, "mlx_raw_reference": { "path": "reports/mlx-live-silero-rt240-b2-is1000a-v1/run.jsonl", "bytes": 1217631, "sha256": "1b72a6d5069dd1438063e55a0675757be34d05fe94133a14b1d99380f5998d01" "trim_windows": { "windows": 19, "mean_work_seconds": 0.13869575415789473, "mean_phase_seconds": { "frontend": 0.0022852106315789473, "encoder": 0.1040742662631579, "projector": 0.00033986926315789475, "decoder": 0.029645222, "head": 0.002327442947368421 } } }, "release_payload_contains_no_raw_audio_or_transcript": true }}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384{ "status": "complete", "production_ready": false, "model_changed": false, "all_2831_ids_exact_prior": true, "binary": { "path": "/home/rezo/audio8-q4-recovery-20260924/native-caption-prefix-v1/bin/audio8-stream", "bytes": 28412416, "sha256": "d9c1ffb36b50f05f659a97fab0b605d72658c22b9e28a15e2108559c9e02e0d7" }, "source_manifest": { "path": "/home/rezo/audio8-q4-recovery-20260924/native-caption-prefix-v1/manifest.json", "bytes": 20863, "sha256": "70f257fac9ab0a96e116684623e893dad875acefff947adb04b694c9283dc0b8" }, "raw": { "path": "/home/rezo/audio8-q4-recovery-20260924/native-caption-prefix-v1/run.jsonl", "bytes": 1214042, "sha256": "5d36868e22753b611280e62e2c31facd687caa905c22f5aa3445e5805c67bb93" }, "report": { "path": "/home/rezo/audio8-q4-recovery-20260924/native-caption-prefix-v1/run.json", "bytes": 292124, "sha256": "9510da6c4851143bcdad8d41deb11f3f81d623162088829164d8d71509577f13" }, "groups": { "early": { "windows": 63, "mean_work_seconds": 0.055957308666666664, "mean_phase_seconds": { "frontend": 0.003428708349206349, "encoder": 0.02292193333333333, "projector": 0.0003277466984126984, "decoder": 0.02676664477777778, "head": 0.0025069615555555554 } }, "middle": { "windows": 192, "mean_work_seconds": 0.06687693241666666, "mean_phase_seconds": { "frontend": 0.00370436446875, "encoder": 0.034558047125, "projector": 0.0003304233541666667, "decoder": 0.025908055890625, "head": 0.0023705438697916668 } }, "late": { "windows": 672, "mean_work_seconds": 0.07568816295684525, "mean_phase_seconds": { "frontend": 0.003339698361607143, "encoder": 0.04277912063541667, "projector": 0.0003491926056547619, "decoder": 0.026791862453869046, "head": 0.002423294998511905 } }, "trim_windows": { "windows": 19, "mean_work_seconds": 0.13869575415789473, "mean_phase_seconds": { "frontend": 0.0022852106315789473, "encoder": 0.1040742662631579, "projector": 0.00033986926315789475, "decoder": 0.029645222, "head": 0.002327442947368421 } } }, "memory": { "os_peak_process_rss_bytes": 2434076672, "os_peak_memory_footprint_bytes": null, "footprint_available": false, "rss_source_unit": "KiB (1024 bytes)", "elapsed_seconds": 326.58, "user_seconds": 926.72, "system_seconds": 74.73, "scope": "Fresh native child process including loading and inference; excludes Python harness. RSS and footprint are separate measurements and must not be summed." }, "host_receipt_non_eof_max_queue_seconds": 0.5178427941128803, "scope": "Same full exposed319.715s input, causal20ms stdin, unchanged model with opt-in x86 tiled encoder and AVX2 BF16 rebase plus offline constant-prefix restore at every reset; host-glibc diagnostic build, not a portability or latency acceptance result."}123456789101112131415161718192021222324252627282930313233343536{ "status": "complete", "all_ids_exact_expected": true, "independent_delta_token_clock_oracle": true, "raw_sha256": "5d36868e22753b611280e62e2c31facd687caa905c22f5aa3445e5805c67bb93", "counts": { "hits": 298, "substitutions": 46, "deletions": 134, "insertions": 5, "reference_units": 478, "hypothesis_units": 349, "errors": 185, "error_rate": 0.38702928870292885 }, "word_timing": { "measured": true, "actual_arrival_paced": true, "timing_basis": "Independent host receipt of flushed JSONL since paced20ms producer start; all source words retained", "correctly_matched_units": 298, "ambiguous_matched_units": 8, "ambiguity_method": "all minimum unit-cost Levenshtein paths, without timing-based selection", "unambiguous_matched_units": 290, "unambiguous_maximum_seconds": 5.314757478116064, "unmatched_reference_units": 180, "matched_reference_fraction": 0.6234309623430963, "min_seconds": -2.327656292887397, "p50_seconds": 0.4837891599815265, "p95_seconds": 0.6571080310922071, "maximum_seconds": 5.314757478116064, "matched_units_above_one_second": 1, "all_matched_units_within_one_second": null, "whole_release_pass": false, "limitation": "Lag summaries use one deterministic text alignment and are descriptive when alternative optimal alignments exist. Only unambiguous matches can support per-word timing claims. Omissions/substitutions remain errors, never zero-latency successes. Published reference timing uncertainty and overlapping-speaker word order are not independently corrected." }}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449{ "status": "complete", "assets": { "runtime_binary": { "path": "/home/rezo/audio8-q4-recovery-20260924/native-caption-prefix-ubuntu2204-v1/bin/audio8-stream", "bytes": 28410544, "sha256": "f10ccbdc33ed5bc73d96516403634cd5551c81a05be823af91060a178a92d2d3", "int8_backend": "avx512_vnni", "activation_mode": "bf16", "bf16_backend": "avx512_bf16_q4" }, "model_stream": { "path": "/home/rezo/audio8-q4-recovery-20260924/native-gptq-q4-decoder-rt240-v1/model.a8m", "bytes": 2186697649, "sha256": "d40c393cfdb4fbd231c5fab593d844018b26f80d8a0113c9ae297b8edbee60ad" }, "frontend": { "path": "/home/rezo/audio8-q4-recovery-20260924/native-candidate-gptq-q4-v1/artifacts/frontend-primitive.a8m", "bytes": 246012, "sha256": "ab3a69e95c9a7fd54adeec09c9cdfe4c79fa81f85908f2154d074bde9ee43102" }, "tokenizer": { "path": "/home/rezo/audio8-q4-recovery-20260924/native-candidate-gptq-q4-v1/artifacts/native-tokenizer-v1.a8tok", "bytes": 1734837, "sha256": "7fdc1e903297ea1fa438b77503db993c50a67f8b325b4e55754f08b8579c5410" }, "vad": { "path": "/home/rezo/audio8-q4-recovery-20260924/ggml-caption-runtime-v1/silero_vad.onnx", "bytes": 2327524, "sha256": "1a153a22f4509e292a94e67d6f9b85e8deb25b4988682b7e174c65279d8788e3" }, "gate_native_caption_prefix_portable_v1.py": { "path": "/home/rezo/audio8-q4-recovery-20260924/native-caption-prefix-ubuntu2204-v1/gate_native_caption_prefix_portable_v1.py", "bytes": 7375, "sha256": "85726e5bca06a29fba276331d5bfe6d6611510fff7f5722e207bb84c087ac34e" }, "native_caption_prefix_identity_v1.py": { "path": "/home/rezo/audio8-q4-recovery-20260924/native-caption-prefix-ubuntu2204-v1/native_caption_prefix_identity_v1.py", "bytes": 9544, "sha256": "6cb29827fcef442a8bf8ee98822895ac410aa8e2f3a199bcda5cb71d05bed7a5" }, "caption_prefix_token_oracle_v1.py": { "path": "/home/rezo/audio8-q4-recovery-20260924/native-caption-prefix-ubuntu2204-v1/caption_prefix_token_oracle_v1.py", "bytes": 2745, "sha256": "931a4b7d0ec5cabe63727fdb6194fc257463d60377b1088e1af0b2e71543c78b" } }, "inputs": [ { "language": "en", "source": { "path": "/home/rezo/audio8-q4-recovery-20260924/native-heldout-campaign-v1/inputs/IS1000a.f32le", "bytes": 20461760, "sha256": "a2ca3b651137e316ec19127b5f4c785c258673968a93cd97df0834f97fcd125f" }, "prefix_samples": 320000, "input": { "path": "/home/rezo/audio8-q4-recovery-20260924/native-caption-prefix-ubuntu2204-v1/prefix-gate-v2/en.f32le", "bytes": 1280000, "sha256": "789ae2298d2dd8c814aeb72876207a786be82a5b890d421e65278af411f6d330" } }, { "language": "zh", "source": { "path": "/home/rezo/audio8-q4-recovery-20260924/native-candidate-harness-linux-v1/artifacts/native-continuous-inputs-v1/zh-16-concatenated.f32le", "bytes": 4730692, "sha256": "288c4dffb6bf219fdca1918ede0127587b86308990db36462c15a517ed198ad3" }, "prefix_samples": 256000, "input": { "path": "/home/rezo/audio8-q4-recovery-20260924/native-caption-prefix-ubuntu2204-v1/prefix-gate-v2/zh.f32le", "bytes": 1024000, "sha256": "0c6cfe81c30c17982fff369cbd137880f492b5528e8c10e48e21fb291a12b6e4" } } ], "profile": { "gear": 4, "first_batch": 1, "mode": "realtime", "delay": 3, "startup": 18, "startup_policy": "realtime18", "activation_mode": "bf16", "encoder_tiled_attention": true }, "commands": [ { "command": [ "/home/rezo/audio8-q4-recovery-20260924/native-caption-prefix-ubuntu2204-v1/bin/audio8-stream", "/home/rezo/audio8-q4-recovery-20260924/native-gptq-q4-decoder-rt240-v1/model.a8m", "/home/rezo/audio8-q4-recovery-20260924/native-candidate-gptq-q4-v1/artifacts/frontend-primitive.a8m", "/home/rezo/audio8-q4-recovery-20260924/native-candidate-gptq-q4-v1/artifacts/native-tokenizer-v1.a8tok", "/home/rezo/audio8-q4-recovery-20260924/native-caption-prefix-ubuntu2204-v1/prefix-gate-v2/en.f32le", "en", "--workers", "8", "--tasks", "4", "--worker-qos", "default", "--activation", "bf16", "--startup", "realtime", "--delay-ms", "240", "--first-batch", "1", "--batch", "1", "--silero-vad", "/home/rezo/audio8-q4-recovery-20260924/ggml-caption-runtime-v1/silero_vad.onnx", "--encoder-tiled-attention", "--prefix-out", "/home/rezo/audio8-q4-recovery-20260924/native-caption-prefix-ubuntu2204-v1/prefix-gate-v2/en.a8pfx" ], "exit_code": 0, "elapsed_seconds": 6.127583265304565, "stdout": { "path": "/home/rezo/audio8-q4-recovery-20260924/native-caption-prefix-ubuntu2204-v1/prefix-gate-v2/en-export.jsonl", "bytes": 289, "sha256": "3d92d1886e570b83f0330e7337f66ab09d3eb7d4e27d72a9f807179386e7319c" }, "stderr": { "path": "/home/rezo/audio8-q4-recovery-20260924/native-caption-prefix-ubuntu2204-v1/prefix-gate-v2/en-export.stderr.txt", "bytes": 0, "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" } }, { "command": [ "/home/rezo/audio8-q4-recovery-20260924/native-caption-prefix-ubuntu2204-v1/bin/audio8-stream", "/home/rezo/audio8-q4-recovery-20260924/native-gptq-q4-decoder-rt240-v1/model.a8m", "/home/rezo/audio8-q4-recovery-20260924/native-candidate-gptq-q4-v1/artifacts/frontend-primitive.a8m", "/home/rezo/audio8-q4-recovery-20260924/native-candidate-gptq-q4-v1/artifacts/native-tokenizer-v1.a8tok", "/home/rezo/audio8-q4-recovery-20260924/native-caption-prefix-ubuntu2204-v1/prefix-gate-v2/en.f32le", "en", "--workers", "8", "--tasks", "4", "--worker-qos", "default", "--activation", "bf16", "--startup", "realtime", "--delay-ms", "240", "--first-batch", "1", "--batch", "1", "--silero-vad", "/home/rezo/audio8-q4-recovery-20260924/ggml-caption-runtime-v1/silero_vad.onnx", "--encoder-tiled-attention" ], "exit_code": 0, "elapsed_seconds": 15.062812566757202, "stdout": { "path": "/home/rezo/audio8-q4-recovery-20260924/native-caption-prefix-ubuntu2204-v1/prefix-gate-v2/en-fresh.jsonl", "bytes": 65082, "sha256": "de87bf89c390ba8aae113d04d189096c327c541475aff63655ebbf23bdf74700" }, "stderr": { "path": "/home/rezo/audio8-q4-recovery-20260924/native-caption-prefix-ubuntu2204-v1/prefix-gate-v2/en-fresh.stderr.txt", "bytes": 0, "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" } }, { "command": [ "/home/rezo/audio8-q4-recovery-20260924/native-caption-prefix-ubuntu2204-v1/bin/audio8-stream", "/home/rezo/audio8-q4-recovery-20260924/native-gptq-q4-decoder-rt240-v1/model.a8m", "/home/rezo/audio8-q4-recovery-20260924/native-candidate-gptq-q4-v1/artifacts/frontend-primitive.a8m", "/home/rezo/audio8-q4-recovery-20260924/native-candidate-gptq-q4-v1/artifacts/native-tokenizer-v1.a8tok", "/home/rezo/audio8-q4-recovery-20260924/native-caption-prefix-ubuntu2204-v1/prefix-gate-v2/en.f32le", "en", "--workers", "8", "--tasks", "4", "--worker-qos", "default", "--activation", "bf16", "--startup", "realtime", "--delay-ms", "240", "--first-batch", "1", "--batch", "1", "--silero-vad", "/home/rezo/audio8-q4-recovery-20260924/ggml-caption-runtime-v1/silero_vad.onnx", "--encoder-tiled-attention", "--prefix-in", "/home/rezo/audio8-q4-recovery-20260924/native-caption-prefix-ubuntu2204-v1/prefix-gate-v2/en.a8pfx" ], "exit_code": 0, "elapsed_seconds": 14.595821619033813, "stdout": { "path": "/home/rezo/audio8-q4-recovery-20260924/native-caption-prefix-ubuntu2204-v1/prefix-gate-v2/en-resumed.jsonl", "bytes": 65142, "sha256": "c3a1898d3e76f59952a8407ccc8645abca273251945078f5d14f79b0b53decca" }, "stderr": { "path": "/home/rezo/audio8-q4-recovery-20260924/native-caption-prefix-ubuntu2204-v1/prefix-gate-v2/en-resumed.stderr.txt", "bytes": 0, "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" } }, { "command": [ "/home/rezo/audio8-q4-recovery-20260924/native-caption-prefix-ubuntu2204-v1/bin/audio8-stream", "/home/rezo/audio8-q4-recovery-20260924/native-gptq-q4-decoder-rt240-v1/model.a8m", "/home/rezo/audio8-q4-recovery-20260924/native-candidate-gptq-q4-v1/artifacts/frontend-primitive.a8m", "/home/rezo/audio8-q4-recovery-20260924/native-candidate-gptq-q4-v1/artifacts/native-tokenizer-v1.a8tok", "/home/rezo/audio8-q4-recovery-20260924/native-caption-prefix-ubuntu2204-v1/prefix-gate-v2/zh.f32le", "zh", "--workers", "8", "--tasks", "4", "--worker-qos", "default", "--activation", "bf16", "--startup", "realtime", "--delay-ms", "240", "--first-batch", "1", "--batch", "1", "--silero-vad", "/home/rezo/audio8-q4-recovery-20260924/ggml-caption-runtime-v1/silero_vad.onnx", "--encoder-tiled-attention", "--prefix-out", "/home/rezo/audio8-q4-recovery-20260924/native-caption-prefix-ubuntu2204-v1/prefix-gate-v2/zh.a8pfx" ], "exit_code": 0, "elapsed_seconds": 6.2312843799591064, "stdout": { "path": "/home/rezo/audio8-q4-recovery-20260924/native-caption-prefix-ubuntu2204-v1/prefix-gate-v2/zh-export.jsonl", "bytes": 289, "sha256": "df930bb22d58803b1d5bd565cda9a06ea628f2d529f038b7eaa5cb0511288804" }, "stderr": { "path": "/home/rezo/audio8-q4-recovery-20260924/native-caption-prefix-ubuntu2204-v1/prefix-gate-v2/zh-export.stderr.txt", "bytes": 0, "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" } }, { "command": [ "/home/rezo/audio8-q4-recovery-20260924/native-caption-prefix-ubuntu2204-v1/bin/audio8-stream", "/home/rezo/audio8-q4-recovery-20260924/native-gptq-q4-decoder-rt240-v1/model.a8m", "/home/rezo/audio8-q4-recovery-20260924/native-candidate-gptq-q4-v1/artifacts/frontend-primitive.a8m", "/home/rezo/audio8-q4-recovery-20260924/native-candidate-gptq-q4-v1/artifacts/native-tokenizer-v1.a8tok", "/home/rezo/audio8-q4-recovery-20260924/native-caption-prefix-ubuntu2204-v1/prefix-gate-v2/zh.f32le", "zh", "--workers", "8", "--tasks", "4", "--worker-qos", "default", "--activation", "bf16", "--startup", "realtime", "--delay-ms", "240", "--first-batch", "1", "--batch", "1", "--silero-vad", "/home/rezo/audio8-q4-recovery-20260924/ggml-caption-runtime-v1/silero_vad.onnx", "--encoder-tiled-attention" ], "exit_code": 0, "elapsed_seconds": 19.04717469215393, "stdout": { "path": "/home/rezo/audio8-q4-recovery-20260924/native-caption-prefix-ubuntu2204-v1/prefix-gate-v2/zh-fresh.jsonl", "bytes": 89018, "sha256": "7e7051cbbddd77c7c853588e16ff35a0281609be08343892316456009105901c" }, "stderr": { "path": "/home/rezo/audio8-q4-recovery-20260924/native-caption-prefix-ubuntu2204-v1/prefix-gate-v2/zh-fresh.stderr.txt", "bytes": 0, "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" } }, { "command": [ "/home/rezo/audio8-q4-recovery-20260924/native-caption-prefix-ubuntu2204-v1/bin/audio8-stream", "/home/rezo/audio8-q4-recovery-20260924/native-gptq-q4-decoder-rt240-v1/model.a8m", "/home/rezo/audio8-q4-recovery-20260924/native-candidate-gptq-q4-v1/artifacts/frontend-primitive.a8m", "/home/rezo/audio8-q4-recovery-20260924/native-candidate-gptq-q4-v1/artifacts/native-tokenizer-v1.a8tok", "/home/rezo/audio8-q4-recovery-20260924/native-caption-prefix-ubuntu2204-v1/prefix-gate-v2/zh.f32le", "zh", "--workers", "8", "--tasks", "4", "--worker-qos", "default", "--activation", "bf16", "--startup", "realtime", "--delay-ms", "240", "--first-batch", "1", "--batch", "1", "--silero-vad", "/home/rezo/audio8-q4-recovery-20260924/ggml-caption-runtime-v1/silero_vad.onnx", "--encoder-tiled-attention", "--prefix-in", "/home/rezo/audio8-q4-recovery-20260924/native-caption-prefix-ubuntu2204-v1/prefix-gate-v2/zh.a8pfx" ], "exit_code": 0, "elapsed_seconds": 18.46669030189514, "stdout": { "path": "/home/rezo/audio8-q4-recovery-20260924/native-caption-prefix-ubuntu2204-v1/prefix-gate-v2/zh-resumed.jsonl", "bytes": 88998, "sha256": "2ba1a4fbe003646de1773f67a64d90df85b9d8ec45525425cf005395472ad7e1" }, "stderr": { "path": "/home/rezo/audio8-q4-recovery-20260924/native-caption-prefix-ubuntu2204-v1/prefix-gate-v2/zh-resumed.stderr.txt", "bytes": 0, "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" } } ], "cases": [ { "language": "en", "windows": 161, "segments": 2, "all_ids_logits_clocks_exact": true, "independent_caption_oracle": true, "prefix": { "path": "/home/rezo/audio8-q4-recovery-20260924/native-caption-prefix-ubuntu2204-v1/prefix-gate-v2/en.a8pfx", "bytes": 18454412, "sha256": "81ec974db771b9e2aa45f5f8686a45c8717c5662ba30f814f11a10cd91c3525e" }, "prefix_metadata": { "path": "/home/rezo/audio8-q4-recovery-20260924/native-caption-prefix-ubuntu2204-v1/prefix-gate-v2/en.a8pfx", "body_sha256": "05352479b4c46d0fdcec8f2eb16523d4aa2c06ee84c50752b0c21bc418ff485f", "payload_bytes": 18452480, "artifact_bytes": 18454412, "encoder_frames": 68, "decoder_tokens": 17, "format": "A8PFX003", "transcription_delay_ms": 240, "startup_policy": "realtime18", "startup_input_tokens": 18, "first_batch_windows": 1, "model_body_sha256": "0a5949f95ac476d7b9bd90ae70b55e6940e6a72ae5a614093f2c181bbb1c3553", "frontend_sha256": "ab3a69e95c9a7fd54adeec09c9cdfe4c79fa81f85908f2154d074bde9ee43102", "math_sha256": "f10ccbdc33ed5bc73d96516403634cd5551c81a05be823af91060a178a92d2d3", "runtime_sha256": "7adfc3de2191b42c3fed7d180d101566fadbbe1ff30ba47d2ce99e254501814b", "layout_sha256": "f5a298202d28b8df3c3732d2ed732b8fd3375ec68afdf20be4094c912bc52301", "independent_runtime_validation": { "sha256": "7adfc3de2191b42c3fed7d180d101566fadbbe1ff30ba47d2ce99e254501814b", "backend": "avx512_vnni", "activation_mode": "bf16", "bf16_backend": "avx512_bf16_q4", "worker_qos": "default", "pool_driver": true, "uname_stdout": "Linux 7.0.0-31-generic x86_64\n", "cpu_identity_lines": [ "model name\t: AMD Ryzen AI 9 HX 370 w/ Radeon 890M", "flags\t\t: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good amd_lbr_v2 nopl xtopology nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpuid_fault cpb cat_l3 cdp_l3 hw_pstate ssbd mba perfmon_v2 ibrs ibpb stibp ibrs_enhanced vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a avx512f avx512dq adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local user_shstk avx_vnni avx512_bf16 clzero irperf xsaveerptr rdpru wbnoinvd cppc arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif x2avic v_spec_ctrl vnmi avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid bus_lock_detect movdiri movdir64b overflow_recov succor smca fsrm avx512_vp2intersect flush_l1d amd_lbr_pmc_freeze" ], "method": "independent Linux runtime fingerprint with record-declared backend; native importer verifies actual backend" }, "remaining_native_validation": "Runtime additionally verifies actual packed layout identity and finite BF16 payloads before importing caches." }, "fresh_first_step_seconds": 0.533635214, "resumed_first_step_seconds": 0.079253785, "no_speed_claim": true }, { "language": "zh", "windows": 213, "segments": 1, "all_ids_logits_clocks_exact": true, "independent_caption_oracle": true, "prefix": { "path": "/home/rezo/audio8-q4-recovery-20260924/native-caption-prefix-ubuntu2204-v1/prefix-gate-v2/zh.a8pfx", "bytes": 18454412, "sha256": "7613c43a7d9b92f436aeb297b71f47ae5e39b89964534cb508204ea765bd9725" }, "prefix_metadata": { "path": "/home/rezo/audio8-q4-recovery-20260924/native-caption-prefix-ubuntu2204-v1/prefix-gate-v2/zh.a8pfx", "body_sha256": "e51d5f7a67a70c9c00c7a86aa262192224b6e14ed074ffa27bfd2f564c0f9777", "payload_bytes": 18452480, "artifact_bytes": 18454412, "encoder_frames": 68, "decoder_tokens": 17, "format": "A8PFX003", "transcription_delay_ms": 240, "startup_policy": "realtime18", "startup_input_tokens": 18, "first_batch_windows": 1, "model_body_sha256": "0a5949f95ac476d7b9bd90ae70b55e6940e6a72ae5a614093f2c181bbb1c3553", "frontend_sha256": "ab3a69e95c9a7fd54adeec09c9cdfe4c79fa81f85908f2154d074bde9ee43102", "math_sha256": "f10ccbdc33ed5bc73d96516403634cd5551c81a05be823af91060a178a92d2d3", "runtime_sha256": "7adfc3de2191b42c3fed7d180d101566fadbbe1ff30ba47d2ce99e254501814b", "layout_sha256": "f5a298202d28b8df3c3732d2ed732b8fd3375ec68afdf20be4094c912bc52301", "independent_runtime_validation": { "sha256": "7adfc3de2191b42c3fed7d180d101566fadbbe1ff30ba47d2ce99e254501814b", "backend": "avx512_vnni", "activation_mode": "bf16", "bf16_backend": "avx512_bf16_q4", "worker_qos": "default", "pool_driver": true, "uname_stdout": "Linux 7.0.0-31-generic x86_64\n", "cpu_identity_lines": [ "model name\t: AMD Ryzen AI 9 HX 370 w/ Radeon 890M", "flags\t\t: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good amd_lbr_v2 nopl xtopology nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpuid_fault cpb cat_l3 cdp_l3 hw_pstate ssbd mba perfmon_v2 ibrs ibpb stibp ibrs_enhanced vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a avx512f avx512dq adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local user_shstk avx_vnni avx512_bf16 clzero irperf xsaveerptr rdpru wbnoinvd cppc arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif x2avic v_spec_ctrl vnmi avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid bus_lock_detect movdiri movdir64b overflow_recov succor smca fsrm avx512_vp2intersect flush_l1d amd_lbr_pmc_freeze" ], "method": "independent Linux runtime fingerprint with record-declared backend; native importer verifies actual backend" }, "remaining_native_validation": "Runtime additionally verifies actual packed layout identity and finite BF16 payloads before importing caches." }, "fresh_first_step_seconds": 0.535788785, "resumed_first_step_seconds": 0.084110163, "no_speed_claim": true } ], "started_unix": 1790315285.2615948, "source_manifest_sha256": "70f257fac9ab0a96e116684623e893dad875acefff947adb04b694c9283dc0b8", "measured_latency": false, "quality_acceptance": false, "production_ready": false, "finished_unix": 1790315365.9362092, "all_assets_unchanged": true}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171{ "status": "complete", "started_unix": 1790312814.4039152, "source_manifest_sha256": "5f47ecf9cfa0f1f9c83d4f628881486460798debe08f7ecb999aa2971cc41390", "source_archive_sha256": "94e4a87f9a1f7c890c876121b8ba6a80985bcb8392b95f0446bd337598ff9a41", "fixture_sha256": "7c9b2457035de4f5e1e8036764062e231ff4fb5e44a9016f9dd515d9382a3272", "commands": [ { "command": [ "/home/rezo/.cargo/bin/cargo", "test", "--offline", "--locked", "--release", "--features", "x86-vnni", "--lib", "kv_storage::", "--", "--test-threads=1" ], "exit_code": 0, "elapsed_seconds": 30.30485224723816, "log": "step-0.log", "sha256": "b7b29778ad7072c022ce99bf93b2599c44e086d3ba94eb107fafae19265e2fad" }, { "command": [ "/home/rezo/.cargo/bin/cargo", "test", "--offline", "--locked", "--release", "--features", "x86-vnni", "--lib", "kv_storage::tests::rolling_upstream_oracle_fp32_and_exact_bf16", "--", "--ignored", "--exact", "--nocapture", "--test-threads=1" ], "exit_code": 0, "elapsed_seconds": 0.04168415069580078, "log": "step-1.log", "sha256": "2a710a5d4d644db27c3c88b1fbf06f7b8b26840b77863d08b48f8190e75fed56" }, { "command": [ "/home/rezo/.cargo/bin/cargo", "test", "--offline", "--locked", "--release", "--features", "x86-vnni", "--lib", "kv_storage::rebase_x86::tests::encoder_shape_rotation_pairs", "--", "--ignored", "--exact", "--nocapture", "--test-threads=1" ], "exit_code": 0, "elapsed_seconds": 0.1820228099822998, "log": "step-2.log", "sha256": "f9ca79785e6961beb2d4bb4f82764010d8fe847e75fd36935693b6336c9d9368" } ], "cpu_affinity": [ 0, 1, 2, 3, 4, 5, 6, 7 ], "nice": 15, "rustc": "rustc 1.96.1 (31fca3adb 2026-06-26)\nbinary: rustc\ncommit-hash: 31fca3adb283cc9dfd56b49cdee9a96eb9c96ffd\ncommit-date: 2026-06-26\nhost: x86_64-unknown-linux-gnu\nrelease: 1.96.1\nLLVM version: 22.1.2\n", "libc": "glibc 2.43", "full_asr": false, "promoted": false, "default_enabled": false, "finished_unix": 1790312844.9562016, "results": [ { "kind": "bf16_rebase_rotation_pair", "history": 749, "heads": 32, "dim": 64, "delta": -152, "displaced_64mib": false, "reference_seconds": [ 0.002228111, 0.001592193, 0.001588907, 0.001588035, 0.001592994, 0.001593525, 0.002038657, 0.001591962, 0.001587114, 0.001587274, 0.001589448 ], "candidate_seconds": [ 0.000505073, 0.000504673, 0.000506386, 0.000504432, 0.000521113, 0.000504692, 0.001189211, 0.000504072, 0.000506316, 0.000506105, 0.000504261 ], "paired_median_speedup": 3.1481646683794846, "pairs": 11, "output_bits_exact": true, "full_cache_operation": false }, { "kind": "bf16_rebase_rotation_pair", "history": 749, "heads": 32, "dim": 64, "delta": -152, "displaced_64mib": true, "reference_seconds": [ 0.001589869, 0.0015904, 0.001591812, 0.001589678, 0.001591952, 0.001588326, 0.001588045, 0.001588145, 0.001589288, 0.001589257, 0.001589879 ], "candidate_seconds": [ 0.000506015, 0.000505734, 0.000505575, 0.000505223, 0.000506996, 0.000505104, 0.000508099, 0.000507758, 0.000505564, 0.000508048, 0.000505884 ], "paired_median_speedup": 3.1427738374805294, "pairs": 11, "output_bits_exact": true, "full_cache_operation": false } ], "source_unchanged": true, "test_binary_sha256": "9bf3fd27915c3151249c2ff0bfa4e36df7b4d9ba2432c28749320a9d482ac648", "test_binary": "/home/rezo/audio8-q4-recovery-20260924/native-rebase-avx2-v3/target/release/deps/audio8_ternary-07edbc0a53216929", "fresh_target_directory": true}19 unmodified lines202122232324252652 unmodified lines79808182838283848586878826 unmodified lines11511611711811912012112212012312412512619 unmodified lines "silero_model_sha256": "1a153a22f4509e292a94e67d6f9b85e8deb25b4988682b7e174c65279d8788e3", "source_sha256": "8b6d69400d95de97fc68b918eca6ac18a7cd30f7f38534d55c3e811c2363a19c" }, "format": "audio8-experimental-execution-v1", "format": "audio8-experimental-execution-v2", "mlx": { "bindings": { "bundle_manifest": "a068c0532c24b208d95de2b02af4533701f21bdb2436936178a35c8e6d219f45",52 unmodified lines "linux-x86_64": { "binary": "bin/linux-x86_64/audio8-stream", "bindings": { "binary": "30486025c4ba0cb6d8f4d094b556fb22dbe7ecd2018caaeda740ed235ff51626", "model": "d40c393cfdb4fbd231c5fab593d844018b26f80d8a0113c9ae297b8edbee60ad" "binary": "f10ccbdc33ed5bc73d96516403634cd5551c81a05be823af91060a178a92d2d3", "model": "d40c393cfdb4fbd231c5fab593d844018b26f80d8a0113c9ae297b8edbee60ad", "source_archive": "fd68ec98f70ea455621adb1318b467cec36221dd9b66212f3e81cf5d92c48692", "source_manifest": "70f257fac9ab0a96e116684623e893dad875acefff947adb04b694c9283dc0b8" }, "caption": { "format": "audio8-silero-caption-profile-v1",26 unmodified lines "workers": 8 }, "delay_ms": 240, "encoder_tiled_attention": true, "first_batch_windows": 1, "gear": 4, "nice": null, "pool_driver": true, "prefix_mode": "none", "prefix_mode": "optional", "row_tasks": 4, "startup": "realtime", "worker_qos": "default",37 unmodified lines3839404142434444 unmodified lines899091929394956 unmodified lines10210310410510610710829 unmodified lines13813914013814114214314432 unmodified lines17717817918018118218318418517817918018118618718818919019119219319419519619719818319920020131 unmodified lines2332342352212362372382396 unmodified lines24624724824925025125225325425525625725825926026126224026326426526628 unmodified lines295296297275276298299300301302303304305306307308309310311312178 unmodified lines49149249349449549649749849950050150250350450550650750850951051151251351451551651751851952037 unmodified lines prefix_in: Option<String>, prefix_out: Option<String>, silero_vad: Option<String>, encoder_tiled_attention: bool,}impl Options { fn token_period_ms(&self) -> u32 {44 unmodified lines prefix_in: None, prefix_out: None, silero_vad: None, encoder_tiled_attention: false, }; let mut args = args; let mut seen = std::collections::HashSet::new();6 unmodified lines "--pace-audio" => result.pace = true, "--trace-windows" => result.trace = true, "--cache-digest" => result.cache_digest = true, "--encoder-tiled-attention" => result.encoder_tiled_attention = true, "--workers" | "--batch" | "--first-batch" | "--delay-ms" | "--tasks" | "--gear" | "--startup" | "--worker-qos" | "--activation" | "--prefix-in" | "--prefix-out" | "--silero-vad" => {29 unmodified lines } } if result.positional.len() != 5 { return Err("usage: audio8-stream MODEL FRONTEND TOKENIZER INPUT.f32le|- en|zh [--workers 1|2|4|8] [--batch 1|2|4|8|16] [--first-batch 1|2|4|8] [--delay-ms 80|160|240|480] [--startup hf|realtime] [--tasks 1|2|4|8] [--gear 4|6|8] [--worker-qos default|user-initiated] [--activation fp32|a8|a8r|a16|bf16] [--prefix-in FILE | --prefix-out FILE (gear4 only)] [--silero-vad MODEL.onnx] [--pace-audio] [--trace-windows] [--cache-digest]".into()); return Err("usage: audio8-stream MODEL FRONTEND TOKENIZER INPUT.f32le|- en|zh [--workers 1|2|4|8] [--batch 1|2|4|8|16] [--first-batch 1|2|4|8] [--delay-ms 80|160|240|480] [--startup hf|realtime] [--tasks 1|2|4|8] [--gear 4|6|8] [--worker-qos default|user-initiated] [--activation fp32|a8|a8r|a16|bf16] [--prefix-in FILE | --prefix-out FILE (gear4 only)] [--silero-vad MODEL.onnx] [--encoder-tiled-attention] [--pace-audio] [--trace-windows] [--cache-digest]".into()); } if ![1, 2, 4, 8].contains(&result.workers) || ![1, 2, 4, 8].contains(&result.tasks)32 unmodified lines "stdin uses actual arrival timing; --pace-audio is a file simulation".into(), ); } if result.encoder_tiled_attention && (result.silero_vad.is_none() || !cfg!(target_arch = "x86_64")) { return Err("--encoder-tiled-attention requires the x86 Silero caption route".into()); } if result.silero_vad.is_some() { if result.startup != StartupPolicy::Realtime || result.delay_ms != 240 || result.gear != 4 || result.batch != 1 || result.activation != "bf16" || result.prefix_in.is_some() || result.prefix_out.is_some() || result.cache_digest { return Err("--silero-vad requires realtime/240ms/gear4/batch1/BF16 and no prefix or cache digest".into()); if result.startup != StartupPolicy::Realtime || result.delay_ms != 240 || result.gear != 4 || result.batch != 1 || result.activation != "bf16" || result.first_batch_windows() != 1 || result.cache_digest { return Err("--silero-vad requires realtime/240ms/gear4/first-batch1/batch1/BF16 and no cache digest".into()); } if !cfg!(feature = "silero") { return Err("build with --features silero for the VAD caption route".into()); } if !cfg!(feature = "silero") { return Err("build with --features silero for the VAD caption route".into()); } } Ok(result) }31 unmodified lines let frontend = MelFixture::from_bytes(&frontend_bytes)?.frontend; let tokenizer = VisibleTokenizer::from_bytes(&small_file(&opts.positional[2], 16 * 1024 * 1024)?)?; let model = ModelWeights::load_with_options( let mut model = ModelWeights::load_with_options( Path::new(&opts.positional[0]), ModelLoadOptions { q3_bitplanes: activation_a8,6 unmodified lines trim_repack_scratch: activation_a8, }, )?; if opts.encoder_tiled_attention { for layer in &mut model.encoders { layer.enable_tiled_attention(true); } } let prefix_key = if opts.prefix_in.is_some() || opts.prefix_out.is_some() { let hash = prefix_cache::sha256_reader(std::fs::File::open(std::env::current_exe()?)?)?; let mut execution = runtime_identity(&hash, true)?.to_vec(); execution.extend_from_slice(b"\0encoder_tiled_attention="); execution.push(u8::from(opts.encoder_tiled_attention)); let key = PrefixKey::for_model_with_delay( &model, prefix_cache::sha256_bytes(&frontend_bytes), hash, runtime_identity(&hash, true)?, prefix_cache::sha256_bytes(&execution), language, opts.first_batch_windows(), config.delay_tokens,28 unmodified lines } #[cfg(feature = "silero")] if let Some(vad_path) = &opts.silero_vad { return silero_stream::run(&model, &frontend, &tokenizer, &opts.positional[3], vad_path, language, opts.pace, opts.workers, loading); return silero_stream::run( &model, &frontend, &tokenizer, &opts.positional[3], vad_path, language, opts.pace, opts.workers, prefix_key.as_ref().zip(opts.prefix_in.as_deref()), loading, ); } // The pinned realtime adapter supports only80ms. Other trained gears use // an explicitly experimental native policy derived from1500 encoder frames178 unmodified lines ) } #[test] fn encoder_tiles_are_opt_in_and_scoped_to_x86_caption_mode() { assert!(!parse("").unwrap().encoder_tiled_attention); assert!(parse("--encoder-tiled-attention").is_err()); let flags = "--encoder-tiled-attention --silero-vad vad.onnx --activation bf16 --startup realtime --delay-ms 240 --first-batch 1 --batch 1"; if cfg!(all(target_arch = "x86_64", feature = "silero")) { assert!(parse(flags).unwrap().encoder_tiled_attention); } else { assert!(parse(flags).is_err()); } assert!(parse(&format!("{flags} --encoder-tiled-attention")).is_err()); } #[test] fn caption_prefix_import_and_export_are_explicit_and_profile_bound() { let flags = "--silero-vad vad.onnx --activation bf16 --startup realtime --delay-ms 240 --first-batch 1 --batch 1"; for mode in ["--prefix-in saved.a8p", "--prefix-out saved.a8p"] { assert_eq!( parse(&format!("{flags} {mode}")).is_ok(), cfg!(feature = "silero") ); } assert!(parse(&format!("{flags} --prefix-in a --prefix-out b")).is_err()); assert!(parse("--silero-vad vad.onnx --activation bf16 --startup realtime --delay-ms 240 --first-batch 2 --batch 1").is_err()); } #[test] fn activation_precision_is_explicit_and_rejects_unknown_modes() { assert_eq!(parse("").unwrap().activation, "a8"); assert_eq!(parse("--activation fp32").unwrap().activation, "fp32");4 unmodified lines5678910115 unmodified lines1718192021222324212223252627282930313233343536373839404142434445464748495051525354555657585911 unmodified lines7172737475767778798081828316 unmodified lines1001011021031041051063 unmodified lines1101111121131141151161171181 unmodified line120121122841231241251261271281291304 unmodified lines frontend::LogMel, gated_audio::{GatedAudio, POLICY_NAME}, model_loader::ModelWeights, prefix_cache::PrefixKey, tokenizer::VisibleTokenizer, Error,};5 unmodified lines eos: usize, session: Option<Session<'a>>, first: bool, phases: Option<[f64; 5]>, prefix: Option<(&'a PrefixKey, &'a str)>, prefix_body: Option<[u8; 32]>,}impl<'a> Cpu<'a> { fn fresh(&self) -> audio8_ternary::Result<Session<'a>> { let mut session = Session::new_with_bf16_cache(self.model, self.frontend, 3, 4, 375, self.eos, true)?; fn fresh(&mut self) -> audio8_ternary::Result<Session<'a>> { let mut session = if let Some((key, path)) = self.prefix { // Read directly into final cache storage, without retaining a second // artifact-sized copy. Every reset revalidates identity and checksum. let file = std::fs::File::open(path).map_err(|e| Error(e.to_string()))?; let (session, summary) = Session::from_constant_prefix( self.model, self.frontend, 375, self.eos, key, std::io::BufReader::new(file), )?; if self .prefix_body .is_some_and(|expected| expected != summary.body_sha256) { return Err(Error("caption prefix body changed between segments".into())); } self.prefix_body = Some(summary.body_sha256); session } else { Session::new_with_bf16_cache(self.model, self.frontend, 3, 4, 375, self.eos, true)? }; session.enable_rolling(RollingConfig::audio8_default())?; Ok(session) }}impl Engine for Cpu<'_> { fn last_phase_seconds(&self) -> Option<[f64; 5]> { self.phases } fn reset(&mut self) -> audio8_ternary::Result<()> { if self.first { self.first = false;11 unmodified lines .as_mut() .ok_or_else(|| Error("CPU caption session absent".into()))?; let r = session.window(audio, prompt)?; self.phases = Some([ r.frontend_seconds, r.encoder_seconds, r.projector_seconds, r.decoder_seconds, r.head_seconds, ]); Ok(Token { id: r.token_id, logit: r.logit,16 unmodified lines language: u32, pace: bool, workers: usize, prefix: Option<(&PrefixKey, &str)>, loading: Instant,) -> Result<(), Box<dyn std::error::Error>> { let mut vad = SileroVad::load(Path::new(vad_path))?;3 unmodified lines eos: tokenizer.special_ids().eos as usize, session: None, first: true, phases: None, prefix, prefix_body: None, }; engine.session = Some(engine.fresh()?); let reader: Box<dyn Read + Send> = if input == "-" {1 unmodified line } else { Box::new(std::fs::File::open(input)?) }; super::write_event(&format!("{{\"kind\":\"caption_stream_ready\",\"backend\":\"native_cpu\",\"activation\":\"bf16\",\"activation_backend\":{},\"workers\":{workers},\"model_body_sha256\":{},\"weights_resident_bytes\":{},\"startup\":\"realtime18\",\"delay_ms\":240,\"batch\":1,\"silero_sha256\":{},\"silence_policy\":{},\"input_mode\":{},\"load_seconds\":{},\"production_accuracy_approved\":false}}", super::write_event(&format!("{{\"kind\":\"caption_stream_ready\",\"backend\":\"native_cpu\",\"activation\":\"bf16\",\"activation_backend\":{},\"workers\":{workers},\"model_body_sha256\":{},\"weights_resident_bytes\":{},\"startup\":\"realtime18\",\"delay_ms\":240,\"batch\":1,\"encoder_attention\":{},\"constant_prefix_used\":{},\"constant_prefix_body_sha256\":{},\"silero_sha256\":{},\"silence_policy\":{},\"input_mode\":{},\"load_seconds\":{},\"production_accuracy_approved\":false}}", caption_stream::quoted(audio8_ternary::uniform::bf16_backend()), caption_stream::quoted(&super::common::digest_hex(&model.stream_body_sha256)),model.resident_weight_payload_bytes, caption_stream::quoted(if model.encoders.iter().all(|layer| layer.tiled_attention_enabled()) {"x86_four_query_tiled"} else {"per_frame_heads"}), engine.prefix.is_some(), engine.prefix_body.map(|h| caption_stream::quoted(&super::common::digest_hex(&h))).unwrap_or_else(|| "null".to_string()), caption_stream::quoted(audio8_silero_tract_probe::MODEL_SHA256),caption_stream::quoted(POLICY_NAME), caption_stream::quoted(if input=="-" {"stdin"} else if pace {"paced_file"} else {"unpaced_file"}),loading.elapsed().as_secs_f64()))?; let started = Instant::now();22 unmodified lines2324252627282930313233106 unmodified lines14014114214314414514614714814915015115215315414 unmodified lines169170171158172173174175106 unmodified lines28228328428528628728828929029129229354 unmodified lines34834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538622 unmodified lines /// Greedy output must suppress EOS and use the tokenizer's model vocabulary. /// A failure terminates this stream; the caller must not resume its state. fn step(&mut self, audio: &[f32], prompt: &[u32]) -> Result<Token>; /// Existing phase timers from the last step, including rolling work. /// Order: frontend, encoder, projector, decoder, output head. fn last_phase_seconds(&self) -> Option<[f64; 5]> { None }}#[derive(Debug, Default)]pub struct Summary {106 unmodified lines { return Err(err("caption model token/EOS-suppression contract")); } let phases = match engine.last_phase_seconds() { Some(values) => { if values.iter().any(|v| !v.is_finite() || *v < 0.) { return Err(err("invalid caption phase timing")); } format!(",\"phase_seconds\":{values:?}") } None => String::new(), }; summary.model_seconds += work; summary.peak_cache_bytes = summary.peak_cache_bytes.max(token.cache_bytes); ids.update(token.id.to_le_bytes());14 unmodified lines } else { "null".into() }; emit(&format!("{{\"kind\":\"caption_window\",\"index\":{},\"segment\":{},\"segment_index\":{},\"token_id\":{},\"logit_bits\":{},\"seconds\":{seconds},\"source_dependency_sample\":{},\"available_source_sample\":{},\"eof_drain\":{},\"queue_seconds\":{queue},\"work_seconds\":{work},\"cache_bytes\":{},\"rolling_trims\":{}}}", emit(&format!("{{\"kind\":\"caption_window\",\"index\":{},\"segment\":{},\"segment_index\":{},\"token_id\":{},\"logit_bits\":{},\"seconds\":{seconds},\"source_dependency_sample\":{},\"available_source_sample\":{},\"eof_drain\":{},\"queue_seconds\":{queue},\"work_seconds\":{work},\"cache_bytes\":{},\"rolling_trims\":{}{phases}}}", summary.emissions,w.segment.id,w.index,token.id,token.logit.to_bits(),w.nominal_source_end_sample,w.available_sample,w.eof_drain,token.cache_bytes,token.trims))?; previous = Some(token.id); local_index += 1;106 unmodified lines calls: Vec<(usize, u64, Vec<u32>, usize)>, bad: Option<Bad>, fail_reset: bool, phases: Option<[f64; 5]>, } impl Engine for Mock { fn last_phase_seconds(&self) -> Option<[f64; 5]> { self.phases } fn reset(&mut self) -> Result<()> { if self.fail_reset { return Err(err("mock reset failure"));54 unmodified lines line.starts_with(&format!("{{\"kind\":\"{value}\"")) } #[test] fn phase_reporting_preserves_token_feedback_and_rejects_invalid_values() { let mut digests = Vec::new(); for phases in [None, Some([0.001; 5]), Some([f64::NAN; 5]), Some([-1.; 5])] { let mut engine = Mock { phases, ..Mock::default() }; let mut events = Vec::new(); let result = run( source(pcm(2, 0), |_| true), &mut engine, &TOKENIZER, 151668, Instant::now(), false, |s| { events.push(s.to_owned()); Ok(()) }, ); if phases.is_some_and(|v| !v[0].is_finite() || v[0] < 0.) { assert!(result.is_err()); assert_eq!(events.len(), 1); } else { digests.push(result.unwrap().generated_ids_sha256); for row in events.iter().filter(|s| kind(s, "caption_window")) { assert_eq!(row.contains("\"phase_seconds\""), phases.is_some()); } } } assert_eq!(digests[0], digests[1]); } #[test] fn resets_restore_prompt_feedback_and_isolate_utf8_without_losing_tails() { // Last speech in frame1; first segment closes at frame64 (33,280 samples). // It has26 complete model windows. The second segment starts after a gap.9 unmodified lines10111213141516171819202 unmodified lines2222232242212252262272282292302312329 unmodified lines2422432442452462472482492502512522539 unmodified linesconst DIM: usize = 64;const TILE: usize = 4;
#[cfg(target_arch = "x86_64")]#[path = "encoder_tiled_attention_x86.rs"]mod x86;
fn cache_row<'a>( old: &'a [u16], recent: &'a [u16],202 unmodified lines unsafe { neon_dot_four(queries, key) } #[cfg(not(target_arch = "aarch64"))] #[cfg(target_arch = "x86_64")] { x86::dot_four(queries, key) } #[cfg(not(any(target_arch = "aarch64", target_arch = "x86_64")))] { let mut sums = [[0.0; 4]; TILE]; for (col, &word) in key.iter().enumerate() {9 unmodified lines#[inline]fn add_four(output: &mut [[f32; DIM]; TILE], values: &[u16], probability: [f32; TILE], mask: u8) { debug_assert_eq!(values.len(), DIM); #[cfg(target_arch = "x86_64")] if is_x86_feature_detected!("avx2") { // SAFETY: AVX2 was detected and the helper checks the fixed row length. unsafe { x86::add_four_avx2(output, values, probability, mask) }; return; } #[cfg(target_arch = "aarch64")] // SAFETY: fixed output arrays and validated64-word value row. unsafe {340 unmodified lines341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470340 unmodified lines }}
#[cfg(all(target_arch = "x86_64", feature = "parallel", feature = "x86-vnni"))]#[test]#[ignore = "fixed actual BF16 layer pairs; requires a quiet eight-core CPU slot"]fn actual_x86_bf16_tiled_encoder_pairs() { use crate::encoder::EncoderFixture; use crate::uniform::{ configure_activation_bf16, configure_row_tasks_per_worker, configure_row_threads, run_in_row_pool, }; use sha2::{Digest, Sha256}; use std::{hint::black_box, time::Instant}; configure_row_tasks_per_worker(4).unwrap(); configure_row_threads(8).unwrap(); configure_activation_bf16(true).unwrap(); assert_eq!(crate::uniform::bf16_backend(), "avx512_bf16_q4"); let bytes = std::fs::read(std::env::var("AUDIO8_ENCODER_FIXTURE").unwrap()).unwrap(); let digest = format!("{:x}", Sha256::digest(&bytes)); assert_eq!( digest, "6ca1c778dfd096672362ea4b329c3d47fdf37cf68e812e990cb02891bb45560a" ); let fixture = EncoderFixture::from_bytes(&bytes).unwrap(); drop(bytes); let old = &fixture.layer; let mut new = EncoderLayer::new( old.config.clone(), old.attention_norm.clone(), old.final_norm.clone(), old.projections.clone(), ) .unwrap(); new.enable_tiled_attention(true); assert!(!old.tiled_attention_enabled()); assert_eq!(old.packed_weight_bytes(), new.packed_weight_bytes()); println!("{{\"kind\":\"x86_tiled_protocol\",\"fixture_sha256\":\"{digest}\",\"workers\":8,\"tasks\":4,\"activation\":\"BF16\",\"cache\":\"BF16\",\"warmup_pairs\":2,\"measured_pairs\":11,\"default_enabled\":false,\"full_asr\":false}}"); run_in_row_pool(|| { let input_for = |frames: usize| -> Vec<f32> { (0..frames) .flat_map(|i| fixture.steps[i % fixture.steps.len()].input.iter().copied()) .collect() }; let mut base = old.new_cache_bf16(2143).unwrap(); let mut timed = Vec::new(); for history in [0, 1, 68, 749] { while base.len() < history { let count = (history - base.len()).min(128); old.step_chunk(&input_for(count), count, base.next_position, &mut base) .unwrap(); } for frames in [1, 3, 4, 5, 8, 16, 17] { let input = input_for(frames); let mut a = fork_cache(&base); let mut b = fork_cache(&base); let capacity = b.kv_allocated_bytes(); let expected = old .step_chunk(&input, frames, base.next_position, &mut a) .unwrap(); let actual = new .step_chunk(&input, frames, base.next_position, &mut b) .unwrap(); exact(&actual, &expected); assert_eq!(a, b); assert_eq!(capacity, b.kv_allocated_bytes()); } if history >= 68 { timed.push((history, fork_cache(&base))); } } let mut rebased = fork_cache(&base); old.rebase_cache(&mut rebased, 152).unwrap(); let mut a = fork_cache(&rebased); let mut b = fork_cache(&rebased); exact( &old.step_chunk(&input_for(4), 4, rebased.next_position, &mut a) .unwrap(), &new.step_chunk(&input_for(4), 4, rebased.next_position, &mut b) .unwrap(), ); assert_eq!(a, b); println!("{{\"kind\":\"x86_tiled_actual_parity\",\"cases\":29,\"output_bits_equal\":true,\"cache_exact_equal\":true}}"); let mut eviction = vec![0u8; 64 * 1024 * 1024]; for (history, base) in timed { for displaced in [false, true] { let input = input_for(4); let mut times: [Vec<f64>; 2] = std::array::from_fn(|_| Vec::new()); for round in 0..13 { let mut results = Vec::new(); for mode in if round % 2 == 0 { [0, 1] } else { [1, 0] } { let mut cache = fork_cache(&base); let capacity = cache.kv_allocated_bytes(); if displaced { let mut total = 0u64; for byte in eviction.iter_mut().step_by(64) { *byte = byte.wrapping_add(1); total += u64::from(*byte); } black_box(total); } let layer = if mode == 0 { old } else { &new }; let clock = Instant::now(); let output = layer .step_chunk(black_box(&input), 4, base.next_position, &mut cache) .unwrap(); let elapsed = clock.elapsed().as_secs_f64(); black_box(&output); if round >= 2 { times[mode].push(elapsed); } assert_eq!(capacity, cache.kv_allocated_bytes()); results.push((output, cache)); } exact(&results[0].0, &results[1].0); assert_eq!(results[0].1, results[1].1); } let mut ratios: Vec<f64> = times[0].iter().zip(×[1]).map(|(a, b)| a / b).collect(); let wins = ratios.iter().filter(|x| **x > 1.).count(); ratios.sort_by(f64::total_cmp); println!("{{\"kind\":\"x86_tiled_actual_pair\",\"history\":{history},\"frames\":4,\"displaced_64mib\":{displaced},\"reference_seconds\":{:?},\"candidate_seconds\":{:?},\"paired_median_speedup\":{},\"wins\":{wins},\"pairs\":11,\"exact_output_and_cache\":true}}",times[0],times[1],ratios[5]); } } });}
#[cfg(all( feature = "parallel", feature = "kleidiai",1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859//! Reuse one widened historical row across four queries. Preserve each//! query's original four chronological dot lanes and each value channel's//! chronological additions. No FMA or reassociated reduction.use super::{DIM, TILE};use std::arch::x86_64::*;
#[inline]pub(super) fn dot_four(queries: &[[f32; DIM]; TILE], key: &[u16]) -> [f32; TILE] { assert_eq!(key.len(), DIM); // SAFETY: x86_64 guarantees SSE2; all query/key spans contain64 elements. unsafe { dot_four_sse2(queries, key) }}
#[target_feature(enable = "sse2")]unsafe fn dot_four_sse2(queries: &[[f32; DIM]; TILE], key: &[u16]) -> [f32; TILE] { let mut sums = [_mm_setzero_ps(); TILE]; for col in (0..DIM).step_by(4) { let packed = _mm_loadl_epi64(key.as_ptr().add(col).cast()); let value = _mm_castsi128_ps(_mm_slli_epi32::<16>(_mm_unpacklo_epi16( packed, _mm_setzero_si128(), ))); for row in 0..TILE { sums[row] = _mm_add_ps( sums[row], _mm_mul_ps(_mm_loadu_ps(queries[row].as_ptr().add(col)), value), ); } } sums.map(|sum| { let mut lanes = [0.0f32; 4]; _mm_storeu_ps(lanes.as_mut_ptr(), sum); (lanes[0] + lanes[1]) + (lanes[2] + lanes[3]) })}
#[target_feature(enable = "avx2")]pub(super) unsafe fn add_four_avx2( output: &mut [[f32; DIM]; TILE], values: &[u16], probability: [f32; TILE], mask: u8,) { assert_eq!(values.len(), DIM); let p = probability.map(|v| _mm256_set1_ps(v)); for col in (0..DIM).step_by(8) { let packed = _mm_loadu_si128(values.as_ptr().add(col).cast()); let value = _mm256_castsi256_ps(_mm256_slli_epi32::<16>(_mm256_cvtepu16_epi32(packed))); for row in 0..TILE { if mask & (1 << row) != 0 { let ptr = output[row].as_mut_ptr().add(col); _mm256_storeu_ps( ptr, _mm256_add_ps(_mm256_loadu_ps(ptr), _mm256_mul_ps(p[row], value)), ); } } }}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217//! Exact BF16 split-half rotation. Both products and their sum are separately//! rounded, matching the scalar cache path for finite caches, including signed zeros.use super::{decode_bf16, round_bf16};use std::arch::x86_64::*;
#[target_feature(enable = "avx2")]unsafe fn rounded(value: __m256) -> __m256 { let bits = _mm256_castps_si256(value); let absolute = _mm256_and_si256(bits, _mm256_set1_epi32(0x7fffffff)); let nan = _mm256_cmpgt_epi32(absolute, _mm256_set1_epi32(0x7f800000)); let bias = _mm256_add_epi32( _mm256_set1_epi32(0x7fff), _mm256_and_si256(_mm256_srli_epi32::<16>(bits), _mm256_set1_epi32(1)), ); let mask = _mm256_set1_epi32(0xffff0000u32 as i32); let finite = _mm256_and_si256(_mm256_add_epi32(bits, bias), mask); let quiet = _mm256_or_si256(_mm256_and_si256(bits, mask), _mm256_set1_epi32(0x00400000)); _mm256_castsi256_ps(_mm256_blendv_epi8(finite, quiet, nan))}
#[target_feature(enable = "avx2")]unsafe fn load(words: *const u16) -> __m256 { _mm256_castsi256_ps(_mm256_slli_epi32::<16>(_mm256_cvtepu16_epi32( _mm_loadu_si128(words.cast()), )))}
#[target_feature(enable = "avx2")]unsafe fn store(words: *mut u16, value: __m256) { let high = _mm256_srli_epi32::<16>(_mm256_castps_si256(value)); let packed = _mm_packus_epi32( _mm256_castsi256_si128(high), _mm256_extracti128_si256::<1>(high), ); _mm_storeu_si128(words.cast(), packed);}
/// Caller must detect AVX2. Writes only the caller's private prospective K tail;/// the existing whole-cache validation and atomic commit remain outside here.#[target_feature(enable = "avx2")]pub(super) unsafe fn rotate(words: &mut [u16], dim: usize, coefficients: &[(f32, f32)]) { assert!(dim > 0 && dim % 2 == 0 && words.len() % dim == 0 && coefficients.len() == dim / 2); let half = dim / 2; let cos: Vec<f32> = coefficients .iter() .map(|c| decode_bf16(round_bf16(c.0))) .collect(); let sin: Vec<f32> = coefficients .iter() .map(|c| decode_bf16(round_bf16(c.1))) .collect(); let sign = _mm256_castsi256_ps(_mm256_set1_epi32(i32::MIN)); for head in words.chunks_exact_mut(dim) { let mut i = 0; while i + 8 <= half { let left = load(head.as_ptr().add(i)); let right = load(head.as_ptr().add(i + half)); let c = _mm256_loadu_ps(cos.as_ptr().add(i)); let s = _mm256_loadu_ps(sin.as_ptr().add(i)); let a = rounded(_mm256_add_ps( rounded(_mm256_mul_ps(left, c)), rounded(_mm256_mul_ps(_mm256_xor_ps(right, sign), s)), )); let b = rounded(_mm256_add_ps( rounded(_mm256_mul_ps(right, c)), rounded(_mm256_mul_ps(left, s)), )); store(head.as_mut_ptr().add(i), a); store(head.as_mut_ptr().add(i + half), b); i += 8; } while i < half { let left = decode_bf16(head[i]); let right = decode_bf16(head[i + half]); let product = |a, b| decode_bf16(round_bf16(a * b)); head[i] = round_bf16(product(left, cos[i]) + product(-right, sin[i])); head[i + half] = round_bf16(product(right, cos[i]) + product(left, sin[i])); i += 1; } }}
#[cfg(test)]mod tests { use super::*; fn scalar(words: &mut [u16], dim: usize, coefficients: &[(f32, f32)]) { let half = dim / 2; for head in words.chunks_exact_mut(dim) { for (i, &(c, s)) in coefficients.iter().enumerate() { let c = decode_bf16(round_bf16(c)); let s = decode_bf16(round_bf16(s)); let l = decode_bf16(head[i]); let r = decode_bf16(head[i + half]); let p = |a, b| decode_bf16(round_bf16(a * b)); head[i] = round_bf16(p(l, c) + p(-r, s)); head[i + half] = round_bf16(p(r, c) + p(l, s)); } } } #[test] fn all_finite_bf16_patterns_and_rotation_tails_match_scalar() { if !is_x86_feature_detected!("avx2") { return; } for dim in [2, 6, 14, 16, 18, 32, 64, 128, 256] { for delta in [0, -1, -152, 16777216] { let n = 65536usize.div_ceil(dim) * dim; // Production rejects nonfinite input before invoking this helper. let mut actual: Vec<u16> = (0..n) .map(|i| { let word = i as u16; if decode_bf16(word).is_finite() { word } else { 0 } }) .collect(); let mut expected = actual.clone(); let coefficients: Vec<_> = (0..dim / 2) .map(|i| { let angle = delta as f32 * 1e6f32.powf((2 * i) as f32 / dim as f32).recip(); let (s, c) = angle.sin_cos(); (c, s) }) .collect(); scalar(&mut expected, dim, &coefficients); unsafe { rotate(&mut actual, dim, &coefficients) }; for (i, (a, b)) in actual.iter().zip(&expected).enumerate() { // Overflow is rejected atomically by the caller; NaN payload selection // for arithmetic is not portable between scalar and SIMD instructions. if decode_bf16(*b).is_nan() { assert!( decode_bf16(*a).is_nan(), "index={i} dim={dim} delta={delta}" ); } else { assert_eq!(a, b, "index={i} dim={dim} delta={delta}"); } } } } } #[test] fn vector_rounding_matches_scalar_ties_and_nan_payloads() { if !is_x86_feature_detected!("avx2") { return; } for suffix in [0, 1, 0x7fff, 0x8000, 0x8001, 0xffff] { for high in (0..65536u32).step_by(8) { let values: [f32; 8] = std::array::from_fn(|i| f32::from_bits(((high + i as u32) << 16) | suffix)); let mut actual = [0f32; 8]; unsafe { _mm256_storeu_ps( actual.as_mut_ptr(), rounded(_mm256_loadu_ps(values.as_ptr())), ) }; for i in 0..8 { assert_eq!(actual[i].to_bits(), u32::from(round_bf16(values[i])) << 16); } } } } #[test] #[ignore = "fixed paired rotation timing on a quiet CPU; not full ASR"] fn encoder_shape_rotation_pairs() { use std::{hint::black_box, time::Instant}; assert!(is_x86_feature_detected!("avx2")); let dim = 64; let input: Vec<u16> = (0..749 * 32 * dim) .map(|i| round_bf16(((i * 37 % 65521) as f32 - 32760.) / 8192.)) .collect(); let coefficients: Vec<_> = (0..dim / 2) .map(|i| { let angle = -152f32 * 1e6f32.powf((2 * i) as f32 / dim as f32).recip(); let (s, c) = angle.sin_cos(); (c, s) }) .collect(); let mut eviction = vec![0u8; 64 * 1024 * 1024]; for displaced in [false, true] { let mut times: [Vec<f64>; 2] = std::array::from_fn(|_| Vec::new()); for round in 0..13 { let mut outputs = Vec::new(); for mode in if round % 2 == 0 { [0, 1] } else { [1, 0] } { let mut data = input.clone(); if displaced { let mut sum = 0u64; for b in eviction.iter_mut().step_by(64) { *b = b.wrapping_add(1); sum += u64::from(*b); } black_box(sum); } let clock = Instant::now(); if mode == 0 { scalar(black_box(&mut data), dim, &coefficients) } else { unsafe { rotate(black_box(&mut data), dim, &coefficients) } } let elapsed = clock.elapsed().as_secs_f64(); black_box(&data); if round >= 2 { times[mode].push(elapsed); } outputs.push(data); } assert!(outputs[0] == outputs[1]); } let mut ratios: Vec<_> = times[0].iter().zip(×[1]).map(|(a, b)| a / b).collect(); ratios.sort_by(f64::total_cmp); println!("{{\"kind\":\"bf16_rebase_rotation_pair\",\"history\":749,\"heads\":32,\"dim\":64,\"delta\":-152,\"displaced_64mib\":{displaced},\"reference_seconds\":{:?},\"candidate_seconds\":{:?},\"paired_median_speedup\":{},\"pairs\":11,\"output_bits_exact\":true,\"full_cache_operation\":false}}",times[0],times[1],ratios[5]); } }}4 unmodified lines567891011121314157 unmodified lines172173174175176177178179180181182183184185171172173174175176177178179180181186187188189190191192193194195196197198199200200 unmodified lines4014024034043883893903913923934054064074084094104114124134144154164 unmodified linesuse std::borrow::Cow;use std::ops::Range;
#[cfg(target_arch = "x86_64")]#[path = "kv_rebase_x86.rs"]mod rebase_x86;
#[derive(Clone, Copy)]pub(crate) enum KvReadView<'a> { F32 { keys: &'a [f32], values: &'a [f32] },157 unmodified lines return Err(err("nonfinite rolling BF16 cache")); } let mut rotated = keys[tail..].to_vec(); #[cfg(target_arch = "x86_64")] let optimized = if is_x86_feature_detected!("avx2") { // SAFETY: AVX2 detected; helper validates spans before loads. unsafe { rebase_x86::rotate(&mut rotated, head_dim, &coefficients) }; true } else { false }; #[cfg(not(target_arch = "x86_64"))] let optimized = false; if !optimized { for head in rotated.chunks_exact_mut(head_dim) { for (i, &(cos, sin)) in coefficients.iter().enumerate() { // PyTorch casts cos/sin first and rounds BOTH products // before the final rounded sum. A single final cast is wrong. let cos = decode_bf16(round_bf16(cos)); let sin = decode_bf16(round_bf16(sin)); let left = decode_bf16(head[i]); let right = decode_bf16(head[i + half]); let product = |a, b| decode_bf16(round_bf16(a * b)); head[i] = round_bf16(product(left, cos) + product(-right, sin)); head[i + half] = round_bf16(product(right, cos) + product(left, sin)); for head in rotated.chunks_exact_mut(head_dim) { for (i, &(cos, sin)) in coefficients.iter().enumerate() { // PyTorch casts cos/sin first and rounds BOTH products // before the final rounded sum. A single final cast is wrong. let cos = decode_bf16(round_bf16(cos)); let sin = decode_bf16(round_bf16(sin)); let left = decode_bf16(head[i]); let right = decode_bf16(head[i + half]); let product = |a, b| decode_bf16(round_bf16(a * b)); head[i] = round_bf16(product(left, cos) + product(-right, sin)); head[i + half] = round_bf16(product(right, cos) + product(left, sin)); } } } if rotated.iter().any(|v| v & 0x7f80 == 0x7f80) {200 unmodified lines (48 - 12) * 2 * if bf16 { 2 } else { 4 } ); // Finite values whose rotated sum overflows also fail atomically. for dim in [2, 16, 64] { let mut overflow = KvStorage::new(4, bf16); let big = if bf16 { decode_bf16(0x7f7f) } else { f32::MAX }; overflow.append(&[big, big], &[0.0, 0.0]).unwrap(); let original = overflow.clone(); assert!(overflow.trim_and_rebase(0, 0, 2, -1, 1e6).is_err()); assert_eq!(overflow, original); let mut overflow = KvStorage::new(dim * 2, bf16); let big = if bf16 { decode_bf16(0x7f7f) } else { f32::MAX }; overflow.append(&vec![big; dim], &vec![0.0; dim]).unwrap(); let original = overflow.clone(); let allocated = overflow.allocated_bytes(); assert!(overflow.trim_and_rebase(0, 0, dim, -1, 1e6).is_err()); assert_eq!(overflow, original); assert_eq!(overflow.allocated_bytes(), allocated); } } }
1 unmodified line2345678910567891011121319 unmodified lines333435363637383839404112 unmodified lines545556575758596013 unmodified lines74757677787977787980818210 unmodified lines9394959697989697989910010110 unmodified lines11211311411511611711511611711811912010 unmodified lines13113213313413513613413513613713813910 unmodified lines1501511521531541551531541551561571588 unmodified lines1671681691701711721701711721731741758 unmodified lines18418518618718818718818919019119219319419519619419519619719819919819920020120215 unmodified lines2182192202212212222232242252252262272281 unmodified line "schema": "audio8.native_caption_build.v2", "status": "complete", "no_model_inference": true, "source_manifest": "/home/rezo/audio8-q4-recovery-20260924/native-caption-ubuntu2204-v2/manifest.json", "source_manifest_sha256": "e52a0d57d942261cb9cc22cbaf8280dbf46dd888aedae2d3a6ccb9abda0cdb4e", "source_archive": "/home/rezo/audio8-q4-recovery-20260924/native-caption-ubuntu2204-v2/sources.tar.gz", "source_archive_sha256": "147842b7d73e9fa9dbb001fa68f9b8791bd15a619d68d62326f78bc6d023833f", "source_files": 113, "build_script_sha256": "9f45c4386e29eda42731bc406cdeb7eff850ea0e86bdf0b07bc76db3b4632eaf", "source_manifest": "/home/rezo/audio8-q4-recovery-20260924/native-caption-prefix-ubuntu2204-v1/manifest.json", "source_manifest_sha256": "70f257fac9ab0a96e116684623e893dad875acefff947adb04b694c9283dc0b8", "source_archive": "/home/rezo/audio8-q4-recovery-20260924/native-caption-prefix-ubuntu2204-v1/sources.tar.gz", "source_archive_sha256": "fd68ec98f70ea455621adb1318b467cec36221dd9b66212f3e81cf5d92c48692", "source_files": 115, "build_script_sha256": "531ee576d944de4c3814ef48a1747bc5b0ac127e51faf4445cb160fed1bbbc71", "features": [ "parallel", "x86-vnni",19 unmodified lines ], "nice": 15, "cargo_jobs": 1, "container": "3cae807f51d08919f18392e320f2df99e4b3a0209b46187c27dd0c6b4e61a1b5", "container": "b32a6b1bdd58418ee694c0f5e228c2f069d2e72233fc970e182299616f44f53b", "image": "sha256:fcb5e809113d755189f71dba0dd88f23118552d18e1c75c15435591d3057885a", "container_metadata_sha256": "146bf6e6c2550be447a2855ec62b2c8eddd108a93e86e10e28387e9dacde0be7", "container_metadata_sha256": "ecf17c119cfa07ada449f8bedadf36ad82de3469603f3d778163885fc2703e5f", "package_inventory_sha256": "43f77f244d7cb2958350a86bbf7229f0718b90f3be43029aeca367591c779972", "toolchain_manifest_sha256": "7a397e14edaf0b8ea711614c5806c8b70f1ec8e7beb2ab6a18249d6a134313fa", "registry_manifest_sha256": "81fd065f90d0feb72e6b89c34ff1c5fe40facdb182e24b13c99304283eeda7f2",12 unmodified lines "CARGO_ENCODED_RUSTFLAGS": "", "PATH": "/toolchain/bin:/usr/local/bin:/usr/bin:/bin" }, "started_unix": 1790306923.0501943, "started_unix": 1790314523.5237415, "commands": [ { "argv": [13 unmodified lines "warnings" ], "returncode": 0, "elapsed_seconds": 45.20056080818176, "log": "/home/rezo/audio8-q4-recovery-20260924/native-caption-ubuntu2204-v2/reports/strict-clippy.txt", "sha256": "e2bd6617e20a8727ac5d4d9e9d5776dbd707d4f98953d6c03f0a7605cb573608" "elapsed_seconds": 45.21966028213501, "log": "/home/rezo/audio8-q4-recovery-20260924/native-caption-prefix-ubuntu2204-v1/reports/strict-clippy.txt", "sha256": "4da8a1e45eae7dac48438c1b6e4e027c25ebe6e0485de1539ba9a75897b70048" }, { "argv": [10 unmodified lines "--test-threads=1" ], "returncode": 0, "elapsed_seconds": 226.05003023147583, "log": "/home/rezo/audio8-q4-recovery-20260924/native-caption-ubuntu2204-v2/reports/caption-tests.txt", "sha256": "db75419cdb179e37b2df726b56d7451eae4d5d78e52e96716814f6bdbee662aa" "elapsed_seconds": 226.03099751472473, "log": "/home/rezo/audio8-q4-recovery-20260924/native-caption-prefix-ubuntu2204-v1/reports/caption-tests.txt", "sha256": "5876b6f46d9f226943ac5cac42eb97cdf219349da758ae797ecf04ea1520be6a" }, { "argv": [10 unmodified lines "--test-threads=1" ], "returncode": 0, "elapsed_seconds": 5.025572776794434, "log": "/home/rezo/audio8-q4-recovery-20260924/native-caption-ubuntu2204-v2/reports/gated-tests.txt", "sha256": "6a2780f99b1bf3a4559c6bd67a8cf28cc5cafbea8218e96e28131df289085208" "elapsed_seconds": 5.026270627975464, "log": "/home/rezo/audio8-q4-recovery-20260924/native-caption-prefix-ubuntu2204-v1/reports/gated-tests.txt", "sha256": "9afc850347331f9235cad5c68c7a6b39f756aef8a624e4600af240d44d964cd9" }, { "argv": [10 unmodified lines "--test-threads=1" ], "returncode": 0, "elapsed_seconds": 115.50631785392761, "log": "/home/rezo/audio8-q4-recovery-20260924/native-caption-ubuntu2204-v2/reports/cli-tests.txt", "sha256": "d098af01742485b5106ab048e9f1454257ed954a30488ac68da4448041797f1d" "elapsed_seconds": 110.49916505813599, "log": "/home/rezo/audio8-q4-recovery-20260924/native-caption-prefix-ubuntu2204-v1/reports/cli-tests.txt", "sha256": "35ce9172616e428662890a9220544193ba0efb9f1260dae0330280ad5c487de8" }, { "argv": [10 unmodified lines "--test-threads=1" ], "returncode": 0, "elapsed_seconds": 155.7238483428955, "log": "/home/rezo/audio8-q4-recovery-20260924/native-caption-ubuntu2204-v2/reports/bf16-mode-tests.txt", "sha256": "37593327136064d17fe68b21da7f2488ad6c96732b8116c1018c6f527031c9c6" "elapsed_seconds": 160.7479910850525, "log": "/home/rezo/audio8-q4-recovery-20260924/native-caption-prefix-ubuntu2204-v1/reports/bf16-mode-tests.txt", "sha256": "c2488b51c0b4e9bb845813fee71df7b96721c068f0521a41d9dd70ab881cc4ff" }, { "argv": [8 unmodified lines "audio8-stream" ], "returncode": 0, "elapsed_seconds": 5.014032602310181, "log": "/home/rezo/audio8-q4-recovery-20260924/native-caption-ubuntu2204-v2/reports/binary-build.txt", "sha256": "9576f1f7e73fc2bb1ec2336aae60cb485c591eadc60a1b998573411c34057e08" "elapsed_seconds": 5.005878448486328, "log": "/home/rezo/audio8-q4-recovery-20260924/native-caption-prefix-ubuntu2204-v1/reports/binary-build.txt", "sha256": "90c8a1a69c0155761cff4bfe0e61bbee007961d2b96729d2127c2e0c291489dd" }, { "argv": [8 unmodified lines "/task/backend_probe" ], "returncode": 0, "elapsed_seconds": 5.0255045890808105, "log": "/home/rezo/audio8-q4-recovery-20260924/native-caption-ubuntu2204-v2/reports/backend-probe-build.txt", "elapsed_seconds": 5.020895719528198, "log": "/home/rezo/audio8-q4-recovery-20260924/native-caption-prefix-ubuntu2204-v1/reports/backend-probe-build.txt", "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" } ], "generic_linux_binary_claim": false, "quality_acceptance": false, "binary": "/home/rezo/audio8-q4-recovery-20260924/native-caption-ubuntu2204-v2/bin/audio8-stream", "sha256": "30486025c4ba0cb6d8f4d094b556fb22dbe7ecd2018caaeda740ed235ff51626", "bytes": 28397232, "binary": "/home/rezo/audio8-q4-recovery-20260924/native-caption-prefix-ubuntu2204-v1/bin/audio8-stream", "sha256": "f10ccbdc33ed5bc73d96516403634cd5551c81a05be823af91060a178a92d2d3", "bytes": 28410544, "elf-versions_sha256": "212616211c6eeeeef1dcf64f9010e9ca3019737cfb9736a88796385d3c42e757", "elf-headers_sha256": "be4158eee8feffdb04876c9a35cb7bd451f97f4a5b9ec3fd21a5fd8be41b198c", "elf-dynamic_sha256": "6534786ab0d09d3834e7e349c1e379c7da7f476644595a0f647c02953cbf1e72", "elf-headers_sha256": "d1dc3fa7c3127fa5305db108c6122737a4855e9ba01f8f0acbc9e8b325a36cf2", "elf-dynamic_sha256": "9fb4e6b0e03e4430555bac86853e065f71a4ca8addf0000bf4e47c99ee7c7357", "strong_glibc_versions": [ "GLIBC_2.14", "GLIBC_2.15",15 unmodified lines "GLIBC_2.9" ], "weak_glibc_versions": [], "finished_unix": 1790307481.1342428, "finished_unix": 1790315081.6269038, "bf16_backend": "avx512_bf16_q4", "int8_backend": "avx512_vnni", "backend_probe_source_sha256": "713aff8aad3a58c58a929ffb2027b7b9566e258a1ad6d97153e6184c16aee448", "backend_probe_binary_sha256": "19e3d1868a131745c8b5d40d616191e770665c3f3c170bad04894dc8c543a599", "backend_probe_binary_sha256": "5363e46dae7475530fbad525a282cb8fd308e959bc7076108a7509c6b1116f74", "supported_activation_modes": [ "fp32", "a8",12234556789101011121314151516171819202021222324252526272829303031323334353536373839404041424344454546474849505051525354555556575859606061626364656566676869707071727374757576777879808081828384858586878889909091929394959596979899100100101102103104105105106107108109110110111112113114115115116117118119120120121122123124125125126127128129130130131132133134135135136137138139140140141142143144145145146147147148149150150151152153154155155156157158159160160161162162163164165165166167168169170170171172172173174175175176177178179180180181182183184185185186187188189190190191192193194195195196197198199200200201202203204205205206207208209210210211212213214215215216217217218219220220221222222223224225225226227228229230230231232233234235235236237238239240240241242243244245245246247248249250250251252252253254255255256257258259260260261262263264265265266267268269270270271272273274275275276277278279280280281282283284285285286287288289290290291292293294295295296297298299300300301302303304305305306307308309310310311312313314315315316317318319320320321322323324325325326327328329330330331332333334335335336337338339340340341342343344345345346347348349350350351352353354355355356357358359360360361362363364365365366367368369370370371372373374375375376377378379380380381382383384385385386387388389390390391392393394395395396397398399400400401402403404405405406407408409410410411412413414415415416417418419420420421422423424425425426427428429430430431432433434435435436437438439440440441442443444445445446447448449450450451452453454455455456457458459460460461462463464465465466467468469470470471472473474475475476477478479480480481482483484485485486487488489490490491492493494495495496497498499500500501502503504505505506507508509510510511512513514515515516517518519520520521522523524525525526527528529530530531532533534535535536537538539540540541542543544545545546547548549550550551552553554555555556557558559560560561562563564565565566567568569570571572573574575576577578579580570571572581582583584585586587588589590591592{ "change": "Two test-only Clippy range-expression fixes; no runtime arithmetic changes.", "format": "audio8-caption-constant-prefix-source-v1", "archive_sha256": "fd68ec98f70ea455621adb1318b467cec36221dd9b66212f3e81cf5d92c48692", "files": [ { "bytes": 31781, "path": "native/Cargo.lock", "bytes": 31781, "sha256": "4abcfff3e11e077bfea35a5a3f603c9bd84cc0c434127be4158d1b00874091f5" }, { "bytes": 1320, "path": "native/Cargo.toml", "bytes": 1320, "sha256": "5feba8ba3cb2cb71724a8291d053cdf2f3fdbc00a658fbfe9283dcbcdee10bd6" }, { "bytes": 29103, "path": "native/README.md", "bytes": 29103, "sha256": "f9186db9d68755144fce60df1bb6a5a073ae57dab464cfda36668b0d50b28da0" }, { "bytes": 2531, "path": "native/build.rs", "bytes": 2531, "sha256": "c2154356fa2d554ed01dbb17ee234a71c1db29e1ccaca8ee92d63eb5a12eb0cc" }, { "bytes": 2205, "path": "native/examples/bench_conv.rs", "bytes": 2205, "sha256": "13749a0b7a66c20c9ea034602e0130fe7cfed381e82a16fa08704903d79902f7" }, { "bytes": 3464, "path": "native/examples/bench_encoder_attention.rs", "bytes": 3464, "sha256": "b7b872524f957a23909a246211a5f0b6656ddfd561c89e2244d638c99aa8a7b9" }, { "bytes": 4347, "path": "native/examples/bench_pool_policy.rs", "bytes": 4347, "sha256": "0d6a97bac74d463fecf9e39fc6f1f0cec85c022dbef65b07ad81848281cbb3d0" }, { "bytes": 5037, "path": "native/examples/bench_portable_conv.rs", "bytes": 5037, "sha256": "1b7c5c2c09f93342e5e6ce4f62ea25028ce6047a539cfc358f39954f2d765691" }, { "bytes": 4531, "path": "native/examples/bench_uniform_bitplanes.rs", "bytes": 4531, "sha256": "790da0a9498184856bae1f2debc154e6b51601945c7770befb874ea002e50cf3" }, { "bytes": 4611, "path": "native/examples/bench_uniform_blocked.rs", "bytes": 4611, "sha256": "a8bd32aeddb44ebc94b7cb0d14f395cfc4170c51f2e8305f9948b6f0a14fc8dd" }, { "bytes": 4411, "path": "native/examples/bench_uniform_int8.rs", "bytes": 4411, "sha256": "17b57afa94a4da9509cbd04027e96d50fbf6e0d01ca5b67d2426d2c8f554564a" }, { "bytes": 3960, "path": "native/examples/bench_uniform_parallel.rs", "bytes": 3960, "sha256": "1a4948d1ca678cc704301efa6111dee1647285d8be8df10e9549052845d425e9" }, { "bytes": 4952, "path": "native/examples/bench_uniform_rows4.rs", "bytes": 4952, "sha256": "654e53c42603d38a335489c28b6eac7e5d5d5a2bfd64e692eeb60329cd483e99" }, { "bytes": 4688, "path": "native/examples/bench_uniform_simd.rs", "bytes": 4688, "sha256": "0d40a3e28bdc478b23664b4bdfb7256e44281566e325c2b107fb5a1a08dec1aa" }, { "bytes": 3581, "path": "native/examples/check_cache_storage.rs", "bytes": 3581, "sha256": "0e5ad6bc5e1450d36d04e5f104c1bb3ea7a395c296aa215bc268b3978f7ef10b" }, { "bytes": 2951, "path": "native/examples/check_decoder_chunk.rs", "bytes": 2951, "sha256": "a972dea793e96797c6e3e9388735e349f9fe624d023b7e2fb818905840640fc8" }, { "bytes": 4458, "path": "native/examples/check_encoder_chunk.rs", "bytes": 4458, "sha256": "4141c152274751ade976ea566274622add3fa312505df1a0a5ae67367ae747bb" }, { "bytes": 1008, "path": "native/examples/check_model.rs", "bytes": 1008, "sha256": "424fd41003ae137836593b7d7182404bac1ce9b26b3709107ad3030083ada410" }, { "bytes": 2556, "path": "native/examples/gated_audio_oracle.rs", "bytes": 2556, "sha256": "97c0b33b8cc8b6d6fdd870e4d4e767ffbc7844a37ca7585339d127e96efd035d" }, { "bytes": 3687, "path": "native/examples/nonlinear-bench.c", "bytes": 3687, "sha256": "f21587f4306cfd868525ade53182c5aa4369fc42e6dc7b8f54e09f39795e8601" }, { "bytes": 15246, "path": "native/examples/nonrolling_stream_probe.rs", "bytes": 15246, "sha256": "86a9236dfbac4d10572d75b41aa076cdc6147573913242e94110233c744c583f" }, { "bytes": 968, "path": "native/examples/qos-probe.c", "bytes": 968, "sha256": "d3a573bc80d5ae32facea4fe25213a18b1ad81a38390cfe619a58b199681b6f7" }, { "bytes": 2049, "path": "native/examples/sha256_stream.rs", "bytes": 2049, "sha256": "8f7c8ca375233b59a5e12170317420ffd1e56aaeafb2a5e42d47da4439d9b022" }, { "bytes": 5771, "path": "native/src/attention_head_local_tests.rs", "bytes": 5771, "sha256": "6c15116ddcfa399c0d87093918f3e618ddace332ae467e2e0ae71f8d438c5c16" }, { "bytes": 32948, "path": "native/src/attention_math.rs", "bytes": 32948, "sha256": "243483eb07feb34f07cb7be1f90b7c68098875111214bc8269fa2399fec46b22" }, { "bytes": 6823, "path": "native/src/attention_x86.rs", "bytes": 6823, "sha256": "20ee26d166b64e6574e07650c37a6b016b9fd02b76801778a93e522ad6cc2585" }, { "bytes": 28320, "path": "native/src/audio_path.rs", "bytes": 28320, "sha256": "6f9a839012e518cd3f37f6e8464a254af2b2c3325dafdb01f6fa5447f4960c9b" }, { "bytes": 27075, "path": "native/src/bin/audio8-asr.rs", "bytes": 27075, "sha256": "796870256040be1ecc9851ce9e72bc9522776e82327f9610a6b527b0edc8d1b8" }, { "bytes": 35470, "path": "native/src/bin/audio8-stream.rs", "sha256": "5fbe1ca1c377d1855539c1245270ecddb2dd0f830521519e43e71585aa4d8d54" "bytes": 37819, "sha256": "019315a3a4c4f7272de0956be6677d1ec54866b320a69b9ff0614df0bbe6181f" }, { "bytes": 4886, "path": "native/src/bin/kleidi-bench.rs", "bytes": 4886, "sha256": "b78b7f0831c6b7b61c5352001c8d2900686a44a00c181d61dbb3ebf8b9f06175" }, { "bytes": 2415, "path": "native/src/bin/support/runtime_platform.rs", "bytes": 2415, "sha256": "0ab0e8cf673b3a41e207c37e82a0b41e7e93657a0f807308311b9c0fd527e906" }, { "bytes": 3966, "path": "native/src/bin/support/silero_stream.rs", "sha256": "6e78be61fc887c530e6bb008b9f310191023cb8a7700e299fd7c98e1f53aa320" "bytes": 5782, "sha256": "1ff226447f4899eb5799c75c8b4d48d0e2c8aa208c6778aa58b623c2273dfacb" }, { "bytes": 3634, "path": "native/src/bin/support/stream_common.rs", "bytes": 3634, "sha256": "0f1972219a26bd6871f2f18cd0cf1279dd576638ae1782136c4792df818a10c1" }, { "bytes": 22803, "path": "native/src/caption_stream.rs", "sha256": "1b7c1231aa128d9d758352bc8926bda352b2a8f65d0294892ff8b82f4543f476" "bytes": 24798, "sha256": "d2ca9ed8ecb989fcf86a7ee9f54870bc1a6e8c3b73707a3dc05714d2f2126d8b" }, { "bytes": 7145, "path": "native/src/conditioning.rs", "bytes": 7145, "sha256": "b99699ca70373281f9ec94d3f84484536a8eb9a85d1abd0350d3099105f327c2" }, { "bytes": 8058, "path": "native/src/conv_math.rs", "bytes": 8058, "sha256": "0faa455bde072cedecd336548f17b4bfd54dca6addae0e899fd755dad19870c7" }, { "bytes": 42388, "path": "native/src/decoder.rs", "bytes": 42388, "sha256": "6681de746aed594960824b8d1d34b8bfb13d0d8544218b6cf4747b09133e4f71" }, { "bytes": 60417, "path": "native/src/encoder.rs", "bytes": 60417, "sha256": "89b7515ee98fff1d7c4fc51119bb028c5904c7b7882732294eae92804bd0f442" }, { "bytes": 9655, "path": "native/src/encoder_float_tests.rs", "bytes": 9655, "sha256": "7f0d7a68227c4c3e0f6343bacb06cf770eb623c8f83f4010004f3cfcd1dac3ba" }, { "bytes": 7659, "path": "native/src/encoder_head_local_tests.rs", "bytes": 7659, "sha256": "7fd1b32f3472a2823219fa0ced7d20dfa735932f334cebe460dd06b979170567" }, { "bytes": 7293, "path": "native/src/encoder_i8mm_tests.rs", "bytes": 7293, "sha256": "8786f9fb09852232daa533f791f22c69bd02ad135016a2b136739597467269c0" }, { "bytes": 16898, "path": "native/src/encoder_phase_tests.rs", "bytes": 16898, "sha256": "51160570e37fd8f776cc46d9909b1410983307a423db6e39b3467fd52b2c7cd8" }, { "bytes": 11957, "path": "native/src/encoder_tiled_attention.rs", "sha256": "fd3203940bc11da712db02bd98d957def495d59d5804d87c67ce461f7c3de391" "bytes": 12407, "sha256": "08956db5a69de6269ca206c2761cf91fc67e9a1e44e1d35c7037537be742fbe4" }, { "bytes": 19056, "path": "native/src/encoder_tiled_attention_tests.rs", "sha256": "5b046f439afa58815893037ab6700cf7470d816a4fcff1f87446225a36dbea30" "bytes": 25008, "sha256": "523567137fafdab39329135e273168549f98d479a2d44859b49dea4881e33a4d" }, { "bytes": 6157, "path": "native/src/encoder_x86_attention_tests.rs", "bytes": 6157, "sha256": "f1725764917be7a7c6a31056b9b70d7dcebe0fb3f1dde29de552c9be749560ca" }, { "bytes": 60759, "path": "native/src/engine.rs", "bytes": 60759, "sha256": "9845f0e771241b67e3640add3401b6a9cdf24af2b826dcb9960b1937a3b45a0e" }, { "bytes": 4979, "path": "native/src/fast_sha256.rs", "bytes": 4979, "sha256": "34e14383a5d82db0396cb55571d750c8d0bb02c0680415243114b8204c111fe6" }, { "bytes": 8884, "path": "native/src/frontend.rs", "bytes": 8884, "sha256": "1dd5c23afa9af4a294f7efdf942e6b6a2b6c3abddaa44839c57f92b8b093b519" }, { "bytes": 13860, "path": "native/src/gated_audio.rs", "bytes": 13860, "sha256": "4207564489bb02e305cc04e03cb99759dbd1ec8a711c07aab010cc99f740376f" }, { "bytes": 23517, "path": "native/src/kv_storage.rs", "sha256": "2ae02b5812d672303e1cbab426d1d368c75fe02207149ec1b0e9bb7296de90c7" "bytes": 24390, "sha256": "a0e8dce85ae12f0bcb6603184e725e51d941a4206f11f09369258f1a5a409e0f" }, { "bytes": 28763, "path": "native/src/lib.rs", "bytes": 28763, "sha256": "ebed9b2b955c3f442c986bdfcdb08256d1f42043af9c827ee924b7f2ef102726" }, { "bytes": 18738, "path": "native/src/live_audio.rs", "bytes": 18738, "sha256": "aecfefe0c0a082a1f4c081a431f52c45a04e5dc15c83331f9e0d8e610eec17ee" }, { "bytes": 22330, "path": "native/src/main.rs", "bytes": 22330, "sha256": "bf0c6940b2bbf6fff892a1e75bcb17ae2fa45a7c7b3b062caa3c34647f0c93dd" }, { "bytes": 29791, "path": "native/src/model_loader.rs", "bytes": 29791, "sha256": "5672b0fbfc97be698b4187d8860bd327ecc14b4ae921058c99ef576ad5c97233" }, { "bytes": 5159, "path": "native/src/nonlinear.rs", "bytes": 5159, "sha256": "444c3eb7020e907841516302a714f0acfd09f0a2820231769fe6d6762f3e26b7" }, { "bytes": 22884, "path": "native/src/prefix_cache.rs", "bytes": 22884, "sha256": "41b8a5eca00a9c817e920837fda1adce7ee50c7e17bef6dcd6a777f41e120c7f" }, { "bytes": 6993, "path": "native/src/rotary.rs", "bytes": 6993, "sha256": "1dd58564040c0a5853248aaa92304e0dbb543fa3a5950ff0c4159043502afe79" }, { "bytes": 18993, "path": "native/src/row_pool.rs", "bytes": 18993, "sha256": "689e56cdb9fced428cb21b9af5df8ac737ca14a17a52a70fc1777f992bd5a20b" }, { "bytes": 20708, "path": "native/src/streaming_plan.rs", "bytes": 20708, "sha256": "e5abad8865d041ae027006b3035f685b78da3ea42c82f893a1788077419ce8b2" }, { "bytes": 27506, "path": "native/src/tokenizer.rs", "bytes": 27506, "sha256": "c391a00a85f67cb4b22bd99bb299054da4ec41a617febd10eaa0875b08932b7e" }, { "bytes": 58734, "path": "native/src/uniform.rs", "bytes": 58734, "sha256": "90f58bfd8745c9a7a4d57132a9594d3c1a0962bba819f781880754a267156c48" }, { "bytes": 14263, "path": "native/src/uniform_avx2.rs", "bytes": 14263, "sha256": "775e85ba2cf49394a8c0616f7310fad352bd366089ee539e8bd30c5ab577c16e" }, { "bytes": 4958, "path": "native/src/uniform_bf16.rs", "bytes": 4958, "sha256": "e72c089c5f29524d086aaff69f40484b247f73aa103271047341d4801a3b8d56" }, { "bytes": 11776, "path": "native/src/uniform_float.rs", "bytes": 11776, "sha256": "7eec50e160676833a892d90b6db3fd051fd6bb39ac268671e4a56f5049b019f2" }, { "bytes": 11688, "path": "native/src/uniform_float_tests.rs", "bytes": 11688, "sha256": "0bf94500fee3fedcdfb69eff0e127b98f3fd4d78aac4c717a627648d3a9e5056" }, { "bytes": 7870, "path": "native/src/uniform_i8mm_tests.rs", "bytes": 7870, "sha256": "72b0ede31c3938a3b99dbe8724268bfd686cd8a44a81c4c92e63281cdeb4552c" }, { "bytes": 18393, "path": "native/src/uniform_int16.rs", "bytes": 18393, "sha256": "0543b2e4db1614450cf285f49bdf4cd1f9b23b8e6657800e394422fa531f9efd" }, { "bytes": 8030, "path": "native/src/uniform_int16_vnni.rs", "bytes": 8030, "sha256": "04854b6adf2f96315080644c2f824c5f106d25ef27c22d6295d6b1d1e388ee21" }, { "bytes": 9755, "path": "native/src/uniform_int16_vnni_tests.rs", "bytes": 9755, "sha256": "7a883c4c54ac8fecbaa9bc8448887f8f9fa91ad5fed9627717a6d3e32adee47a" }, { "bytes": 70708, "path": "native/src/uniform_int8.rs", "bytes": 70708, "sha256": "f5c0fb55b3f35b6c88e1ff2b4a70088b18eefaf091e5fcef6666991265f16ac8" }, { "bytes": 32842, "path": "native/src/uniform_kleidi.rs", "bytes": 32842, "sha256": "5c8921b221bdf4c0f3ec78216fb64825e873f429bde1abf726c4527c58a7aaf6" }, { "bytes": 5536, "path": "native/src/uniform_pool_bench.rs", "bytes": 5536, "sha256": "4c09ed117524087a90957720b63d4546728611a14a1b4ca07808e4bbff9c7e0b" }, { "bytes": 20559, "path": "native/src/uniform_vnni.rs", "bytes": 20559, "sha256": "5abe3c868338d4dcdb5ae3e22d1d321caaaefdef8980d12b0cef7c9b649bd7ec" }, { "bytes": 25702, "path": "native/src/uniform_vnni_tests.rs", "bytes": 25702, "sha256": "ea557ba55e65d5b3ea0f5eef67efec380569ca59fbd9b7de597508d5739f2087" }, { "bytes": 6607, "path": "native/src/waveform.rs", "bytes": 6607, "sha256": "dc12ea14ce3153ef090e5419a26d14976e0f1616af7bff982cc7542832d142e5" }, { "bytes": 1312, "path": "native/tests/bf16_mode.rs", "bytes": 1312, "sha256": "7445142552b58074f1b2a3b2cddcc0b56d24cc7e123e99d71f8a3fbf762cf726" }, { "bytes": 722, "path": "native/tests/cross_language.rs", "bytes": 722, "sha256": "fd0f9ac2d8503b6119168a5aece86a35f68fb704de6b500f240d4f262bdbb42d" }, { "bytes": 441, "path": "native/tests/fixtures/model-loader-repack.a8m", "bytes": 441, "sha256": "4944b92ca3c264f0bdefe912e22bf6466f20900bf28f2dad15254e54a16471d4" }, { "bytes": 228, "path": "native/tests/fixtures/model-loader-tiny.a8m", "bytes": 228, "sha256": "17212a36903c5bea49cf7515933f4e883be46819722ba66d276bafa28b7f3112" }, { "bytes": 136, "path": "native/tests/fixtures/python_2bit.a8t", "bytes": 136, "sha256": "7163ea032a62771eb4da173afe9074c21e1071884e988dadf8026d3921b9b6e1" }, { "bytes": 136, "path": "native/tests/fixtures/python_base3.a8t", "bytes": 136, "sha256": "71048e4436c8ccde36b02678dae84fcd31df9b790df488ff86f7789c7840b726" }, { "bytes": 124, "path": "native/tests/fixtures/python_base3_f16.a8t", "bytes": 124, "sha256": "7e540ff0e9999defd525ff7e564f0316d530eff736e01cbf05f01b4935e6c732" }, { "bytes": 176, "path": "native/tests/fixtures/python_uniform3.a8u", "bytes": 176, "sha256": "0451ea79d64d822a6b5b43564c8a778695fb45c0cac21091ff53c296bb36f34c" }, { "bytes": 184, "path": "native/tests/fixtures/python_uniform4.a8u", "bytes": 184, "sha256": "36a82ccc28d68aa422f6b05f4f8598887acc6eb4f74e51e56911ad99ed600030" }, { "bytes": 120, "path": "native/tests/fixtures/python_uniform_v2_q3full.a8u", "bytes": 120, "sha256": "3bf09e70f70f1223060df07f8cc884870ca55445a1e63d6668decf8c987934c3" }, { "bytes": 120, "path": "native/tests/fixtures/python_uniform_v2_q3symmetric.a8u", "bytes": 120, "sha256": "fd69488ffdb9bc6e563e99e899c9a2d124e2939c6d0c8a5947321b5cab467a83" }, { "bytes": 123, "path": "native/tests/fixtures/python_uniform_v2_q4symmetric.a8u", "bytes": 123, "sha256": "3826cf69557fc55358055c5f0e5134d917a040461a49e1d7e1d3a07d0bc4332d" }, { "bytes": 1486, "path": "native/tests/generate_fixtures.py", "bytes": 1486, "sha256": "96e20416293f5ce0f5a1dcd7905ff4e57d84441a01951011b17a1d56d9063d79" }, { "bytes": 1263, "path": "native/tests/generate_uniform_fixtures.py", "bytes": 1263, "sha256": "cf7670258c1f06f51121f570b6894c89867501852aa7418779599b67c0bcd974" }, { "bytes": 1475, "path": "native/tests/generate_uniform_v2_fixtures.py", "bytes": 1475, "sha256": "ffe61cee7b909b9e777a2ebb16fcd9e64f9000cf03125aeb2478886f379a7c09" }, { "bytes": 10200, "path": "native/tests/uniform_blocked.rs", "bytes": 10200, "sha256": "7660d9db87e9ef520552118c1df6a4a176c189ecb0f9d738bff3fd5ebdf60bcb" }, { "bytes": 1437, "path": "native/tests/uniform_cross_language.rs", "bytes": 1437, "sha256": "016219c01c0189abc0ad04a7bba3b505d351e626ed6241905d3ee78fc5102a23" }, { "bytes": 8186, "path": "native/tests/uniform_parallel.rs", "bytes": 8186, "sha256": "0f3817097616bf033cb711856669a70b375196bb1e331ff09f95a13792c80201" }, { "bytes": 7103, "path": "native/tests/uniform_rows.rs", "bytes": 7103, "sha256": "21c3d0c4f995136dc1d5ff6f8b1dc64978882f661aee469a1abe9c5043c6e896" }, { "bytes": 31427, "path": "vad_probe/Cargo.lock", "bytes": 31427, "sha256": "37ff846220ca490f2d38da5b2d9c777dadc0810f07b17f1ccb471f088b8929d0" }, { "bytes": 339, "path": "vad_probe/Cargo.toml", "bytes": 339, "sha256": "0313aae93c91e3a6a07c17b9e2381f4bbe642f4ec1ef15c5bdf09972ca967971" }, { "bytes": 3679, "path": "vad_probe/README.md", "bytes": 3679, "sha256": "1cf43bd4fc5fea573bb2c81624b332056daee24b7bc7cb5ad03a7ea78bce80dd" }, { "bytes": 7880, "path": "vad_probe/src/constant_if.rs", "bytes": 7880, "sha256": "c41baec97501b5f9323baa0107f64085817fbee5c1c0d20d48ee2e4a4751dc92" }, { "bytes": 5207, "path": "vad_probe/src/lib.rs", "bytes": 5207, "sha256": "674f62dea8c10e5840013fa70cbcfc590785e5082d417488decf549185217890" }, { "bytes": 7988, "path": "vad_probe/src/main.rs", "bytes": 7988, "sha256": "e19bf9843c239096be13a2292430866c51385418caa2c7e56244c4817d5b8b5c" }, { "bytes": 1621, "path": "vad_probe/tests/detector_state.rs", "bytes": 1621, "sha256": "cf8f4048735d4d4cc0bbb51c20d82f42e99aaca33bf261a3adf15a2160edc384" }, { "bytes": 10280, "path": "vendor/kleidiai-audio8-bridge/Apache-2.0.txt", "bytes": 10280, "sha256": "074e6e32c86a4c0ef8b3ed25b721ca23aca83df277cd88106ef7177c354615ff" }, { "bytes": 2127, "path": "vendor/kleidiai-audio8-bridge/i8mm-provenance.json", "bytes": 2127, "sha256": "db2f7d7ad48437e2b450647de27dfd298f839cfa60b67f62da0006b127e9ad92" }, { "bytes": 5492, "path": "vendor/kleidiai-audio8-bridge/kai_matmul_clamp_f32_qsi8d32p1x4_qsi4c32p4x4_1x4_neon_dotprod.c", "bytes": 5492, "sha256": "a131721eea403bf66480562ca7f8eff762c43667ff503c89aef12bf53846b470" }, { "bytes": 6057, "path": "vendor/kleidiai-audio8-bridge/kai_matmul_clamp_f32_qsi8d32p1x4_qsi4c32p4x4_1x4_neon_dotprod.h", "bytes": 6057, "sha256": "4ba32f84553127a082694b3ba8b301ce520b54a1992dfeea3ba764dfd8635885" }, { "bytes": 4847, "path": "vendor/kleidiai-audio8-bridge/kai_matmul_clamp_f32_qsi8d32p1x4_qsi4c32p4x4_1x4_neon_dotprod_asm.S", "bytes": 4847, "sha256": "95723c9bacd5c2503b79642cba09091d545c58c2a2561ce785cedc455a13b868" }, { "bytes": 5055, "path": "vendor/kleidiai-audio8-bridge/kai_matmul_clamp_f32_qsi8d32p1x4_qsi4c32p4x4_1x4_neon_dotprod_audio8_f32scale_asm.S", "bytes": 5055, "sha256": "26b3ef50c69d0f35f414c4991561ad0306ef4575053ed8b182be4503216696dc" }, { "bytes": 5590, "path": "vendor/kleidiai-audio8-bridge/kai_matmul_clamp_f32_qsi8d32p4x4_qsi4c32p4x4_16x4_neon_dotprod.c", "bytes": 5590, "sha256": "8817e83091e7495e2d93485cbc891340f8d34e80750e011ef75e8c61eb2afbb2" }, { "bytes": 6086, "path": "vendor/kleidiai-audio8-bridge/kai_matmul_clamp_f32_qsi8d32p4x4_qsi4c32p4x4_16x4_neon_dotprod.h", "bytes": 6086, "sha256": "b2a88f248b2da47782e5a0db55179c71c7ad5bbecdef9fe52cbfa0907064b2f7" }, { "bytes": 26302, "path": "vendor/kleidiai-audio8-bridge/kai_matmul_clamp_f32_qsi8d32p4x4_qsi4c32p4x4_16x4_neon_dotprod_asm.S", "bytes": 26302, "sha256": "42576fec3f194cb1d8639d34c9be044101d62422d9f4afef5fea8455bcf58f09" }, { "bytes": 26422, "path": "vendor/kleidiai-audio8-bridge/kai_matmul_clamp_f32_qsi8d32p4x4_qsi4c32p4x4_16x4_neon_dotprod_audio8_f32scale_asm.S", "bytes": 26422, "sha256": "a2289e9a9517142dceff07ae58c0c78159f5521636172954aead083591bd03c0" }, { "bytes": 21760, "path": "vendor/kleidiai-audio8-bridge/kai_matmul_clamp_f32_qsi8d32p4x8_qsi4c32p4x8_16x4_neon_i8mm_audio8_f32scale_asm.S", "bytes": 21760, "sha256": "ab1a940870777fae2aca654d66720146a5b7dc4e981451b42cae1a31565cff5d" }, { "bytes": 3129, "path": "vendor/kleidiai-audio8-bridge/provenance.json", "bytes": 3129, "sha256": "179e0843a453ee083105a5222094eaa7bfce714e68d96baabaec38e824fdefa7" }, { "path": "native/src/encoder_tiled_attention_x86.rs", "bytes": 2093, "sha256": "047afbbca2845290a4d4fa4e7e9027c646cce5039cb67aa3c0d794cc6e2d1802" }, { "path": "native/src/kv_rebase_x86.rs", "bytes": 9347, "sha256": "8508cc3cf6c266617948e2230513d72eaf34d8632c3c4141d67fbb27fb90b3c2" } ], "parent_manifest_sha256": "e9f9b161ec0dd24d002de3698fec30e3a4f3dd8a623f45dbc7b60e424d15208e", "runtime_profile": "Existing AVX512 BF16 packed ASR + actual tract Silero; RT18/240ms/B1; no quality acceptance.", "schema": "audio8.native_caption_source.v2" "changed_from_tiled_stream": [ "native/src/kv_storage.rs", "native/src/kv_rebase_x86.rs" ], "v1_failure": "NaN arithmetic payload mismatch outside accepted cache input contract; preserved v1 logs. v2 checks all finite BF16 input patterns, exact finite results, nonfinite result rejection class, and retains exhaustive rounding NaN payload checks.", "v2_note": "All test commands passed; runner failed parsing first benchmark JSON after test-name prefix. Logs preserved. v3 strengthens whole-cache overflow atomicity for vector dimensions 16 and 64 and fixes parser.", "changed_from_rebase_v3": [ "native/src/bin/audio8-stream.rs", "native/src/bin/support/silero_stream.rs" ], "scope": "Opt-in existing constant-prefix import/export in Silero caption mode; executable/profile-bound, checksum verified at every reset, no hidden generation during recognition."}11 unmodified lines121314151516171718191920212222232425268 unmodified lines35363737383940418 unmodified lines50515252535455566 unmodified lines636465656667686934 unmodified lines10410510610610710810911011111111211311411511617 unmodified lines13413513613513613713813914014114214360 unmodified lines20420520620320420720820921021147 unmodified lines2592602612582592622632642652622662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962971 unmodified line299300301273274302303304305306432 unmodified lines7397407417137147427437447457467 unmodified lines7547557567287297577587597607612 unmodified lines76476576673873976776876977077137 unmodified lines80981081178378481281381481581678878981781881982082182282382482582620 unmodified lines847848849850851852853854855856818819857858859860861237 unmodified lines10991100110110631064110211031104110511062 unmodified lines11091110111110731074111211131114111511167 unmodified lines112411251126108810891127112811291130113157 unmodified lines1189119011911153115411921193119411951196102 unmodified lines12991300130112631302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139311 unmodified lines "runtime_components": { "native": { "status": "focused_tests_passed", "scope": "Linux x86_64, Ubuntu22.04 build, GLIBC\u22652.35; exact native inference evidence is reported separately.", "scope": "Linux x86_64, Ubuntu22.04 build, GLIBC>=2.35; improved source passed same-binary EN/ZH prefix parity. Full paced timing below used the identical source in a separately pinned host build.", "tests": { "caption": 6, "caption": 7, "gated": 3, "cli": 8, "cli": 10, "bf16_mode": 1 }, "unfiltered_library_suite_run": false "unfiltered_library_suite_run": false, "portable_prefix_parity": true }, "mlx": { "status": "full_input_diagnostic_passed",8 unmodified lines "AMD integrated Vulkan is slower than the input clock in this smoke.", "WorkRTF includes VAD-gated silence; it is not sustained uninterrupted-speech throughput.", "ProcessRSS excludes device-resident GPU allocation. PeakGPU memory was not sampled; buffer/payload figures are separate.", "Known long-speech omissions, memory target misses and sustained/native latency failures remain; fresh qualification was not run." "Known long-speech omissions and memory target misses remain; strict per-word latency and broad runtime qualification are unproven." ], "glibc_required": "2.43", "linkage_scope": "CLI resolves adjacent bridge via $ORIGIN; external GPU driver and matching system runtime libraries are required.",8 unmodified lines "AMD integrated Vulkan is slower than the input clock in this smoke.", "WorkRTF includes VAD-gated silence; it is not sustained uninterrupted-speech throughput.", "ProcessRSS excludes device-resident GPU allocation. PeakGPU memory was not sampled; buffer/payload figures are separate.", "Known long-speech omissions, memory target misses and sustained/native latency failures remain; fresh qualification was not run." "Known long-speech omissions and memory target misses remain; strict per-word latency and broad runtime qualification are unproven." ], "glibc_required": "2.43", "linkage_scope": "CLI resolves adjacent bridge via $ORIGIN; external GPU driver and matching system runtime libraries are required."6 unmodified lines "complete_runtime": false }, "execution_profile": { "format": "audio8-experimental-execution-v1", "format": "audio8-experimental-execution-v2", "status": "experimental", "production_ready": false, "primary_native_platform": "linux-x86_64",34 unmodified lines "cache_dtype": "bfloat16", "worker_qos": "default", "pool_driver": true, "prefix_mode": "none", "prefix_mode": "optional", "cpu_affinity": { "policy": "linux-physical-cores-v1", "workers": 8 }, "nice": null "nice": null, "encoder_tiled_attention": true }, "caption": { "format": "audio8-silero-caption-profile-v1",17 unmodified lines "requirements_sha256": "d5a5d709779bc64a60b06fb9f4cf18bd8e492ee4934f6b730a8bfd076f26ad68" }, "bindings": { "binary": "30486025c4ba0cb6d8f4d094b556fb22dbe7ecd2018caaeda740ed235ff51626", "model": "d40c393cfdb4fbd231c5fab593d844018b26f80d8a0113c9ae297b8edbee60ad" "binary": "f10ccbdc33ed5bc73d96516403634cd5551c81a05be823af91060a178a92d2d3", "model": "d40c393cfdb4fbd231c5fab593d844018b26f80d8a0113c9ae297b8edbee60ad", "source_manifest": "70f257fac9ab0a96e116684623e893dad875acefff947adb04b694c9283dc0b8", "source_archive": "fd68ec98f70ea455621adb1318b467cec36221dd9b66212f3e81cf5d92c48692" } } },60 unmodified lines }, { "path": "README.md", "bytes": 13426, "sha256": "b00e1558b5bebbf7e3deeadc59e8d12b06eda452482192924340186fbd17b33b" "bytes": 14538, "sha256": "9550bfbe585313ec12d6aff5524db39b109c8377ee761913ab1cc5f270621e55" }, { "path": "THIRD_PARTY_NOTICES.md",47 unmodified lines }, { "path": "bin/linux-x86_64/audio8-stream", "bytes": 28397232, "sha256": "30486025c4ba0cb6d8f4d094b556fb22dbe7ecd2018caaeda740ed235ff51626" "bytes": 28410544, "sha256": "f10ccbdc33ed5bc73d96516403634cd5551c81a05be823af91060a178a92d2d3" }, { "path": "evaluation/native-cpu-is1000a.json", "path": "evaluation/native-cpu-is1000a-baseline-v1.json", "bytes": 5838, "sha256": "50f953d865bc9203e5f78db181ebfe8fb0576b537f9f435db6d6cf873adedee0" }, { "path": "evaluation/native-cpu-is1000a.json", "bytes": 3460, "sha256": "9c17000800c34aae880867c03d5d6f1b49d185e223d0e5f0a0ad1460cab7326e" }, { "path": "evaluation/native-cpu-prefix-phase-summary.json", "bytes": 3085, "sha256": "2d5f1ea91f1dcc518297748dfd2c673b7a4c03fe92153665ac8a0740aa7e79c6" }, { "path": "evaluation/native-cpu-prefix-strict-verification.json", "bytes": 1620, "sha256": "7064c936b7c769914ed11659eba2ed1343a1df920ad4a5651df4b0ce934b054b" }, { "path": "evaluation/native-portable-prefix-parity.json", "bytes": 21540, "sha256": "5b8b9fe44c5603a52752c5a11de70961e6c74cfe5297b80c3064a0d9fc360c65" }, { "path": "evaluation/native-rebase-component.json", "bytes": 4396, "sha256": "5c207ebb8acc838707446667760eda6fe36717a7a90667904e710dacd24a8741" }, { "path": "evaluation/paired-quality.json", "bytes": 5940,1 unmodified line }, { "path": "execution_profile.json", "bytes": 5249, "sha256": "a2b8f0e326fa2d87b0ff165a034b6240742eeb22bc8020408956ac79ab0f3c2e" "bytes": 5483, "sha256": "3cd780f88a4d269f61e9fbfff242569d32abffe59df70473486c5440489f1852" }, { "path": "gguf/audio8-q4_0.gguf",432 unmodified lines }, { "path": "native/src/bin/audio8-stream.rs", "bytes": 35470, "sha256": "5fbe1ca1c377d1855539c1245270ecddb2dd0f830521519e43e71585aa4d8d54" "bytes": 37819, "sha256": "019315a3a4c4f7272de0956be6677d1ec54866b320a69b9ff0614df0bbe6181f" }, { "path": "native/src/bin/kleidi-bench.rs",7 unmodified lines }, { "path": "native/src/bin/support/silero_stream.rs", "bytes": 3966, "sha256": "6e78be61fc887c530e6bb008b9f310191023cb8a7700e299fd7c98e1f53aa320" "bytes": 5782, "sha256": "1ff226447f4899eb5799c75c8b4d48d0e2c8aa208c6778aa58b623c2273dfacb" }, { "path": "native/src/bin/support/stream_common.rs",2 unmodified lines }, { "path": "native/src/caption_stream.rs", "bytes": 22803, "sha256": "1b7c1231aa128d9d758352bc8926bda352b2a8f65d0294892ff8b82f4543f476" "bytes": 24798, "sha256": "d2ca9ed8ecb989fcf86a7ee9f54870bc1a6e8c3b73707a3dc05714d2f2126d8b" }, { "path": "native/src/conditioning.rs",37 unmodified lines }, { "path": "native/src/encoder_tiled_attention.rs", "bytes": 11957, "sha256": "fd3203940bc11da712db02bd98d957def495d59d5804d87c67ce461f7c3de391" "bytes": 12407, "sha256": "08956db5a69de6269ca206c2761cf91fc67e9a1e44e1d35c7037537be742fbe4" }, { "path": "native/src/encoder_tiled_attention_tests.rs", "bytes": 19056, "sha256": "5b046f439afa58815893037ab6700cf7470d816a4fcff1f87446225a36dbea30" "bytes": 25008, "sha256": "523567137fafdab39329135e273168549f98d479a2d44859b49dea4881e33a4d" }, { "path": "native/src/encoder_tiled_attention_x86.rs", "bytes": 2093, "sha256": "047afbbca2845290a4d4fa4e7e9027c646cce5039cb67aa3c0d794cc6e2d1802" }, { "path": "native/src/encoder_x86_attention_tests.rs",20 unmodified lines "bytes": 13860, "sha256": "4207564489bb02e305cc04e03cb99759dbd1ec8a711c07aab010cc99f740376f" }, { "path": "native/src/kv_rebase_x86.rs", "bytes": 9347, "sha256": "8508cc3cf6c266617948e2230513d72eaf34d8632c3c4141d67fbb27fb90b3c2" }, { "path": "native/src/kv_storage.rs", "bytes": 23517, "sha256": "2ae02b5812d672303e1cbab426d1d368c75fe02207149ec1b0e9bb7296de90c7" "bytes": 24390, "sha256": "a0e8dce85ae12f0bcb6603184e725e51d941a4206f11f09369258f1a5a409e0f" }, { "path": "native/src/lib.rs",237 unmodified lines }, { "path": "provenance/native-build.json", "bytes": 7653, "sha256": "5f8783ef97d7730d470c82cd74b459dd7f92c1ad6c4744dbcd1fe72a18c652a4" "bytes": 7722, "sha256": "541f57f9439a6f137bb85735608f4fb4c847ab1f68b866fd3007d02940711e1c" }, { "path": "provenance/native-model.json",2 unmodified lines }, { "path": "provenance/native-source-manifest.json", "bytes": 19843, "sha256": "e52a0d57d942261cb9cc22cbaf8280dbf46dd888aedae2d3a6ccb9abda0cdb4e" "bytes": 20863, "sha256": "70f257fac9ab0a96e116684623e893dad875acefff947adb04b694c9283dc0b8" }, { "path": "provenance/silero-source.json",7 unmodified lines }, { "path": "run-cpu-linux-x86_64.sh", "bytes": 1386, "sha256": "3bdaf6e6c5a286670f1c688f9c84b4264d42f3e64d45c41f6f2ba9910a5d2a9c" "bytes": 1606, "sha256": "10dedd6b81a48eeaba5fea35f12528be2f1e296eb1d3b2310f8ca224c51dd617" }, { "path": "run-cuda.sh",57 unmodified lines }, { "path": "sources/native-caption-sources.tar.gz", "bytes": 291729, "sha256": "147842b7d73e9fa9dbb001fa68f9b8791bd15a619d68d62326f78bc6d023833f" "bytes": 297688, "sha256": "fd68ec98f70ea455621adb1318b467cec36221dd9b66212f3e81cf5d92c48692" }, { "path": "vad_probe/Cargo.lock",102 unmodified lines "Accuracy loss remains; silence gating omissions are included in reported whole-input errors.", "Memory target 1\u20132GB is exceeded on measured consumer routes.", "No broad hardware/OS performance or production-readiness claim." ] ], "cpu_update_revision": 2, "cpu_diagnostic": { "status": "full_exposed_stream_verified", "all_2831_ids_exact": true, "model_changed": false, "production_ready": false, "published_package_changed": false, "mature_work_seconds_including_trims": 53.360868192, "mature_audio_budget_seconds": 55.2, "mature_work_rtf_including_trims": 0.9666823947826086, "long_segment_model_seconds": 78.840897153, "long_segment_audio_seconds": 85.168, "peak_non_eof_receipt_backlog_seconds": 0.5178427941128803, "memory": { "os_peak_process_rss_bytes": 2434076672, "os_peak_memory_footprint_bytes": null, "footprint_available": false, "rss_source_unit": "KiB (1024 bytes)", "elapsed_seconds": 326.58, "user_seconds": 926.72, "system_seconds": 74.73, "scope": "Fresh native child process including loading and inference; excludes Python harness. RSS and footprint are separate measurements and must not be summed." }, "word_timing": { "measured": true, "actual_arrival_paced": true, "timing_basis": "Independent host receipt of flushed JSONL since paced20ms producer start; all source words retained", "correctly_matched_units": 298, "ambiguous_matched_units": 8, "ambiguity_method": "all minimum unit-cost Levenshtein paths, without timing-based selection", "unambiguous_matched_units": 290, "unambiguous_maximum_seconds": 5.314757478116064, "unmatched_reference_units": 180, "matched_reference_fraction": 0.6234309623430963, "min_seconds": -2.327656292887397, "p50_seconds": 0.4837891599815265, "p95_seconds": 0.6571080310922071, "maximum_seconds": 5.314757478116064, "matched_units_above_one_second": 1, "all_matched_units_within_one_second": null, "whole_release_pass": false, "limitation": "Lag summaries use one deterministic text alignment and are descriptive when alternative optimal alignments exist. Only unambiguous matches can support per-word timing claims. Omissions/substitutions remain errors, never zero-latency successes. Published reference timing uncertainty and overlapping-speaker word order are not independently corrected." }, "groups": { "early": { "windows": 63, "mean_work_seconds": 0.055957308666666664, "mean_phase_seconds": { "frontend": 0.003428708349206349, "encoder": 0.02292193333333333, "projector": 0.0003277466984126984, "decoder": 0.02676664477777778, "head": 0.0025069615555555554 } }, "middle": { "windows": 192, "mean_work_seconds": 0.06687693241666666, "mean_phase_seconds": { "frontend": 0.00370436446875, "encoder": 0.034558047125, "projector": 0.0003304233541666667, "decoder": 0.025908055890625, "head": 0.0023705438697916668 } }, "late": { "windows": 672, "mean_work_seconds": 0.07568816295684525, "mean_phase_seconds": { "frontend": 0.003339698361607143, "encoder": 0.04277912063541667, "projector": 0.0003491926056547619, "decoder": 0.026791862453869046, "head": 0.002423294998511905 } }, "trim_windows": { "windows": 19, "mean_work_seconds": 0.13869575415789473, "mean_phase_seconds": { "frontend": 0.0022852106315789473, "encoder": 0.1040742662631579, "projector": 0.00033986926315789475, "decoder": 0.029645222, "head": 0.002327442947368421 } } } }}1 unmodified line2345567898910111213141516173 unmodified lines21222319242526271 unmodified line# Generated from the declared experimental execution profile; no arbitrary option forwarding.set -eufail() { printf '%s\n' "$1" >&2; exit 64; }usage() { fail 'run-cpu-linux-x86_64.sh INPUT.f32le|- en|zh'; }usage() { fail 'run-cpu-linux-x86_64.sh INPUT.f32le|- en|zh [PREFIX] | --prepare-prefix en|zh OUTPUT'; }[ "$(uname -s)" = Linux ] && [ "$(uname -m)" = x86_64 ] || fail 'This launcher requires linux-x86_64.'ROOT=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)[ "$#" -eq 2 ] || usageINPUT=$1; LANGUAGE=$2; MODE=run; PREFIX=if [ "${1-}" = --prepare-prefix ]; then [ "$#" -eq 3 ] || usage MODE=export; INPUT=-; LANGUAGE=$2; PREFIX=$3else { [ "$#" -eq 2 ] || [ "$#" -eq 3 ]; } || usage MODE=run; INPUT=$1; LANGUAGE=$2; PREFIX=${3-}ficase "$LANGUAGE" in en|zh) ;; *) usage ;; esac[ -n "$INPUT" ] || usagecase "$INPUT" in -|/*) ;; *) INPUT="$PWD/$INPUT" ;; esac3 unmodified lines [ -f "$PREFIX" ] || fail 'Prefix input file is missing.'ficase "$PREFIX" in ''|/*) ;; *) PREFIX="$PWD/$PREFIX" ;; esacset -- --activation bf16 --startup realtime --delay-ms 240 --gear 4 --workers 8 --tasks 4 --batch 1 --first-batch 1 --worker-qos defaultset -- --activation bf16 --startup realtime --delay-ms 240 --gear 4 --workers 8 --tasks 4 --batch 1 --first-batch 1 --worker-qos default --encoder-tiled-attentionset -- "$@" --silero-vad "$ROOT/assets/silero_vad.onnx"if [ "$MODE" = export ]; then set -- "$@" --prefix-out "$PREFIX"12323version https://git-lfs.github.com/spec/v1oid sha256:147842b7d73e9fa9dbb001fa68f9b8791bd15a619d68d62326f78bc6d023833fsize 291729oid sha256:fd68ec98f70ea455621adb1318b467cec36221dd9b66212f3e81cf5d92c48692size 297688README.md+40-26
SHA256SUMS+22-15
bin/linux-x86_64/audio8-stream+2-2
evaluation/native-cpu-is1000a-baseline-v1.jsonAdded+146
evaluation/native-cpu-is1000a.json+76-133
evaluation/native-cpu-prefix-phase-summary.jsonAdded+84
evaluation/native-cpu-prefix-strict-verification.jsonAdded+36
evaluation/native-portable-prefix-parity.jsonAdded+449
evaluation/native-rebase-component.jsonAdded+171
execution_profile.json+7-4
native/src/bin/audio8-stream.rs+67-10
native/src/bin/support/silero_stream.rs+45-4
native/src/caption_stream.rs+52-1
native/src/encoder_tiled_attention.rs+15-1
native/src/encoder_tiled_attention_tests.rs+124
native/src/encoder_tiled_attention_x86.rsAdded+59
native/src/kv_rebase_x86.rsAdded+217
native/src/kv_storage.rs+37-17
provenance/native-build.json+36-36
provenance/native-source-manifest.json+142-123
release_manifest.json+168-39
run-cpu-linux-x86_64.sh+9-4
sources/native-caption-sources.tar.gz+2-2