1. 12 May, 2024 2 commits
  2. 11 May, 2024 1 commit
  3. 10 May, 2024 4 commits
    • Mark Van Aken's avatar
      #7535 Update FloatTensor type hints to Tensor (#7883) · be4afa0b
      Mark Van Aken authored
      * find & replace all FloatTensors to Tensor
      
      * apply formatting
      
      * Update torch.FloatTensor to torch.Tensor in the remaining files
      
      * formatting
      
      * Fix the rest of the places where FloatTensor is used as well as in documentation
      
      * formatting
      
      * Update new file from FloatTensor to Tensor
      be4afa0b
    • Sayak Paul's avatar
      [Core] introduce videoprocessor. (#7776) · 04f4bd54
      Sayak Paul authored
      
      
      * introduce videoprocessor.
      
      * fix quality
      
      * address yiyi's feedback
      
      * fix preprocess_video call.
      
      * video_processor -> image_processor
      
      * fix
      
      * fix more.
      
      * quality
      
      * image_processor -> video_processor
      
      * support List[List[PIL.Image.Image]]
      
      * change to video_processor.
      
      * documentation
      
      * Apply suggestions from code review
      
      * changes
      
      * remove print.
      
      * refactor video processor (part # 7776) (#7861)
      
      * update
      
      * update remove deprecate
      
      * Update src/diffusers/video_processor.py
      
      * update
      
      * Apply suggestions from code review
      
      * deprecate list of 5d for video and list of 4d for image + apply other feedbacks
      
      * up
      
      ---------
      Co-authored-by: default avatarSayak Paul <spsayakpaul@gmail.com>
      
      * add doc.
      
      * tensor2vid -> postprocess_video.
      
      * refactor preprocess with preprocess_video
      
      * set default values.
      
      * empty commit
      
      * more refactoring of prepare_latents in animatediff vid2vid
      
      * checking documentation
      
      * remove documentation for now.
      
      * fix animatediff sdxl
      
      * fix test failure [part of video processor PR] (#7905)
      
      up
      
      * remove preceed_with_frames.
      
      * doc
      
      * fix
      
      * fix
      
      * remove video input as a single-frame video.
      
      ---------
      Co-authored-by: default avatarYiYi Xu <yixu310@gmail.com>
      04f4bd54
    • Sayak Paul's avatar
      add missing image processors to the docs (#7910) · 82be58c5
      Sayak Paul authored
      add missing processors.
      82be58c5
    • Sayak Paul's avatar
      upgrade to python 3.10 in the Dockerfiles (#7893) · 66956356
      Sayak Paul authored
      * upgrade to python 3.10
      
      * fix
      
      * try https://askubuntu.com/questions/1459694/can-not-find-python3-10-after-apt-get-installation
      
      * fix
      
      * up
      
      * yes
      
      * okay
      
      * up
      
      * up
      
      * up
      
      * up
      
      * up
      
      * check
      
      * okay
      
      * up
      
      * i[
      
      * fix
      66956356
  4. 09 May, 2024 6 commits
  5. 08 May, 2024 7 commits
    • Tolga Cangöz's avatar
      Remove dead code and fix f-string issue (#7720) · c1c42698
      Tolga Cangöz authored
      * Remove dead code
      
      * PylancereportGeneralTypeIssues: Strings nested within an f-string cannot use the same quote character as the f-string prior to Python 3.12.
      
      * Remove dead code
      c1c42698
    • Pierre Dulac's avatar
      Allow users to save SDXL LoRA weights for only one text encoder (#7607) · 75aab346
      Pierre Dulac authored
      
      
      SDXL LoRA weights for text encoders should be decoupled on save
      
      The method checks if at least one of unet, text_encoder and
      text_encoder_2 lora weights are passed, which was not reflected in the
      implentation.
      Co-authored-by: default avatarSayak Paul <spsayakpaul@gmail.com>
      Co-authored-by: default avatarYiYi Xu <yixu310@gmail.com>
      75aab346
    • YiYi Xu's avatar
      fix offload test (#7868) · 35358a2d
      YiYi Xu authored
      
      
      fix
      Co-authored-by: default avatarDhruv Nair <dhruv.nair@gmail.com>
      35358a2d
    • Aryan's avatar
      [Pipeline] AnimateDiff SDXL (#6721) · 818f7607
      Aryan authored
      
      
      * update conversion script to handle motion adapter sdxl checkpoint
      
      * add animatediff xl
      
      * handle addition_embed_type
      
      * fix output
      
      * update
      
      * add imports
      
      * make fix-copies
      
      * add decode latents
      
      * update docstrings
      
      * add animatediff sdxl to docs
      
      * remove unnecessary lines
      
      * update example
      
      * add test
      
      * revert conv_in conv_out kernel param
      
      * remove unused param addition_embed_type_num_heads
      
      * latest IPAdapter impl
      
      * make fix-copies
      
      * fix return
      
      * add IPAdapterTesterMixin to tests
      
      * fix return
      
      * revert based on suggestion
      
      * add freeinit
      
      * fix test_to_dtype test
      
      * use StableDiffusionMixin instead of different helper methods
      
      * fix progress bar iterations
      
      * apply suggestions from review
      
      * hardcode flip_sin_to_cos and freq_shift
      
      * make fix-copies
      
      * fix ip adapter implementation
      
      * fix last failing test
      
      * make style
      
      * Update docs/source/en/api/pipelines/animatediff.md
      Co-authored-by: default avatarDhruv Nair <dhruv.nair@gmail.com>
      
      * remove todo
      
      * fix doc-builder errors
      
      ---------
      Co-authored-by: default avatarDhruv Nair <dhruv.nair@gmail.com>
      818f7607
    • Philip Pham's avatar
      Check shape and remove deprecated APIs in scheduling_ddpm_flax.py (#7703) · f29b9348
      Philip Pham authored
      `model_output.shape` may only have rank 1.
      
      There are warnings related to use of random keys.
      
      ```
      tests/schedulers/test_scheduler_flax.py: 13 warnings
        /Users/phillypham/diffusers/src/diffusers/schedulers/scheduling_ddpm_flax.py:268: FutureWarning: normal accepts a single key, but was given a key array of shape (1, 2) != (). Use jax.vmap for batching. In a future JAX version, this will be an error.
          noise = jax.random.normal(split_key, shape=model_output.shape, dtype=self.dtype)
      
      tests/schedulers/test_scheduler_flax.py::FlaxDDPMSchedulerTest::test_betas
        /Users/phillypham/virtualenv/diffusers/lib/python3.9/site-packages/jax/_src/random.py:731: FutureWarning: uniform accepts a single key, but was given a key array of shape (1,) != (). Use jax.vmap for batching. In a future JAX version, this will be an error.
          u = uniform(key, shape, dtype, lo, hi)  # type: ignore[arg-type]
      ```
      f29b9348
    • Tolga Cangöz's avatar
      Fix image upcasting (#7858) · d50baf0c
      Tolga Cangöz authored
      
      
      Fix image's upcasting before `vae.encode()` when using `fp16`
      Co-authored-by: default avatarYiYi Xu <yixu310@gmail.com>
      d50baf0c
    • Hyoungwon Cho's avatar
      Modification on the PAG community pipeline (re) (#7876) · c2217142
      Hyoungwon Cho authored
      
      
      * edited_pag_implementation
      
      * update
      
      ---------
      Co-authored-by: default avataryiyixuxu <yixu310@gmail.com>
      c2217142
  6. 07 May, 2024 2 commits
  7. 06 May, 2024 2 commits
  8. 03 May, 2024 5 commits
  9. 02 May, 2024 8 commits
  10. 01 May, 2024 3 commits