Skip to content

whisper : remove redundant assignments #3178

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

Merged

Conversation

danbev
Copy link
Member

@danbev danbev commented May 21, 2025

This commit removes some redundant assignments in the function whisper_exp_compute_token_level_timestamps.

The motivations for this is that tokens[j] and token are references to the same object and this can be a little confusing when reading the code.

This commit removes some redundant assignments in the function
`whisper_exp_compute_token_level_timestamps`.

The motivations for this is that tokens[j] and token are references to
the same object and this can be a little confusing when reading the
code.
@danbev danbev merged commit bd1cb0c into ggml-org:master May 21, 2025
53 checks passed
@danbev danbev deleted the whisper-compute-token-level-timestamps branch May 22, 2025 04:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants