1. 12 May, 2023 6 commits
  2. 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
  3. 10 May, 2023 4 commits
  4. 09 May, 2023 3 commits
    • Steven Liu's avatar
      [docs] Improve safetensors docstring (#3368) · 26832aa5
      Steven Liu authored
      * clarify safetensor docstring
      
      * fix typo
      
      * apply feedback
      26832aa5
    • YiYi Xu's avatar
      Postprocessing refactor all others (#3337) · c5594795
      YiYi Xu authored
      
      
      * add text2img
      
      * fix-copies
      
      * add
      
      * add all other pipelines
      
      * add
      
      * add
      
      * add
      
      * add
      
      * add
      
      * make style
      
      * style + fix copies
      
      ---------
      Co-authored-by: default avataryiyixuxu <yixu310@gmail,com>
      c5594795
    • Will Berman's avatar
      if dreambooth lora (#3360) · a757b2db
      Will Berman authored
      * update IF stage I pipelines
      
      add fixed variance schedulers and lora loading
      
      * added kv lora attn processor
      
      * allow loading into alternative lora attn processor
      
      * make vae optional
      
      * throw away predicted variance
      
      * allow loading into added kv lora layer
      
      * allow load T5
      
      * allow pre compute text embeddings
      
      * set new variance type in schedulers
      
      * fix copies
      
      * refactor all prompt embedding code
      
      class prompts are now included in pre-encoding code
      max tokenizer length is now configurable
      embedding attention mask is now configurable
      
      * fix for when variance type is not defined on scheduler
      
      * do not pre compute validation prompt if not present
      
      * add example test for if lora dreambooth
      
      * add check for train text encoder and pre compute text embeddings
      a757b2db
  5. 08 May, 2023 3 commits
  6. 06 May, 2023 6 commits
  7. 05 May, 2023 5 commits
  8. 04 May, 2023 3 commits