update diffusers==0.26.1, fix load single file sdxl inpainting model
This commit is contained in:
parent
f0b20f461b
commit
6ad4177a75
@ -256,10 +256,14 @@ def test_local_file_path(device, sampler, name):
|
|||||||
|
|
||||||
name = f"device_{device}_{sampler}_{name}"
|
name = f"device_{device}_{sampler}_{name}"
|
||||||
|
|
||||||
|
is_sdxl = "sd_xl" in name
|
||||||
|
|
||||||
assert_equal(
|
assert_equal(
|
||||||
model,
|
model,
|
||||||
cfg,
|
cfg,
|
||||||
f"sd_local_model_{name}.png",
|
f"sd_local_model_{name}.png",
|
||||||
img_p=current_dir / "overture-creations-5sI6fQgYIuo.png",
|
img_p=current_dir / "overture-creations-5sI6fQgYIuo.png",
|
||||||
mask_p=current_dir / "overture-creations-5sI6fQgYIuo_mask.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,
|
||||||
)
|
)
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
torch>=2.0.0
|
torch>=2.0.0
|
||||||
opencv-python
|
opencv-python
|
||||||
diffusers==0.25.1
|
diffusers==0.26.1
|
||||||
accelerate
|
accelerate
|
||||||
peft==0.7.1
|
peft==0.7.1
|
||||||
transformers>=4.35.1
|
transformers>=4.35.1
|
||||||
|
Loading…
Reference in New Issue
Block a user