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

ggml_new_tensor_impl: not enough space in the scratch memory #529

Closed
divideconcept opened this issue Feb 23, 2023 · 2 comments
Closed

ggml_new_tensor_impl: not enough space in the scratch memory #529

divideconcept opened this issue Feb 23, 2023 · 2 comments

Comments

@divideconcept
Copy link

divideconcept commented Feb 23, 2023

I'm using whisper.cpp as a C++ library in macOS 12.6 arm (macbook air M1), with the base and small multilingual models.

I'm processing audio chunks ranging from 3 to 20 seconds or so.

Sometime I randomly get this error (crashing my application):
ggml_new_tensor_impl: not enough space in the scratch memory
which points to this:

GGML_PRINT("%s: not enough space in the scratch memory\n", __func__);

However I have no idea what I can do to help with this issue ?

@ggerganov
Copy link
Owner

Are you using the latest master branch?
There was a bugfix yesterday: #520

@divideconcept
Copy link
Author

I couldn't repro the crash after using the latest master branch, so I'd say it's fixed.
Also the random behavior was consistant with an uninitialized variable.

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

No branches or pull requests

2 participants