Skip to content
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

Removed duplicate lines in convert-pt-to-ggml.py whisper example #256

Merged
merged 1 commit into from
Jun 18, 2023

Conversation

avilum
Copy link
Contributor

@avilum avilum commented Jun 13, 2023

Hey, I appreciate your work!
I cleaned up 2 lines: ftype=0; and data = data.astype(np.float32).
As you can see, lines 300, 301 are repeated in 303, 304.
No real impact, just for cleaner code.

Deleted 2 lines of .astype(float32) conversion to the model weights (No real impact, just for cleaner code)
@ggerganov ggerganov merged commit 7e8b307 into ggerganov:master Jun 18, 2023
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.

None yet

2 participants