1. 13 Jun, 2024 5 commits
  2. 12 Jun, 2024 10 commits
  3. 11 Jun, 2024 3 commits
  4. 10 Jun, 2024 2 commits
  5. 08 Jun, 2024 1 commit
  6. 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
  7. 06 Jun, 2024 4 commits
  8. 05 Jun, 2024 9 commits