llama.cpp/examples/model-conversion/scripts/causal
Daniel Bevenius 9c142e3a2a
model-conversion : add warn about transformers mismatch (#18691)
This commit adds a check comparing the installed transformers library
with the transformers version that the original model supports. This
check will be performed upon a model verification failure and prints a
warning/hint to the user suggesting to install the correct version of
the transformers library.

The motivation for this change is that it is possible for the model
verification to fail due to differences in the transformers library used
and it might not be obvious that this could be the cause of the failure.
With this warning the correct version can be checked and hopefully save
time troubleshooting the cause of the verification failure.
2026-01-08 09:29:53 +01:00
..
compare-embeddings-logits.sh model-conversion : use CONVERTED_MODEL for compare-embeddings (#18461) 2025-12-30 10:13:12 +01:00
compare-logits.py model-conversion : add warn about transformers mismatch (#18691) 2026-01-08 09:29:53 +01:00
convert-model.sh model-conversion : remove hardcoded /bin/bash shebangs [no ci] (#15765) 2025-09-03 12:50:47 +02:00
modelcard.template model-conversion : remove -fa option in model card template [no ci] (#18088) 2025-12-16 13:25:09 +01:00
run-casual-gen-embeddings-org.py examples : add debug utility/example (#18464) 2026-01-07 10:42:19 +01:00
run-converted-model-embeddings-logits.sh examples : add debug utility/example (#18464) 2026-01-07 10:42:19 +01:00
run-converted-model.sh examples : add debug utility/example (#18464) 2026-01-07 10:42:19 +01:00
run-org-model.py examples : add debug utility/example (#18464) 2026-01-07 10:42:19 +01:00