Skip to content

Comments

Avoid many useless speech chunks in inference#13

Merged
sarapapi merged 2 commits intohlt-mt:mainfrom
mgaido91:fix_inference_chunk_size
Jan 23, 2026
Merged

Avoid many useless speech chunks in inference#13
sarapapi merged 2 commits intohlt-mt:mainfrom
mgaido91:fix_inference_chunk_size

Conversation

@mgaido91
Copy link
Contributor

# Why is needed?

The current inference script uses a very small speech chunk size, which causes many useless loops, due to a wrong computation of the number of items corresponding to the speech chunk size configured in the speech processor to evaluate.

What does the PR do?

Fixes speech chunk computation.

How was the PR tested?

Manual runs.

@mgaido91 mgaido91 requested a review from sarapapi January 22, 2026 11:24
@mgaido91 mgaido91 self-assigned this Jan 22, 2026
@mgaido91 mgaido91 added the enhancement New feature or request label Jan 22, 2026
@sarapapi sarapapi merged commit 6eb0deb into hlt-mt:main Jan 23, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants