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. |
||
|---|---|---|
| .. | ||
| compare-embeddings-logits.sh | ||
| compare-logits.py | ||
| convert-model.sh | ||
| modelcard.template | ||
| run-casual-gen-embeddings-org.py | ||
| run-converted-model-embeddings-logits.sh | ||
| run-converted-model.sh | ||
| run-org-model.py | ||