]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
model-conversion : add verbose flag in run-org-model.py (#18194)
authorDaniel Bevenius <redacted>
Fri, 19 Dec 2025 07:43:16 +0000 (08:43 +0100)
committerGitHub <redacted>
Fri, 19 Dec 2025 07:43:16 +0000 (08:43 +0100)
commit0a271d82b46577d955b6c5c8020aab3b4d21057d
tree2d1bfdb435e3b2d8325a465466058ca5b5a0103f
parent52fc7fee8a96211de439aa8ea27dd53e7a4a2200
model-conversion : add verbose flag in run-org-model.py (#18194)

This commit adds a --verbose flag to the run-org-model.py script to
enable or disable detailed debug output, such as input and output
tensors for each layer. Debug utilities (summarize, debug_hook,
setup_rope_debug) have been moved to utils/common.py.

The motivation for this is that the detailed debug output can be useful
for diagnosing issues with model conversion or execution, but it can
also produce a large amount of output that may not always be needed.

The script will also be further cleaned/refactored in follow-up commits.
examples/model-conversion/scripts/causal/run-org-model.py
examples/model-conversion/scripts/utils/common.py