1. 08 Mar, 2025 1 commit
  2. 07 Mar, 2025 2 commits
  3. 06 Mar, 2025 2 commits
  4. 04 Mar, 2025 3 commits
  5. 03 Mar, 2025 1 commit
    • Teriks's avatar
      Fix SD2.X clip single file load projection_dim (#10770) · 9e910c46
      Teriks authored
      
      
      * Fix SD2.X clip single file load projection_dim
      
      Infer projection_dim from the checkpoint before loading
      from pretrained, override any incorrect hub config.
      
      Hub configuration for SD2.X specifies projection_dim=512
      which is incorrect for SD2.X checkpoints loaded from civitai
      and similar.
      
      Exception was previously thrown upon attempting to
      load_model_dict_into_meta for SD2.X single file checkpoints.
      
      Such LDM models usually require projection_dim=1024
      
      * convert_open_clip_checkpoint use hidden_size for text_proj_dim
      
      * convert_open_clip_checkpoint, revert checkpoint[text_proj_key].shape[1] -> [0]
      
      values are identical
      
      ---------
      Co-authored-by: default avatarTeriks <Teriks@users.noreply.github.com>
      Co-authored-by: default avatarDhruv Nair <dhruv.nair@gmail.com>
      9e910c46
  6. 25 Feb, 2025 1 commit
  7. 24 Feb, 2025 2 commits
  8. 21 Feb, 2025 1 commit
  9. 20 Feb, 2025 2 commits
  10. 19 Feb, 2025 3 commits
  11. 17 Feb, 2025 1 commit
  12. 12 Feb, 2025 1 commit
  13. 10 Feb, 2025 1 commit
  14. 06 Feb, 2025 1 commit
  15. 21 Jan, 2025 1 commit
  16. 19 Jan, 2025 1 commit
  17. 16 Jan, 2025 1 commit
  18. 15 Jan, 2025 1 commit
  19. 14 Jan, 2025 1 commit
  20. 13 Jan, 2025 3 commits
  21. 10 Jan, 2025 1 commit
    • Daniel Hipke's avatar
      Add a `disable_mmap` option to the `from_single_file` loader to improve load... · 52c05bd4
      Daniel Hipke authored
      
      Add a `disable_mmap` option to the `from_single_file` loader to improve load performance on network mounts (#10305)
      
      * Add no_mmap arg.
      
      * Fix arg parsing.
      
      * Update another method to force no mmap.
      
      * logging
      
      * logging2
      
      * propagate no_mmap
      
      * logging3
      
      * propagate no_mmap
      
      * logging4
      
      * fix open call
      
      * clean up logging
      
      * cleanup
      
      * fix missing arg
      
      * update logging and comments
      
      * Rename to disable_mmap and update other references.
      
      * [Docs] Update ltx_video.md to remove generator from `from_pretrained()` (#10316)
      
      Update ltx_video.md to remove generator from `from_pretrained()`
      
      * docs: fix a mistake in docstring (#10319)
      
      Update pipeline_hunyuan_video.py
      
      docs: fix a mistake
      
      * [BUG FIX] [Stable Audio Pipeline] Resolve torch.Tensor.new_zeros() TypeError in function prepare_latents caused by audio_vae_length (#10306)
      
      [BUG FIX] [Stable Audio Pipeline] TypeError: new_zeros(): argument 'size' failed to unpack the object at pos 3 with error "type must be tuple of ints,but got float"
      
      torch.Tensor.new_zeros() takes a single argument size (int...) – a list, tuple, or torch.Size of integers defining the shape of the output tensor.
      
      in function prepare_latents:
      audio_vae_length = self.transformer.config.sample_size * self.vae.hop_length
      audio_shape = (batch_size // num_waveforms_per_prompt, audio_channels, audio_vae_length)
      ...
      audio = initial_audio_waveforms.new_zeros(audio_shape)
      
      audio_vae_length evaluates to float because self.transformer.config.sample_size returns a float
      Co-authored-by: default avatarhlky <hlky@hlky.ac>
      
      * [docs] Fix quantization links (#10323)
      
      Update overview.md
      
      * [Sana]add 2K related model for Sana (#10322)
      
      add 2K related model for Sana
      
      * Update src/diffusers/loaders/single_file_model.py
      Co-authored-by: default avatarDhruv Nair <dhruv.nair@gmail.com>
      
      * Update src/diffusers/loaders/single_file.py
      Co-authored-by: default avatarDhruv Nair <dhruv.nair@gmail.com>
      
      * make style
      
      ---------
      Co-authored-by: default avatarhlky <hlky@hlky.ac>
      Co-authored-by: default avatarSayak Paul <spsayakpaul@gmail.com>
      Co-authored-by: default avatarLeojc <liao_junchao@outlook.com>
      Co-authored-by: default avatarAditya Raj <syntaxticsugr@gmail.com>
      Co-authored-by: default avatarSteven Liu <59462357+stevhliu@users.noreply.github.com>
      Co-authored-by: default avatarJunsong Chen <cjs1020440147@icloud.com>
      Co-authored-by: default avatarDhruv Nair <dhruv.nair@gmail.com>
      52c05bd4
  22. 09 Jan, 2025 1 commit
  23. 08 Jan, 2025 1 commit
  24. 07 Jan, 2025 1 commit
  25. 06 Jan, 2025 4 commits
  26. 02 Jan, 2025 1 commit
  27. 25 Dec, 2024 1 commit