]> git.djapps.eu Git - pkg/ggml/sources/ggml/commitdiff
ci: run the x64 and arm ci on the github machines instead (llama/16183)
authorEve <redacted>
Thu, 25 Sep 2025 05:06:06 +0000 (05:06 +0000)
committerGeorgi Gerganov <redacted>
Thu, 25 Sep 2025 08:56:34 +0000 (11:56 +0300)
* run the x64 ci on regular machines

* set up the same thing for arm

fix test-quantize-perf just like #12306

* try to disable sve

* add another sve run

tests/test-quantize-perf.cpp

index 2882884938388393e5b54bd1c584385951df60d5..cac0782dee9a9e5495d6dda407faa1ecdcd02c0d 100644 (file)
@@ -260,14 +260,7 @@ int main(int argc, char * argv[]) {
 
     int64_t iterations = params.iterations;
 
-
-    // Initialize GGML, ensures float conversion tables are initialized
-    struct ggml_init_params ggml_params = {
-        /* .mem_size   = */ 1*1024,
-        /* .mem_buffer = */ NULL,
-        /* .no_alloc   = */ true,
-    };
-    struct ggml_context * ctx = ggml_init(ggml_params);
+    ggml_cpu_init();
 
     for (int i = 0; i < GGML_TYPE_COUNT; i++) {
         ggml_type type = (ggml_type) i;
@@ -359,7 +352,5 @@ int main(int argc, char * argv[]) {
         }
     }
 
-    ggml_free(ctx);
-
     return 0;
 }