llama.cpp
Early return for zero size calls to get_tensor.
#5482
Merged

Early return for zero size calls to get_tensor. #5482

manyoso
manyoso Early return for zero size calls to get_tensor.
89b1915d
ggerganov
ggerganov approved these changes on 2024-02-13
slaren
manyoso Update ggml-kompute.cpp
a83f6879
manyoso Update ggml-kompute.cpp
4ca3d401
manyoso Add an early return to the get/set tensor when the size is null.
590e7739
cebtenzzre
cebtenzzre
cebtenzzre commented on 2024-02-13
manyoso Early return after the assertions.
43bfc95a
manyoso Since we do the early return in the generic backend now no reason to …
2d0586ec
slaren
slaren approved these changes on 2024-02-13
slaren slaren merged f5ca0548 into master 1 year ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone