1. 12 Jun, 2024 4 commits
  2. 11 Jun, 2024 3 commits
  3. 10 Jun, 2024 2 commits
  4. 08 Jun, 2024 1 commit
  5. 07 Jun, 2024 6 commits
    • Lucain's avatar
      Move away from `cached_download` (#8419) · 0d68ddf3
      Lucain authored
      * Move away from
      
      * unused constant
      
      * Add custom error
      0d68ddf3
    • Sayak Paul's avatar
      [Core] support saving and loading of sharded checkpoints (#7830) · 7d887118
      Sayak Paul authored
      
      
      * feat: support saving a model in sharded checkpoints.
      
      * feat: make loading of sharded checkpoints work.
      
      * add tests
      
      * cleanse the loading logic a bit more.
      
      * more resilience while loading from the Hub.
      
      * parallelize shard downloads by using snapshot_download()/
      
      * default to a shard size.
      
      * more fix
      
      * Empty-Commit
      
      * debug
      
      * fix
      
      * uality
      
      * more debugging
      
      * fix more
      
      * initial comments from Benjamin
      
      * move certain methods to loading_utils
      
      * add test to check if the correct number of shards are present.
      
      * add a test to check if loading of sharded checkpoints from the Hub is okay
      
      * clarify the unit when passed as an int.
      
      * use hf_hub for sharding.
      
      * remove unnecessary code
      
      * remove unnecessary function
      
      * lucain's comments.
      
      * fixes
      
      * address high-level comments.
      
      * fix test
      
      * subfolder shenanigans./
      
      * Update src/diffusers/utils/hub_utils.py
      Co-authored-by: default avatarLucain <lucainp@gmail.com>
      
      * Apply suggestions from code review
      Co-authored-by: default avatarLucain <lucainp@gmail.com>
      
      * remove _huggingface_hub_version as not needed.
      
      * address more feedback.
      
      * add a test for local_files_only=True/
      
      * need hf hub to be at least 0.23.2
      
      * style
      
      * final comment.
      
      * clean up subfolder.
      
      * deal with suffixes in code.
      
      * _add_variant default.
      
      * use weights_name_pattern
      
      * remove add_suffix_keyword
      
      * clean up downloading of sharded ckpts.
      
      * don't return something special when using index.json
      
      * fix more
      
      * don't use bare except
      
      * remove comments and catch the errors better
      
      * fix a couple of things when using is_file()
      
      * empty
      
      ---------
      Co-authored-by: default avatarLucain <lucainp@gmail.com>
      7d887118
    • Lucain's avatar
      Final fix for mirror community pipeline (#8427) · b63c9568
      Lucain authored
      b63c9568
    • Lucain's avatar
      Fix mirror community pipeline (#8426) · 716b2062
      Lucain authored
      716b2062
    • Lucain's avatar
      Fix mirror_community_pipeline.yml name (#8425) · 5fd6825d
      Lucain authored
      5fd6825d
    • Lucain's avatar
      Mirror `./examples/community` folder on HF (#8417) · e0fae6fd
      Lucain authored
      
      
      * first draft
      
      * secret
      
      * tiktok
      
      * capital matters
      
      * dataset matter
      
      * don't be a prick
      
      * refact
      
      * only on main or tag
      
      * document with an example
      
      * Update destination dataset
      
      * link
      
      * allow manual trigger
      
      * better
      
      * lin
      
      ---------
      Co-authored-by: default avatarSayak Paul <spsayakpaul@gmail.com>
      e0fae6fd
  6. 06 Jun, 2024 4 commits
  7. 05 Jun, 2024 9 commits
  8. 04 Jun, 2024 4 commits
  9. 03 Jun, 2024 2 commits
  10. 01 Jun, 2024 2 commits
  11. 31 May, 2024 3 commits
    • Anton Obukhov's avatar
      Fix marigold documentation (#8372) · 86555c9f
      Anton Obukhov authored
      * rename prs-eth/marigold-lcm-v1-0 into prs-eth/marigold-depth-lcm-v1-0
      
      * update image paths in https://huggingface.co/datasets/huggingface/documentation-images
      
       to use main branch
      
      * fix relative paths to other diffusers pages
      
      * Update docs/source/en/using-diffusers/marigold_usage.md
      Co-authored-by: default avatarSteven Liu <59462357+stevhliu@users.noreply.github.com>
      
      ---------
      Co-authored-by: default avatarSteven Liu <59462357+stevhliu@users.noreply.github.com>
      86555c9f
    • Sayak Paul's avatar
      [Core] Introduce class variants for `Transformer2DModel` (#7647) · 983dec3b
      Sayak Paul authored
      * init for patches
      
      * finish patched model.
      
      * continuous transformer
      
      * vectorized transformer2d.
      
      * style.
      
      * inits.
      
      * fix-copies.
      
      * introduce DiTTransformer2DModel.
      
      * fixes
      
      * use REMAPPING as suggested by @DN6
      
      * better logging.
      
      * add pixart transformer model.
      
      * inits.
      
      * caption_channels.
      
      * attention masking.
      
      * fix use_additional_conditions.
      
      * remove print.
      
      * debug
      
      * flatten
      
      * fix: assertion for sigma
      
      * handle remapping for modeling_utils
      
      * add tests for dit transformer2d
      
      * quality
      
      * placeholder for pixart tests
      
      * pixart tests
      
      * add _no_split_modules
      
      * add docs.
      
      * check
      
      * check
      
      * check
      
      * check
      
      * fix tests
      
      * fix tests
      
      * move Transformer output to modeling_output
      
      * move errors better and bring back use_additional_conditions attribute.
      
      * add unnecessary things from DiT.
      
      * clean up pixart
      
      * fix remapping
      
      * fix device_map things in pixart2d.
      
      * replace Transformer2DModel with appropriate classes in dit, pixart tests
      
      * empty
      
      * legacy mixin classes./
      
      * use a remapping dict for fetching class names.
      
      * change to specifc model types in the pipeline implementations.
      
      * move _fetch_remapped_cls_from_config to modeling_loading_utils.py
      
      * fix dependency problems.
      
      * add deprecation note.
      983dec3b
    • Dhruv Nair's avatar