Move duplicated imatrix code into single common imatrix-loader.cpp (#22445)

* Deduplicate imatrix loading code

* Add back LLAMA_TRACE, early exit on quantize missing metadata
This commit is contained in:
Bartowski
2026-06-04 11:45:40 -04:00
committed by GitHub
parent 21444c822e
commit e7bcf1c3a8
5 changed files with 303 additions and 359 deletions

View File

@@ -78,6 +78,8 @@ add_library(${TARGET}
hf-cache.cpp
hf-cache.h
http.h
imatrix-loader.cpp
imatrix-loader.h
json-partial.cpp
json-partial.h
json-schema-to-grammar.cpp