Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
068dd50
Add properties and `IPAdapterTesterMixin` tests for `StableDiffusionP…
tolgacangoz Mar 9, 2024
4d42018
Merge branch 'main' into fix-ipadapter-StableDiffusionPanoramaPipeline
tolgacangoz Mar 11, 2024
9dc0b0c
Merge branch 'main' into fix-ipadapter-StableDiffusionPanoramaPipeline
tolgacangoz Mar 11, 2024
7447358
Update torch manual seed to use `torch.Generator(device=device)`
tolgacangoz Mar 11, 2024
ac7067d
Refactor 📞🔙 to support `callback_on_step_end`
tolgacangoz Mar 12, 2024
8750a64
Merge branch 'main' into fix-ipadapter-StableDiffusionPanoramaPipeline
tolgacangoz Mar 12, 2024
d3cc08f
Merge branch 'main' into fix-ipadapter-StableDiffusionPanoramaPipeline
tolgacangoz Mar 13, 2024
e5677df
Merge branch 'main' into fix-ipadapter-StableDiffusionPanoramaPipeline
tolgacangoz Mar 13, 2024
414bb4a
Merge branch 'main' into fix-ipadapter-StableDiffusionPanoramaPipeline
tolgacangoz Mar 15, 2024
3d0f323
Merge branch 'main' into fix-ipadapter-StableDiffusionPanoramaPipeline
tolgacangoz Mar 18, 2024
c601829
Merge branch 'main' into fix-ipadapter-StableDiffusionPanoramaPipeline
tolgacangoz Mar 19, 2024
b78683e
make fix-copies
tolgacangoz Mar 20, 2024
8250ab7
Merge branch 'main' into fix-ipadapter-StableDiffusionPanoramaPipeline
tolgacangoz Mar 20, 2024
a22088b
Merge branch 'main' into fix-ipadapter-StableDiffusionPanoramaPipeline
tolgacangoz Mar 22, 2024
17e6327
Merge branch 'main' into fix-ipadapter-StableDiffusionPanoramaPipeline
tolgacangoz Mar 22, 2024
fa07e37
Merge branch 'main' into fix-ipadapter-StableDiffusionPanoramaPipeline
tolgacangoz Mar 23, 2024
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 @@ -600,6 +600,26 @@ def get_views(self, panorama_height, panorama_width, window_size=64, stride=8, c
views.append((h_start, h_end, w_start, w_end))
return views

@property
def guidance_scale(self):
return self._guidance_scale

@property
def cross_attention_kwargs(self):
return self._cross_attention_kwargs

@property
def clip_skip(self):
return self._clip_skip

@property
def do_classifier_free_guidance(self):
return False

@property
def num_timesteps(self):
return self._num_timesteps

@torch.no_grad()
@replace_example_docstring(EXAMPLE_DOC_STRING)
def __call__(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,16 @@
from diffusers.utils.testing_utils import enable_full_determinism, nightly, require_torch_gpu, skip_mps, torch_device

from ..pipeline_params import TEXT_TO_IMAGE_BATCH_PARAMS, TEXT_TO_IMAGE_IMAGE_PARAMS, TEXT_TO_IMAGE_PARAMS
from ..test_pipelines_common import PipelineLatentTesterMixin, PipelineTesterMixin
from ..test_pipelines_common import IPAdapterTesterMixin, PipelineLatentTesterMixin, PipelineTesterMixin


enable_full_determinism()


@skip_mps
class StableDiffusionPanoramaPipelineFastTests(PipelineLatentTesterMixin, PipelineTesterMixin, unittest.TestCase):
class StableDiffusionPanoramaPipelineFastTests(
IPAdapterTesterMixin, PipelineLatentTesterMixin, PipelineTesterMixin, unittest.TestCase
):
pipeline_class = StableDiffusionPanoramaPipeline
params = TEXT_TO_IMAGE_PARAMS
batch_params = TEXT_TO_IMAGE_BATCH_PARAMS
Expand Down