]>
git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
Early return for zero size calls to get_tensor. (llama/5482)
* Early return for zero size calls to get_tensor.
Signed-off-by: Adam Treat <redacted>
* Update ggml-kompute.cpp
Co-authored-by: Georgi Gerganov <redacted>
* Update ggml-kompute.cpp
Co-authored-by: Georgi Gerganov <redacted>
* Add an early return to the get/set tensor when the size is null.
Signed-off-by: Adam Treat <redacted>
* Early return after the assertions.
Signed-off-by: Adam Treat <redacted>
* Since we do the early return in the generic backend now no reason to do so here as well.
Signed-off-by: Adam Treat <redacted>
---------
Signed-off-by: Adam Treat <redacted>
Co-authored-by: Georgi Gerganov <redacted>