Fix runtime error classification and propagate backend failures - #171
Merged
Merged
Conversation
cunba-ai
pushed a commit
to cunba-ai/transcribe.cpp
that referenced
this pull request
Sep 27, 2026
Upstream sync: ggml 0.25.1->0.25.3, release 0.2.4 content, repetition loop guard (handy-computer#166, new TRANSCRIBE_ERR_OUTPUT_REPETITION=19), better error code returns (handy-computer#171), koffi async stack size, qwen3_asr lang-hint docs. Conflict resolutions: - Version line kept at fork 0.3.0 (superset ABI); upstream's 0.2.4 version-only bumps dropped. All binding/version spots re-verified with scripts/release/prepare.py gates (version sync, FFI drift, Swift pin, lock freshness) - all green. - src/arch/sortformer/model.cpp: kept fork's run_diar_streaming_window refactor; applied upstream handy-computer#171 error-code reclassification (ggml_init/alloc -> OOM, sched/graph_compute -> BACKEND) at the corresponding sites inside the helper. - src/transcribe.cpp: kept both includes (fork build-info + upstream batch-util). - ABI change is real (new error code 19): abihash moved to 8c9917fa9596bf0d; Python/TS/Rust bindings regenerated, Swift pinnedHeaderHash updated. - bindings/python/uv.lock + typescript/package-lock.json re-synced.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Should help with some of the comments in this issue cjpais/Handy#2007 (comment)