Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,8 @@ def test_stable_diffusion_upscale_batch(self):
assert image.shape[0] == 2

def test_stable_diffusion_upscale_prompt_embeds(self):
sd_pipe = self.get_pipeline()
# `encode_prompt` is called with `torch_device` below, so the pipeline has to live there too.
sd_pipe = self.get_pipeline().to(torch_device)

image = sd_pipe(**self.get_dummy_inputs()).images

Expand Down
Loading