InvokeAI/tests/backend
psychedelicious 3534366146 fix(mm): fix extraneous downloaded files in diffusers
Sometimes, diffusers model components (tokenizer, unet, etc.) have multiple weights files in the same directory.

In this situation, we assume the files are different versions of the same weights. For example, we may have multiple
formats (`.bin`, `.safetensors`) with different precisions. When downloading model files, we want to select only
the best of these files for the requested format and precision/variant.

The previous logic assumed that each model weights file would have the same base filename, but this assumption was
not always true. The logic is revised score each file and choose the best scoring file, resulting in only a single
file being downloaded for each submodel/subdirectory.
2024-03-05 23:50:19 +11:00
..
ip_adapter Tidy names and locations of modules 2024-03-01 10:42:33 +11:00
model_manager fix(mm): fix extraneous downloaded files in diffusers 2024-03-05 23:50:19 +11:00
tiles In CalculateImageTilesEvenSplitInvocation to have overlap_fraction becomes just overlap. This is now in pixels rather than as a fraction of the tile size. 2023-12-17 15:10:50 +00:00
util chore: ruff 2024-03-01 10:42:33 +11:00
__init__.py POC of a test that depends on models. 2023-10-05 15:35:58 -04:00