"vscode:/vscode.git/clone" did not exist on "ef06f0e8d5a42e16e2c5ab4a2a440d20aab60ac1"
  1. 02 Dec, 2022 2 commits
  2. 01 Dec, 2022 3 commits
  3. 30 Nov, 2022 4 commits
  4. 29 Nov, 2022 4 commits
  5. 28 Nov, 2022 3 commits
  6. 25 Nov, 2022 9 commits
  7. 24 Nov, 2022 5 commits
  8. 23 Nov, 2022 5 commits
    • Suraj Patil's avatar
      update unet2d (#1376) · f07a16e0
      Suraj Patil authored
      * boom boom
      
      * remove duplicate arg
      
      * add use_linear_proj arg
      
      * fix copies
      
      * style
      
      * add fast tests
      
      * use_linear_proj -> use_linear_projection
      f07a16e0
    • Patrick von Platen's avatar
      [Versatile Diffusion] Add versatile diffusion model (#1283) · 2625fb59
      Patrick von Platen authored
      
      
      * up
      
      * convert dual unet
      
      * revert dual attn
      
      * adapt for vd-official
      
      * test the full pipeline
      
      * mixed inference
      
      * mixed inference for text2img
      
      * add image prompting
      
      * fix clip norm
      
      * split text2img and img2img
      
      * fix format
      
      * refactor text2img
      
      * mega pipeline
      
      * add optimus
      
      * refactor image var
      
      * wip text_unet
      
      * text unet end to end
      
      * update tests
      
      * reshape
      
      * fix image to text
      
      * add some first docs
      
      * dual guided pipeline
      
      * fix token ratio
      
      * propose change
      
      * dual transformer as a native module
      
      * DualTransformer(nn.Module)
      
      * DualTransformer(nn.Module)
      
      * correct unconditional image
      
      * save-load with mega pipeline
      
      * remove image to text
      
      * up
      
      * uP
      
      * fix
      
      * up
      
      * final fix
      
      * remove_unused_weights
      
      * test updates
      
      * save progress
      
      * uP
      
      * fix dual prompts
      
      * some fixes
      
      * finish
      
      * style
      
      * finish renaming
      
      * up
      
      * fix
      
      * fix
      
      * fix
      
      * finish
      Co-authored-by: default avataranton-l <anton@huggingface.co>
      2625fb59
    • Suraj Patil's avatar
      StableDiffusionImageVariationPipeline (#1365) · 0eb507f2
      Suraj Patil authored
      
      
      * add StableDiffusionImageVariationPipeline
      
      * add ini init
      
      * use CLIPVisionModelWithProjection
      
      * fix _encode_image
      
      * add copied from
      
      * fix copies
      
      * add doc
      
      * handle tensor in _encode_image
      
      * add tests
      
      * correct model_id
      
      * remove copied from in enable_sequential_cpu_offload
      
      * fix tests
      
      * make slow tests pass
      
      * update slow tests
      
      * use temp model for now
      
      * fix test_stable_diffusion_img_variation_intermediate_state
      
      * fix test_stable_diffusion_img_variation_intermediate_state
      
      * check for torch.Tensor
      
      * quality
      
      * fix name
      
      * fix slow tests
      
      * install transformers from source
      
      * fix install
      
      * fix install
      
      * Apply suggestions from code review
      Co-authored-by: default avatarPedro Cuenca <pedro@huggingface.co>
      
      * input_image -> image
      
      * remove deprication warnings
      
      * fix test_stable_diffusion_img_variation_multiple_images
      
      * make flake happy
      Co-authored-by: default avatarPedro Cuenca <pedro@huggingface.co>
      0eb507f2
    • Suraj Patil's avatar
      handle fp16 in `UNet2DModel` (#1216) · 9e234d80
      Suraj Patil authored
      
      
      * make sure fp16 runs well
      
      * add fp16 test for superes
      
      * Update src/diffusers/models/unet_2d.py
      Co-authored-by: default avatarPedro Cuenca <pedro@huggingface.co>
      
      * gen on cuda
      
      * always run fast inferecne test on cpu
      
      * run on cpu
      Co-authored-by: default avatarPedro Cuenca <pedro@huggingface.co>
      9e234d80
    • Penn's avatar
      Fix using non-square images with UNet2DModel and DDIM/DDPM pipelines (#1289) · 8fd3a743
      Penn authored
      
      
      * fix non square images with UNet2DModel and DDIM/DDPM pipelines
      
      * fix unet_2d `sample_size` docstring
      
      * update pipeline tests for unet uncond
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      8fd3a743
  9. 22 Nov, 2022 1 commit
    • Manuel Brack's avatar
      Add Safe Stable Diffusion Pipeline (#1244) · e50c25d8
      Manuel Brack authored
      
      
      * Add pipeline_stable_diffusion_safe.py to pipelines
      
      * Fix repository consistency
      
      Ran make fix-copies after adding new pipline
      
      * Add Paper/Equation reference for parameters to doc string
      
      * Ensure code style and quality
      
      * Perform code refactoring
      
      * Fix copies inherited from merge with huggingface/main
      
      * Add docs
      
      * Fix code style
      
      * Fix errors in documentation
      
      * Fix refactoring error
      
      * remove debugging print statement
      
      * added Safe Latent Diffusion tests
      
      * Fix style
      
      * Fix style
      
      * Add pre-defined safety configurations
      
      * Fix line-break
      
      * fix some tests
      
      * finish
      
      * Change safety checker
      
      * Add missing safety_checker.py file
      
      * Remove unused imports
      Co-authored-by: default avatarPatrickSchrML <patrick_schramowski@hotmail.de>
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      e50c25d8
  10. 20 Nov, 2022 2 commits
    • Patrick von Platen's avatar
      make style · ab1f01e6
      Patrick von Platen authored
      ab1f01e6
    • Victor Schmidt's avatar
      Handle batches and Tensors in... · 3bec90ff
      Victor Schmidt authored
      
      Handle batches and Tensors in `pipeline_stable_diffusion_inpaint.py:prepare_mask_and_masked_image` (#1003)
      
      * Handle batches and Tensors in `prepare_mask_and_masked_image`
      
      * `blackfy`
      upgrade `black`
      
      * handle mask as `np.array`
      
      * add docstring
      
      * revert `black` changes with smaller line length
      
      * missing ValueError in docstring
      
      * raise `TypeError` for image as tensor but not mask
      
      * typo in mask shape selection
      
      * check for batch dim
      
      * fix: wrong indentation
      
      * add tests
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      3bec90ff
  11. 18 Nov, 2022 2 commits