update diffusers==0.26.1, fix load single file sdxl inpainting model

This commit is contained in:
Qing 2024-02-04 21:54:16 +08:00
parent f0b20f461b
commit 6ad4177a75
2 changed files with 5 additions and 1 deletions

View File

@ -256,10 +256,14 @@ def test_local_file_path(device, sampler, name):
name = f"device_{device}_{sampler}_{name}"
is_sdxl = "sd_xl" in name
assert_equal(
model,
cfg,
f"sd_local_model_{name}.png",
img_p=current_dir / "overture-creations-5sI6fQgYIuo.png",
mask_p=current_dir / "overture-creations-5sI6fQgYIuo_mask.png",
fx=1.5 if is_sdxl else 1,
fy=1.5 if is_sdxl else 1,
)

View File

@ -1,6 +1,6 @@
torch>=2.0.0
opencv-python
diffusers==0.25.1
diffusers==0.26.1
accelerate
peft==0.7.1
transformers>=4.35.1