llama.cpp/examples/model-conversion/scripts/utils
Daniel Bevenius 0a271d82b4
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.
2025-12-19 08:43:16 +01:00
..
__init__.py model-conversion : use CONVERTED_MODEL value for converted model [no ci] (#17984) 2025-12-13 08:34:26 +01:00
check-nmse.py model-conversion : use CONVERTED_MODEL value for converted model [no ci] (#17984) 2025-12-13 08:34:26 +01:00
common.py model-conversion : add verbose flag in run-org-model.py (#18194) 2025-12-19 08:43:16 +01:00
create-collection-add-model.sh model-conversion : remove hardcoded /bin/bash shebangs [no ci] (#15765) 2025-09-03 12:50:47 +02:00
curl-embedding-server.sh model-conversion : remove hardcoded /bin/bash shebangs [no ci] (#15765) 2025-09-03 12:50:47 +02:00
hf-add-model-to-collection.py examples : add model conversion tool/example (#15455) 2025-08-21 12:16:54 +02:00
hf-create-collection.py examples : add model conversion tool/example (#15455) 2025-08-21 12:16:54 +02:00
hf-create-model.py model-conversion : add model card template for embeddings [no ci] (#15557) 2025-08-25 14:25:25 +02:00
hf-upload-gguf-model.py examples : add model conversion tool/example (#15455) 2025-08-21 12:16:54 +02:00
inspect-converted-model.sh model-conversion : remove hardcoded /bin/bash shebangs [no ci] (#15765) 2025-09-03 12:50:47 +02:00
inspect-org-model.py model-conversion : add embedding prompt file support (#15871) 2025-09-25 12:02:36 +02:00
perplexity-gen.sh model-conversion : remove hardcoded /bin/bash shebangs [no ci] (#15765) 2025-09-03 12:50:47 +02:00
perplexity-run-simple.sh model-conversion : remove hardcoded /bin/bash shebangs [no ci] (#15765) 2025-09-03 12:50:47 +02:00
perplexity-run.sh model-conversion : remove hardcoded /bin/bash shebangs [no ci] (#15765) 2025-09-03 12:50:47 +02:00
quantize.sh model-conversion : remove hardcoded /bin/bash shebangs [no ci] (#15765) 2025-09-03 12:50:47 +02:00
run-embedding-server.sh model-conversion : remove hardcoded /bin/bash shebangs [no ci] (#15765) 2025-09-03 12:50:47 +02:00
semantic_check.py model-conversion : add support for SentenceTransformers (#16387) 2025-10-09 14:35:22 +02:00