mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
Overhaul of model identification (probing) tests. Previously we didn't test the correctness of probing except in a few narrow cases - now we do. See tests/model_identification/README.md for a detailed overview of the new test setup. It includes instructions for adding a new test case. In brief: - Download the model you want to add as a test case - Run a script against it to generate the test model files - Fill in the expected model type/format/base/etc in the generated test metadata JSON file Included test cases: - All starter models - A handful of other models that I had installed - Models present in the previous test cases as smoke tests, now also tested for correctness
8 lines
444 B
Plaintext
8 lines
444 B
Plaintext
# Auto normalizes line endings on commit so devs don't need to change local settings.
|
|
# Only affects text files and ignores other file types.
|
|
# For more info see: https://www.aleksandrhovhannisyan.com/blog/crlf-vs-lf-normalizing-line-endings-in-git/
|
|
* text=auto
|
|
docker/** text eol=lf
|
|
tests/test_model_probe/stripped_models/** filter=lfs diff=lfs merge=lfs -text
|
|
tests/model_identification/stripped_models/** filter=lfs diff=lfs merge=lfs -text
|