tests : avoid building get-model.cpp many times (#26317)

* tests : remove get-model.cpp

* tests : fix quant type selection
This commit is contained in:
Georgi Gerganov
2026-07-30 19:34:04 +03:00
committed by GitHub
parent e1a1abb787
commit 47f686f53f
11 changed files with 42 additions and 50 deletions
+2 -2
View File
@@ -1,10 +1,10 @@
#include "llama.h"
#include "get-model.h"
#include "common.h"
#include <cstdlib>
int main(int argc, char *argv[] ) {
auto * model_path = get_model_or_exit(argc, argv);
auto * model_path = common_get_model_or_exit(argc, argv);
auto * file = fopen(model_path, "r");
if (file == nullptr) {
fprintf(stderr, "no model at '%s' found\n", model_path);