1. 02 Oct, 2023 10 commits
    • stano's avatar
      Add a docstring for the AutoencoderKL's encode (#5239) · 7a4324cc
      stano authored
      
      
      * Add docstring for the AutoencoderKL's encode
      
      #5229
      
      * Support Python 3.8 syntax in AutoencoderKL.decode type hints
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      
      * Follow the style guidelines in AutoencoderKL's encode
      
      #5230
      
      ---------
      
      Co-authored-by: stano <>
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      7a4324cc
    • stano's avatar
      Add docstring for the AutoencoderKL's decode (#5242) · 37a787a1
      stano authored
      * Add docstring for the AutoencoderKL's decode
      
      #5230
      
      * Follow the style guidelines in AutoencoderKL's decode
      
      #5230
      
      ---------
      
      Co-authored-by: stano <>
      37a787a1
    • Sayak Paul's avatar
      fix: how print training resume logs. (#5117) · d56825e4
      Sayak Paul authored
      
      
      * fix: how print training resume logs.
      
      * propagate changes to text-to-image scripts.
      
      * propagate changes to instructpix2pix.
      
      * propagate changes to dreambooth
      
      * propagate changes to custom diffusion and instructpix2pix
      
      * propagate changes to kandinsky
      
      * propagate changes to textual inv.
      
      * debug
      
      * fix: checkpointing.
      
      * debug
      
      * debug
      
      * debug
      
      * back to the square
      
      * debug
      
      * debug
      
      * change condition order.
      
      * debug
      
      * debug
      
      * debug
      
      * debug
      
      * revert to original
      
      * clean
      
      ---------
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      d56825e4
    • dg845's avatar
      [WIP] Refactor UniDiffuser Pipeline and Tests (#4948) · cd1b8d7c
      dg845 authored
      
      
      * Add VAE slicing and tiling methods.
      
      * Switch to using VaeImageProcessing for preprocessing and postprocessing of images.
      
      * Rename the VaeImageProcessor to vae_image_processor to avoid a name clash with the CLIPImageProcessor (image_processor).
      
      * Remove the postprocess() function because we're using a VaeImageProcessor instead.
      
      * Remove UniDiffuserPipeline.decode_image_latents because we're using VaeImageProcessor instead.
      
      * Refactor generating text from text latents into a decode_text_latents method.
      
      * Add enable_full_determinism() to UniDiffuser tests.
      
      * make style
      
      * Add PipelineLatentTesterMixin to UniDiffuserPipelineFastTests.
      
      * Remove enable_model_cpu_offload since it is now part of DiffusionPipeline.
      
      * Rename the VaeImageProcessor instance to self.image_processor for consistency with other pipelines and rename the CLIPImageProcessor instance to clip_image_processor to avoid a name clash.
      
      * Update UniDiffuser conversion script.
      
      * Make safe_serialization configurable in UniDiffuser conversion script.
      
      * Rename image_processor to clip_image_processor in UniDiffuser tests.
      
      * Add PipelineKarrasSchedulerTesterMixin to UniDiffuserPipelineFastTests.
      
      * Add initial test for compiling the UniDiffuser model (not tested yet).
      
      * Update encode_prompt and _encode_prompt to match that of StableDiffusionPipeline.
      
      * Turn off standard classifier-free guidance for now.
      
      * make style
      
      * make fix-copies
      
      * apply suggestions from review
      
      ---------
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      cd1b8d7c
    • Patrick von Platen's avatar
      make style · db91e710
      Patrick von Platen authored
      db91e710
    • Nandika-A's avatar
      Add docstrings in forward methods of adapter model (#5253) · 2a62aadc
      Nandika-A authored
      * added docstrings in forward methods of T2IAdapter model and FullAdapter model
      
      * added docstrings in forward methods of FullAdapterXL and AdapterBlock models
      
      * Added docstrings in forward methods of adapter models
      2a62aadc
    • Patrick von Platen's avatar
      [PEFT warnings] Only sure deprecation warnings in the future (#5240) · 4f74a5e1
      Patrick von Platen authored
      * [PEFT warnings] Only sure deprecation warnings in the future
      
      * make style
      4f74a5e1
    • Dhruv Nair's avatar
      Compile test fixes (#5235) · bbe8d3ae
      Dhruv Nair authored
      compile test fixes
      bbe8d3ae
    • Zanz2's avatar
    • Pedro Cuenca's avatar
      Flax: Ignore PyTorch, ONNX files when they coexist with Flax weights (#5237) · 0c7cb9a6
      Pedro Cuenca authored
      Ignore PyTorch, ONNX files when they coexist with Flax weights
      0c7cb9a6
  2. 29 Sep, 2023 6 commits
  3. 28 Sep, 2023 5 commits
  4. 27 Sep, 2023 9 commits
  5. 26 Sep, 2023 10 commits