Open thepacketloss opened 7 months ago
Does this still happen with the current version? It should have been fixed in the latest ggml sync.
Does this still happen with the current version? It should have been fixed in the latest ggml sync.
I tested 2 times with master branch again and now this panic still happens but it's first line changed from this :
GGML_ASSERT: ggml-cuda.cu:7730: ptr == (void *) (g_cuda_pool_addr[device] + g_cuda_pool_used[device])
to this :
GGML_ASSERT: ggml-cuda.cu:351: ptr == (void *) (pool_addr + pool_used)
This shouldn't happen unless the same ggml_backend
instance is being used in multiple threads simultaneously, which I believe that also implies that the same whisper_context
is being used in multiple threads. In which case, that looks like a bug in the go bindings. @ggerganov is this expected?
This seems like a problem in the Go bindings, otherwise there would have been more reports. However, I don't think I can help with locating the problem - the Go code seems OK to me and I can't see an obvious problem, though I'm far from expert
I'm trying to use cuda with go binding and I get this error randomly : I already saw this issue : https://github.com/ggerganov/whisper.cpp/issues/1814 and I'm using master branch already tested v1.5.4 and v1.5.1
Here is my code :
Any idea ??