"git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "a96b145304c36d47228cd24f2200acc4d30ce604"
Commit 9b9afc97 authored by patil-suraj's avatar patil-suraj
Browse files

actually fix test_ldm_text2img_fast

parent b7f0ce5b
...@@ -701,7 +701,7 @@ class PipelineTesterMixin(unittest.TestCase): ...@@ -701,7 +701,7 @@ class PipelineTesterMixin(unittest.TestCase):
prompt = "A painting of a squirrel eating a burger" prompt = "A painting of a squirrel eating a burger"
generator = torch.manual_seed(0) generator = torch.manual_seed(0)
image = ldm([prompt], generator=generator, num_inference_steps=20) image = ldm([prompt], generator=generator, num_inference_steps=1)
image_slice = image[0, -1, -3:, -3:].cpu() image_slice = image[0, -1, -3:, -3:].cpu()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment