encodec.cpp icon indicating copy to clipboard operation
encodec.cpp copied to clipboard

not enough space in context's memory pool

Open bachittle opened this issue 1 year ago • 3 comments

read_wav_from_disk: Number of frames read = 1577459.
ggml_new_object: not enough space in the context's memory pool (needed 39200416, available 39200096)
compress: /mnt/c/prog/fork/encodec.cpp/ggml/src/ggml.c:4858: ggml_new_object: Assertion `false' failed.
Aborted

This looks similar to the unresolved bark.cpp error: https://github.com/PABannier/bark.cpp/issues/122

Now that I have been experimenting, I believe it is due to the size of the file. If it is above 1mb it cannot fit into the buffer. So even if the file is like 10-15 seconds in length, its too big for the buffer.

bachittle avatar Jan 09 '24 15:01 bachittle