Skip to content
This repository was archived by the owner on Sep 26, 2025. It is now read-only.

Commit d576311

Browse files
author
Laurent
committed
fix broken test_ic_light
1 parent 45143e2 commit d576311

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/e2e/test_diffusion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2611,7 +2611,7 @@ def test_ic_light(
26112611
negative_text="lowres, bad anatomy, bad hands, cropped, worst quality",
26122612
)
26132613
ic_light_condition = sd.compute_gray_composite(image=kitchen_dog, mask=kitchen_dog_mask.convert("L"))
2614-
sd.set_ic_light_condition(ic_light_condition)
2614+
sd.set_ic_light_condition(ic_light_condition, use_rescaled_image=True)
26152615
x = torch.randn(1, 4, 64, 64, device=test_device)
26162616
for step in sd.steps:
26172617
x = sd(

0 commit comments

Comments
 (0)