Repository navigation
common : only load backends when required - #22290
Conversation
1952e4b to
f2d4b06
Compare
|
The |
|
Hm, I don't see where we would call |
Damn, checking. I don’t use AI often (for llama.cpp!). Kimi is this bad ? 🤣 |
9027fd9 to
37ac5d5
Compare
|
The last call was missing... |
|
@ggerganov maybe I can take this PR as an opportunity to remove |
Yes, let's do that. |
Signed-off-by: Adrien Gallouët <[email protected]>
Signed-off-by: Adrien Gallouët <[email protected]>
Signed-off-by: Adrien Gallouët <[email protected]>
37ac5d5 to
b967482
Compare
|
I finally have updated |
|
I think it’s just because of some missing calls it’s hard to track all of them |
|
#22752 should fix both issues (and others) |
* common : only load backends when required Signed-off-by: Adrien Gallouët <[email protected]> * llama : call ggml_backend_load_all() directly from llama_backend_init() Signed-off-by: Adrien Gallouët <[email protected]> * Add ggml_backend_load_all() where llama_backend_init() is not used Signed-off-by: Adrien Gallouët <[email protected]> --------- Signed-off-by: Adrien Gallouët <[email protected]>
* common : only load backends when required Signed-off-by: Adrien Gallouët <[email protected]> * llama : call ggml_backend_load_all() directly from llama_backend_init() Signed-off-by: Adrien Gallouët <[email protected]> * Add ggml_backend_load_all() where llama_backend_init() is not used Signed-off-by: Adrien Gallouët <[email protected]> --------- Signed-off-by: Adrien Gallouët <[email protected]>
* common : only load backends when required Signed-off-by: Adrien Gallouët <[email protected]> * llama : call ggml_backend_load_all() directly from llama_backend_init() Signed-off-by: Adrien Gallouët <[email protected]> * Add ggml_backend_load_all() where llama_backend_init() is not used Signed-off-by: Adrien Gallouët <[email protected]> --------- Signed-off-by: Adrien Gallouët <[email protected]> (cherry picked from commit bf76ac7)
* common : only load backends when required Signed-off-by: Adrien Gallouët <[email protected]> * llama : call ggml_backend_load_all() directly from llama_backend_init() Signed-off-by: Adrien Gallouët <[email protected]> * Add ggml_backend_load_all() where llama_backend_init() is not used Signed-off-by: Adrien Gallouët <[email protected]> --------- Signed-off-by: Adrien Gallouët <[email protected]>
* common : only load backends when required Signed-off-by: Adrien Gallouët <[email protected]> * llama : call ggml_backend_load_all() directly from llama_backend_init() Signed-off-by: Adrien Gallouët <[email protected]> * Add ggml_backend_load_all() where llama_backend_init() is not used Signed-off-by: Adrien Gallouët <[email protected]> --------- Signed-off-by: Adrien Gallouët <[email protected]>
Overview
Only load backends when required.
Additional information
This fixe the following issues: #20186, #21708 and maybe others.
Requirements