]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
tests: allow exporting graph ops from HF file without downloading weights (#21182)
authorRuben Ortlam <redacted>
Thu, 2 Apr 2026 16:19:20 +0000 (18:19 +0200)
committerGitHub <redacted>
Thu, 2 Apr 2026 16:19:20 +0000 (18:19 +0200)
commit5803c8d11529b08844d740c03d8b6603608654b1
treef7c189f081ddc746fbd613c1315f3466c1141b96
parent63f8fe0ef4d134378fcdd67f50b05dff3cee179b
tests: allow exporting graph ops from HF file without downloading weights (#21182)

* tests: allow exporting graph ops from HF file without downloading weights

* use unique_ptr for llama_context in HF metadata case

* fix missing non-required tensors falling back to type f32

* use unique pointers where possible

* use no_alloc instead of fixing f32 fallback

* fix missing space
common/arg.cpp
common/common.cpp
common/common.h
tests/CMakeLists.txt
tests/export-graph-ops.cpp
tests/gguf-model-data.cpp
tests/gguf-model-data.h