Skip to content

Conversation

@KitaitiMakoto
Copy link
Collaborator

@KitaitiMakoto KitaitiMakoto commented Jan 18, 2025

Hello,

This pull request

  • makes Whisper::Context.new accept initial parameters,
  • adds to retrieve to a segment to Whisper::Context,
  • splits a C++file into multiple files,
  • and includes tiny refinements

Thanks.

}
} else {
for (uint64_t i = 0; i < n; i++) {
pcmf32[i] = float(pcm16[2*i] + pcm16[2*i + 1])/65536.0f;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can overflow int16_t

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for reviewing! I fixed it. I appreciate if you tell me better way because I'm a newbie to C++.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is OK.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@ggerganov ggerganov merged commit 7ffcd05 into ggml-org:master Jan 21, 2025
44 checks passed
@KitaitiMakoto KitaitiMakoto deleted the params-kwargs branch January 21, 2025 07:43
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