"vscode:/vscode.git/clone" did not exist on "9304f0e7a8095b7b526ab6320f1337d8e6cb74cb"
  1. 12 Jun, 2024 1 commit
  2. 29 May, 2024 1 commit
  3. 24 May, 2024 1 commit
  4. 13 May, 2024 1 commit
  5. 09 May, 2024 1 commit
  6. 07 May, 2024 1 commit
  7. 12 Apr, 2024 1 commit
  8. 29 Mar, 2024 2 commits
    • UmerHA's avatar
      Implements Blockwise lora (#7352) · 03024468
      UmerHA authored
      
      
      * Initial commit
      
      * Implemented block lora
      
      - implemented block lora
      - updated docs
      - added tests
      
      * Finishing up
      
      * Reverted unrelated changes made by make style
      
      * Fixed typo
      
      * Fixed bug + Made text_encoder_2 scalable
      
      * Integrated some review feedback
      
      * Incorporated review feedback
      
      * Fix tests
      
      * Made every module configurable
      
      * Adapter to new lora test structure
      
      * Final cleanup
      
      * Some more final fixes
      
      - Included examples in `using_peft_for_inference.md`
      - Added hint that only attns are scaled
      - Removed NoneTypes
      - Added test to check mismatching lens of adapter names / weights raise error
      
      * Update using_peft_for_inference.md
      
      * Update using_peft_for_inference.md
      
      * Make style, quality, fix-copies
      
      * Updated tutorial;Warning if scale/adapter mismatch
      
      * floats are forwarded as-is; changed tutorial scale
      
      * make style, quality, fix-copies
      
      * Fixed typo in tutorial
      
      * Moved some warnings into `lora_loader_utils.py`
      
      * Moved scale/lora mismatch warnings back
      
      * Integrated final review suggestions
      
      * Empty commit to trigger CI
      
      * Reverted emoty commit to trigger CI
      
      ---------
      Co-authored-by: default avatarSayak Paul <spsayakpaul@gmail.com>
      03024468
    • Dhruv Nair's avatar
      Memory clean up on all Slow Tests (#7514) · 4d39b748
      Dhruv Nair authored
      
      
      * update
      
      * update
      
      ---------
      Co-authored-by: default avatarSayak Paul <spsayakpaul@gmail.com>
      4d39b748
  9. 27 Mar, 2024 1 commit
  10. 26 Mar, 2024 1 commit
    • Sayak Paul's avatar
      feat: support DoRA LoRA from community (#7371) · 699dfb08
      Sayak Paul authored
      * feat: support dora loras from community
      
      * safe-guard dora operations under peft version.
      
      * pop use_dora when False
      
      * make dora lora from kohya work.
      
      * fix: kohya conversion utils.
      
      * add a fast test for DoRA compatibility..
      
      * add a nightly test.
      699dfb08
  11. 25 Mar, 2024 1 commit
  12. 20 Mar, 2024 1 commit
  13. 19 Mar, 2024 1 commit
  14. 27 Feb, 2024 2 commits
  15. 13 Feb, 2024 1 commit
  16. 09 Feb, 2024 1 commit
  17. 08 Feb, 2024 1 commit
  18. 22 Jan, 2024 1 commit
  19. 05 Jan, 2024 2 commits
  20. 04 Jan, 2024 5 commits
  21. 03 Jan, 2024 2 commits
    • Sayak Paul's avatar
      [LoRA deprecation] handle rest of the stuff related to deprecated lora stuff. (#6426) · d7001400
      Sayak Paul authored
      * handle rest of the stuff related to deprecated lora stuff.
      
      * fix: copies
      
      * don't modify the uNet in-place.
      
      * fix: temporal autoencoder.
      
      * manually remove lora layers.
      
      * don't copy unet.
      
      * alright
      
      * remove lora attn processors from unet3d
      
      * fix: unet3d.
      
      * styl
      
      * Empty-Commit
      d7001400
    • Sayak Paul's avatar
      [LoRA] add: test to check if peft loras are loadable in non-peft envs. (#6400) · 2e4dc3e2
      Sayak Paul authored
      * add: test to check if peft loras are loadable in non-peft envs.
      
      * add torch_device approrpiately.
      
      * fix: get_dummy_inputs().
      
      * test logits.
      
      * rename
      
      * debug
      
      * debug
      
      * fix: generator
      
      * new assertion values after fixing the seed.
      
      * shape
      
      * remove print statements and settle this.
      
      * to update values.
      
      * change values when lora config is initialized under a fixed seed.
      
      * update colab link
      
      * update notebook link
      
      * sanity restored by getting the exact same values without peft.
      2e4dc3e2
  22. 02 Jan, 2024 1 commit
    • Sayak Paul's avatar
      [LoRA] Remove the use of depcrecated loRA functionalities such as `LoRAAttnProcessor` (#6369) · 61f6c547
      Sayak Paul authored
      * start deprecating loraattn.
      
      * fix
      
      * wrap into unet_lora_state_dict
      
      * utilize text_encoder_lora_params
      
      * utilize text_encoder_attn_modules
      
      * debug
      
      * debug
      
      * remove print
      
      * don't use text encoder for test_stable_diffusion_lora
      
      * load the procs.
      
      * set_default_attn_processor
      
      * fix: set_default_attn_processor call.
      
      * fix: lora_components[unet_lora_params]
      
      * checking for 3d.
      
      * 3d.
      
      * more fixes.
      
      * debug
      
      * debug
      
      * debug
      
      * debug
      
      * more debug
      
      * more debug
      
      * more debug
      
      * more debug
      
      * more debug
      
      * more debug
      
      * hack.
      
      * remove comments and prep for a PR.
      
      * appropriate set_lora_weights()
      
      * fix
      
      * fix: test_unload_lora_sd
      
      * fix: test_unload_lora_sd
      
      * use dfault attebtion processors.
      
      * debu
      
      * debug nan
      
      * debug nan
      
      * debug nan
      
      * use NaN instead of inf
      
      * remove comments.
      
      * fix: test_text_encoder_lora_state_dict_unchanged
      
      * attention processor default
      
      * default attention processors.
      
      * default
      
      * style
      61f6c547
  23. 30 Dec, 2023 1 commit
  24. 26 Dec, 2023 1 commit
  25. 25 Dec, 2023 1 commit
  26. 24 Dec, 2023 2 commits
  27. 22 Dec, 2023 1 commit
  28. 21 Dec, 2023 1 commit
  29. 15 Dec, 2023 1 commit
  30. 21 Nov, 2023 1 commit
  31. 14 Nov, 2023 1 commit
    • Sayak Paul's avatar
      [Refactor] refactor `loaders.py` to make it cleaner and leaner. (#5771) · ded93f79
      Sayak Paul authored
      
      
      * refactor loaders.py to make it cleaner and leaner.
      
      * refactor loaders init
      
      * inits.
      
      * textual inversion to the init.
      
      * inits.
      
      * remove certain modules from the main init.
      
      * AttnProcsLayers
      
      * fix imports
      
      * avoid circular import.
      
      * fix circular import pt 2.
      
      * address PR comments
      
      * imports
      
      * fix: imports.
      
      * remove from main init for avoiding circular deps.
      
      * remove spurious deps.
      
      * fix-copies.
      
      * fix imports.
      
      * more debug
      
      * more debug
      
      * Apply suggestions from code review
      
      * Apply suggestions from code review
      
      ---------
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      ded93f79