]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
model-conversion : merge inspect-org-model.py with tensor-info.py (#19823)
authorDaniel Bevenius <redacted>
Mon, 23 Feb 2026 13:15:16 +0000 (14:15 +0100)
committerGitHub <redacted>
Mon, 23 Feb 2026 13:15:16 +0000 (14:15 +0100)
commit72b44c0d212d53acd49b3fb344979e4adb2ade32
tree8490522b3b6353ae88455440d9e2a56732bc0551
parentbc160d3582d5552ee1c2db810f3f6401d5a0a0a4
model-conversion : merge inspect-org-model.py with tensor-info.py (#19823)

This commit replaces/merges the inspect-org-model.py script with the
contents tensor-info.py script. The merged script has also been updated
to also print tensor sizes which was the only thing that was not done
before (by tensor-info.py that is).

The motivation for this is that tensor-info.py does not load the tensor
weights which can be time consuming for larger models. And also now that
both are doing almost the same thing it makes sense to just have one and
not two scripts to maintain.
examples/model-conversion/Makefile
examples/model-conversion/scripts/utils/inspect-org-model.py
examples/model-conversion/scripts/utils/tensor-info.py [deleted file]