diff --git a/CHANGELOG.md b/CHANGELOG.md index d0b2d7722..14cd38a34 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,12 @@ - https://github.com/huggingface/diffusers/pull/8566 - https://github.com/huggingface/diffusers/pull/8584 -## Update for 2024-06-16 +## Update for 2024-06-17 + +### Highlights for 2024-06-17 + +Following zero-day **SD3** release, a week later here's a refresh with more than a few improvements. +Other than SD3, highlight is (finally) new release of **Torch-DirectML** as well as ability to use explicit **T5** text-encoder in many supported models! ### Improvements: SD3 @@ -47,6 +52,7 @@ - fix control api negative prompt handling - fix saving style without name provided - fix t2i-color adapter +- fix sdxl "has been incorrectly initialized" - restructure api examples: `cli/api-*` - handle theme fallback when invalid theme is specified - remove obsolete training code leftovers diff --git a/modules/pag/pipe_sdxl.py b/modules/pag/pipe_sdxl.py index 1576926d1..13ba99bd5 100644 --- a/modules/pag/pipe_sdxl.py +++ b/modules/pag/pipe_sdxl.py @@ -446,6 +446,7 @@ class StableDiffusionXLPAGPipeline( feature_extractor: CLIPImageProcessor = None, force_zeros_for_empty_prompt: bool = True, add_watermarker: Optional[bool] = None, + requires_aesthetics_score: Optional[bool] = None, # todo: patch SDXLPAG pipeline ): super().__init__() @@ -461,12 +462,11 @@ class StableDiffusionXLPAGPipeline( feature_extractor=feature_extractor, ) self.register_to_config(force_zeros_for_empty_prompt=force_zeros_for_empty_prompt) + self.register_to_config(requires_aesthetics_score=requires_aesthetics_score) self.vae_scale_factor = 2 ** (len(self.vae.config.block_out_channels) - 1) self.image_processor = VaeImageProcessor(vae_scale_factor=self.vae_scale_factor) - self.default_sample_size = self.unet.config.sample_size - - add_watermarker = add_watermarker if add_watermarker is not None else is_invisible_watermark_available() + add_watermarker = False if add_watermarker: self.watermark = StableDiffusionXLWatermarker()