-
Notifications
You must be signed in to change notification settings - Fork 0
fix(stt): refuse quantized Whisper runtime models #81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Open
Changes from all commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
3e75999
[codex/vc-workflow] fix(stt): refuse quantized Whisper runtime models
m-szymanska 2bf97be
[codex/vc-workflow] fix(stt): satisfy newer Clippy PCM chunk lint
m-szymanska be6b6c9
[codex/vc-workflow] fix(stt): remove dead q8 dequantization path (PR …
m-szymanska f377548
[codex/vc-workflow] fix(stt): make fp16 bundles repairable
m-szymanska 4eba1ae
[codex/vc-workflow] docs(stt): document validated fp16 bundles
m-szymanska 38fb2de
[codex/vc-workflow] test(stt): satisfy rust 1.98 clippy
m-szymanska e0063b7
[codex/vc-workflow] fix(stt): select a valid weights alternative (PR …
m-szymanska e8f0bf0
[codex/vc-workflow] fix(stt): skip invalid cached snapshots (PR #81 r…
m-szymanska f064d5f
[codex/vc-workflow] fix(stt): validate safetensors metadata (PR #81 r…
m-szymanska 1f2d0b3
[codex/vc-workflow] fix(stt): reject empty model tensors
m-szymanska 189b51f
[codex/vc-workflow] docs(stt): align final-pass default (PR #81 review)
m-szymanska 6de8128
[codex/vc-workflow] fix(stt): validate release model bundles (PR #81 …
m-szymanska 65df3fd
[codex/vc-workflow] fix(stt): fail closed on invalid model overrides
m-szymanska 7b85f71
[codex/vc-workflow] test(stt): reuse canonical model discovery
m-szymanska 2d34de5
[codex/vc-workflow] fix(stt): expand tilde model overrides (PR #81 re…
m-szymanska d3b8285
[codex/vc-workflow] fix(stt): validate fat-build weight selection (PR…
m-szymanska 18a04a5
[codex/vc-workflow] fix(stt): expand build-time tilde model paths (PR…
m-szymanska 677d9f1
[codex/vc-workflow] fix(stt): validate benchmark model discovery (PR …
m-szymanska ba4887d
[codex/vc-workflow] fix(stt): stage model bundle before promotion (PR…
m-szymanska 671785f
[codex/vc-workflow] fix(stt): validate complete fat-build bundles (PR…
m-szymanska 5142c3a
[codex/vc-workflow] test(stt): validate E2E model discovery (PR #81 r…
m-szymanska 94554f5
[codex/vc-workflow] chore(stt): preserve validator trust boundary
m-szymanska 6b15066
[codex/vc-workflow] test(stt): describe E2E bundle validation (PR #81…
m-szymanska fa89b3c
[codex/vc-workflow] fix(release): quiet invalid cache probes (PR #81 …
m-szymanska 1647a22
[codex/vc-workflow] fix(stt): require Whisper control tokens (PR #81 …
m-szymanska f780561
[codex/vc-workflow] fix(stt): repair default model as paired assets (…
m-szymanska 40eefa4
[codex/vc-workflow] fix(stt): exclude alignment metadata from model w…
m-szymanska 3723f96
[codex/vc-workflow] fix(release): remove shadowed Whisper weights
m-szymanska 77e18bf
[codex/vc-workflow] fix(msrv): declare Rust 1.88 support floor
m-szymanska dfa9ec2
[codex/vc-workflow] fix(stt): align model discovery across build and …
m-szymanska c956250
[codex/vc-workflow] docs(stt): align FP16 compatibility contract
m-szymanska e368904
[codex/vc-workflow] test(release): cover alternate Whisper weight pro…
m-szymanska 8f41abd
[codex/vc-workflow] test(release): gate Whisper bundle promotion
m-szymanska 66b9ae7
[codex/vc-workflow] fix(stt): expand models root home prefix
m-szymanska 4f2db14
[codex/vc-workflow] test(release): make Whisper fixture hermetic
m-szymanska 976b9ed
[codex/vc-workflow] fix(stt): validate model architecture and cache r…
m-szymanska 12a870b
[codex/vc-workflow] fix(stt): validate complete model compatibility
m-szymanska 3392871
[codex/vc-workflow] fix(stt): harden tokenizer compatibility
m-szymanska 04ff5f0
[codex/vc-workflow] fix(stt): align bundle validation with runtime
m-szymanska fbf447f
[codex/vc-workflow] fix(stt): close model resource boundaries
m-szymanska 6dad4df
[codex/vc-workflow] fix(stt): enforce runtime window bounds
m-szymanska cd8cbc9
[codex/vc-workflow] fix(stt): validate decode-time model contracts
m-szymanska 83d13cc
[codex/vc-workflow] fix(stt): bound model width and align e2e discovery
m-szymanska d95c1e7
[codex/vc-workflow] fix(stt): bound metadata and reuse runtime resolu…
m-szymanska 13174b8
[codex/vc-workflow] docs(setup): align Rust MSRV
m-szymanska File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| //! Validate a composed Whisper model with the runtime's canonical contract. | ||
|
|
||
| use anyhow::{Context, Result, anyhow}; | ||
| use codescribe_core::config::models::{ | ||
| resolve_runtime_whisper_model_path, validate_whisper_model_bundle, | ||
| }; | ||
| use std::path::PathBuf; | ||
|
|
||
| fn main() -> Result<()> { | ||
| let mut args = std::env::args_os().skip(1); | ||
| let command = args | ||
| .next() | ||
| .ok_or_else(|| anyhow!("usage: codescribe-whisper-validate <model-directory>|--resolve"))?; | ||
| if args.next().is_some() { | ||
| return Err(anyhow!( | ||
| "usage: codescribe-whisper-validate <model-directory>|--resolve" | ||
| )); | ||
| } | ||
|
|
||
| if command == "--resolve" { | ||
| println!("{}", resolve_runtime_whisper_model_path(None)?.display()); | ||
| return Ok(()); | ||
| } | ||
|
|
||
| let path = PathBuf::from(command); | ||
| validate_whisper_model_bundle(&path) | ||
| .with_context(|| format!("invalid Whisper model bundle: {}", path.display())) | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.