Describe the bug
Modelscan skips a model if it identifies invalid magic number (header) of the model. However, it would still print out
--- Summary ---
No issues found! 馃帀
--- Skipped ---
Total skipped: 1 - run with --show-skipped to see the full list.
This is kind of misleading because incautious users might ignore the line about the skipped model.
I understand the modelscan produces a different non-zero exit code but I suppose people might not check the exit code.
To Reproduce
Steps to reproduce the behavior:
- run on a model with an invalid magic number, for example: https://huggingface.co/sentence-transformers/paraphrase-MiniLM-L6-v2/blob/main/openvino/openvino_model.bin
- modelscan -p openvino_model.bin
Expected behavior
I would expect modelscan to show: modelscan does not know if there is an issue because the model is skipped.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Additional context
Add any other context about the problem here.
Describe the bug
Modelscan skips a model if it identifies invalid magic number (header) of the model. However, it would still print out
This is kind of misleading because incautious users might ignore the line about the skipped model.
I understand the modelscan produces a different non-zero exit code but I suppose people might not check the exit code.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I would expect modelscan to show: modelscan does not know if there is an issue because the model is skipped.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
OS
macOS 14.4 (ARM)
Modelscan Version
v0.8.1
Describe the model serialization format that triggered this error (if applicable)
https://huggingface.co/sentence-transformers/paraphrase-MiniLM-L6-v2/blob/main/openvino/openvino_model.bin
Additional context
Add any other context about the problem here.