1. 17 May, 2023 10 commits
  2. 16 May, 2023 8 commits
  3. 15 May, 2023 2 commits
  4. 13 May, 2023 1 commit
  5. 12 May, 2023 6 commits
  6. 11 May, 2023 10 commits
    • Patrick von Platen's avatar
      Fix docker file (#3402) · 1a5797c6
      Patrick von Platen authored
      * up
      
      * up
      1a5797c6
    • Patrick von Platen's avatar
      Fix various bugs with LoRA Dreambooth and Dreambooth script (#3353) · f9225301
      Patrick von Platen authored
      
      
      * Improve checkpointing lora
      
      * fix more
      
      * Improve doc string
      
      * Update src/diffusers/loaders.py
      
      * make stytle
      
      * Apply suggestions from code review
      
      * Update src/diffusers/loaders.py
      
      * Apply suggestions from code review
      
      * Apply suggestions from code review
      
      * better
      
      * Fix all
      
      * Fix multi-GPU dreambooth
      
      * Apply suggestions from code review
      Co-authored-by: default avatarPedro Cuenca <pedro@huggingface.co>
      
      * Fix all
      
      * make style
      
      * make style
      
      ---------
      Co-authored-by: default avatarPedro Cuenca <pedro@huggingface.co>
      f9225301
    • Patrick von Platen's avatar
      Add omegaconf for tests (#3400) · 58c6f9cb
      Patrick von Platen authored
      Add omegaconfg
      58c6f9cb
    • Stas Bekman's avatar
      [deepspeed] partial ZeRO-3 support (#3076) · af2a2376
      Stas Bekman authored
      
      
      * [deepspeed] partial ZeRO-3 support
      
      * cleanup
      
      * improve deepspeed fixes
      
      * Improve
      
      * make style
      
      ---------
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      af2a2376
    • Steven Liu's avatar
      [docs] Add transformers to install (#3388) · d71db894
      Steven Liu authored
      add transformers to install
      d71db894
    • Sayak Paul's avatar
      [Tests] better determinism (#3374) · 90f5f3c4
      Sayak Paul authored
      * enable deterministic pytorch and cuda operations.
      
      * disable manual seeding.
      
      * make style && make quality for unet_2d tests.
      
      * enable determinism for the unet2dconditional model.
      
      * add CUBLAS_WORKSPACE_CONFIG for better reproducibility.
      
      * relax tolerance (very weird issue, though).
      
      * revert to torch manual_seed() where needed.
      
      * relax more tolerance.
      
      * better placement of the cuda variable and relax more tolerance.
      
      * enable determinism for 3d condition model.
      
      * relax tolerance.
      
      * add: determinism to alt_diffusion.
      
      * relax tolerance for alt diffusion.
      
      * dance diffusion.
      
      * dance diffusion is flaky.
      
      * test_dict_tuple_outputs_equivalent edit.
      
      * fix two more tests.
      
      * fix more ddim tests.
      
      * fix: argument.
      
      * change to diff in place of difference.
      
      * fix: test_save_load call.
      
      * test_save_load_float16 call.
      
      * fix: expected_max_diff
      
      * fix: paint by example.
      
      * relax tolerance.
      
      * add determinism to 1d unet model.
      
      * torch 2.0 regressions seem to be brutal
      
      * determinism to vae.
      
      * add reason to skipping.
      
      * up tolerance.
      
      * determinism to vq.
      
      * determinism to cuda.
      
      * determinism to the generic test pipeline file.
      
      * refactor general pipelines testing a bit.
      
      * determinism to alt diffusion i2i
      
      * up tolerance for alt diff i2i and audio diff
      
      * up tolerance.
      
      * determinism to audioldm
      
      * increase tolerance for audioldm lms.
      
      * increase tolerance for paint by paint.
      
      * increase tolerance for repaint.
      
      * determinism to cycle diffusion and sd 1.
      
      * relax tol for cycle diffusion 🚲
      
      * relax tol for sd 1.0
      
      * relax tol for controlnet.
      
      * determinism to img var.
      
      * relax tol for img variation.
      
      * tolerance to i2i sd
      
      * make style
      
      * determinism to inpaint.
      
      * relax tolerance for inpaiting.
      
      * determinism for inpainting legacy
      
      * relax tolerance.
      
      * determinism to instruct pix2pix
      
      * determinism to model editing.
      
      * model editing tolerance.
      
      * panorama determinism
      
      * determinism to pix2pix zero.
      
      * determinism to sag.
      
      * sd 2. determinism
      
      * sd. tolerance
      
      * disallow tf32 matmul.
      
      * relax tolerance is all you need.
      
      * make style and determinism to sd 2 depth
      
      * relax tolerance for depth.
      
      * tolerance to diffedit.
      
      * tolerance to sd 2 inpaint.
      
      * up tolerance.
      
      * determinism in upscaling.
      
      * tolerance in upscaler.
      
      * more tolerance relaxation.
      
      * determinism to v pred.
      
      * up tol for v_pred
      
      * unclip determinism
      
      * determinism to unclip img2img
      
      * determinism to text to video.
      
      * determinism to last set of tests
      
      * up tol.
      
      * vq cumsum doesn't have a deterministic kernel
      
      * relax tol
      
      * relax tol
      90f5f3c4
    • Takuma Mori's avatar
      Support ControlNet v1.1 shuffle properly (#3340) · 01c056f0
      Takuma Mori authored
      
      
      * add inferring_controlnet_cond_batch
      
      * Revert "add inferring_controlnet_cond_batch"
      
      This reverts commit abe8d6311d4b7f5b9409ca709c7fabf80d06c1a9.
      
      * set guess_mode to True
      whenever global_pool_conditions is True
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      
      * nit
      
      * add integration test
      
      ---------
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      01c056f0
    • sudowind's avatar
      [Docs] Fix stable_diffusion.mdx typo (#3398) · e0b56d2b
      sudowind authored
      Fix typo in last code block. Correct "prommpts" to "prompt"
      e0b56d2b
    • Patrick von Platen's avatar
      make style · f740d357
      Patrick von Platen authored
      f740d357
    • Steven Liu's avatar
      [docs] Load safetensors (#3333) · 5e746753
      Steven Liu authored
      
      
      * safetensors
      
      * apply feedback
      
      * apply feedback
      
      * Apply suggestions from code review
      
      ---------
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      5e746753
  7. 10 May, 2023 3 commits
    • Steven Liu's avatar
      [docs] Adapt a model (#3326) · c49e9ede
      Steven Liu authored
      * first draft
      
      * apply feedback
      
      * conv_in.weight thrown away
      c49e9ede
    • Patrick von Platen's avatar
      make style · 82e6fa56
      Patrick von Platen authored
      82e6fa56
    • Rupert Menneer's avatar
      StableDiffusionInpaintingPipeline - resize image w.r.t height and width (#3322) · edb087a2
      Rupert Menneer authored
      
      
      * StableDiffusionInpaintingPipeline now resizes input images and masks w.r.t to passed input height and width. Default is already set to 512. This addresses the common tensor mismatch error. Also moved type check into relevant funciton to keep main pipeline body tidy.
      
      * Fixed StableDiffusionInpaintingPrepareMaskAndMaskedImageTests
      
      Due to previous commit these tests were failing as height and width need to be passed into the prepare_mask_and_masked_image function, I have updated the code and added a height/width variable per unit test as it seemed more appropriate than the current hard coded solution
      
      * Added a resolution test to StableDiffusionInpaintPipelineSlowTests
      
      this unit test simply gets the input and resizes it into some that would fail (e.g. would throw a tensor mismatch error/not a mult of 8). Then passes it through the pipeline and verifies it produces output with correct dims w.r.t the passed height and width
      
      ---------
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      edb087a2