Repository navigation
Fix per-request result IDs in Qwen-Audio-Jev batches - #4002
Merged
Merged
Conversation
Validate positional keys before starting inference, retain the existing scalar and generated key behavior, and cover cross-batch alignment in NumPy CI. Signed-off-by: LauraGPT <zhifu.gzf@alibaba-inc.com>
Collaborator
Author
|
Verified on one Shanghai NVIDIA L20Z with the official choice and score fixtures. Both Jev-Tiny and Jev ran from verified local snapshots with networking disabled (PyTorch 2.10.0+cu128, Transformers 5.3.0). Passing two requests to one |
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.
Passing an ordered list of request IDs to the Jev SDK used to put the entire list in every output row. Applications could not join decisions back to their source jobs. Pair a positional list or tuple with the requests before internal batching. Reject bad lengths or non-string/empty IDs before the first worker. Keep generated IDs and explicit scalar labels; do not change other ASR paths.
Both SDK guides show the distinction between job IDs and question IDs. The NumPy jobs now run the existing Jev adapter tests and the new regressions. Shanghai focused + related CPU selection: 116 passed, 1 opt-in GPU case skipped. Separately, offline on one L20Z, the latest official HF runner (c07c1023) and the cached official Tiny checkpoint reproduced the wrong keys on main. After the fix, a choice and a score request had the correct distinct keys and the two nested decisions were unchanged. No quality, throughput or release claim.