Skip to content
Closed
Show file tree
Hide file tree
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
3 changes: 3 additions & 0 deletions tests/pipelines/flux/test_pipeline_flux_img2img.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ class FluxImg2ImgPipelineFastTests(unittest.TestCase, PipelineTesterMixin):
batch_params = frozenset(["prompt"])
test_xformers_attention = False

# there is no xformers processor for Flux
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ohh, what happened here? I think this line is duplicated

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like @sayakpaul fixed it in #9379 which was open before this PR. I missed that he opened it, so when we merged diffusers:main to this branch, we ended up with a duplicate line

test_xformers_attention = False

def get_dummy_components(self):
torch.manual_seed(0)
transformer = FluxTransformer2DModel(
Expand Down
3 changes: 3 additions & 0 deletions tests/pipelines/flux/test_pipeline_flux_inpaint.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ class FluxInpaintPipelineFastTests(unittest.TestCase, PipelineTesterMixin):
batch_params = frozenset(["prompt"])
test_xformers_attention = False

# there is no xformers processor for Flux
test_xformers_attention = False

def get_dummy_components(self):
torch.manual_seed(0)
transformer = FluxTransformer2DModel(
Expand Down
Loading