prepare_test_weights: refresh IP-Adapter hashes

This commit is contained in:
Cédric Deltheil 2024-01-11 14:29:17 +01:00 committed by Benjamin Trom
parent deed703617
commit eafbc8a99a

View file

@ -513,28 +513,28 @@ def convert_ip_adapter():
"convert_diffusers_ip_adapter.py", "convert_diffusers_ip_adapter.py",
"tests/weights/h94/IP-Adapter/models/ip-adapter_sd15.bin", "tests/weights/h94/IP-Adapter/models/ip-adapter_sd15.bin",
"tests/weights/ip-adapter_sd15.safetensors", "tests/weights/ip-adapter_sd15.safetensors",
expected_hash="9579b465", expected_hash="3fb0472e",
) )
run_conversion_script( run_conversion_script(
"convert_diffusers_ip_adapter.py", "convert_diffusers_ip_adapter.py",
"tests/weights/h94/IP-Adapter/sdxl_models/ip-adapter_sdxl_vit-h.bin", "tests/weights/h94/IP-Adapter/sdxl_models/ip-adapter_sdxl_vit-h.bin",
"tests/weights/ip-adapter_sdxl_vit-h.safetensors", "tests/weights/ip-adapter_sdxl_vit-h.safetensors",
half=True, half=True,
expected_hash="739504c6", expected_hash="860518fe",
) )
run_conversion_script( run_conversion_script(
"convert_diffusers_ip_adapter.py", "convert_diffusers_ip_adapter.py",
"tests/weights/h94/IP-Adapter/models/ip-adapter-plus_sd15.bin", "tests/weights/h94/IP-Adapter/models/ip-adapter-plus_sd15.bin",
"tests/weights/ip-adapter-plus_sd15.safetensors", "tests/weights/ip-adapter-plus_sd15.safetensors",
half=True, half=True,
expected_hash="842b20e2", expected_hash="aba8503b",
) )
run_conversion_script( run_conversion_script(
"convert_diffusers_ip_adapter.py", "convert_diffusers_ip_adapter.py",
"tests/weights/h94/IP-Adapter/sdxl_models/ip-adapter-plus_sdxl_vit-h.bin", "tests/weights/h94/IP-Adapter/sdxl_models/ip-adapter-plus_sdxl_vit-h.bin",
"tests/weights/ip-adapter-plus_sdxl_vit-h.safetensors", "tests/weights/ip-adapter-plus_sdxl_vit-h.safetensors",
half=True, half=True,
expected_hash="0409974b", expected_hash="545d5ce7",
) )