Commit cbb7d52ec for llama.cpp
commit cbb7d52ecbda50b4f91b096ea1c88c82c07133a0
Author: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
Date: Tue Oct 6 03:49:52 2026 -0400
test-llama-archs : initialize backends before generating models (#30034)
With GGML_BACKEND_DL=ON, backends must be loaded explicitly before
creating models.
Assisted-by: Codex
diff --git a/tests/test-llama-archs.cpp b/tests/test-llama-archs.cpp
index 7a76efccc..9fba4fdc5 100644
--- a/tests/test-llama-archs.cpp
+++ b/tests/test-llama-archs.cpp
@@ -1058,6 +1058,7 @@ int main(int argc, char ** argv) {
// init the logger at max verbosity. filter with a custom callback respecting the user-configure verbosity
common_log_set_verbosity_thold(LOG_LEVEL_DEBUG);
common_init();
+ llama_backend_init();
std::random_device rd;