1. 04 Jul, 2025 1 commit
    • Benjamin Bossan's avatar
      FIX set_lora_device when target layers differ (#11844) · 25279175
      Benjamin Bossan authored
      
      
      * FIX set_lora_device when target layers differ
      
      Resolves #11833
      
      Fixes a bug that occurs after calling set_lora_device when multiple LoRA
      adapters are loaded that target different layers.
      
      Note: Technically, the accompanying test does not require a GPU because
      the bug is triggered even if the parameters are already on the
      corresponding device, i.e. loading on CPU and then changing the device
      to CPU is sufficient to cause the bug. However, this may be optimized
      away in the future, so I decided to test with GPU.
      
      * Update docstring to warn about device mismatch
      
      * Extend docstring with an example
      
      * Fix docstring
      
      ---------
      Co-authored-by: default avatarSayak Paul <spsayakpaul@gmail.com>
      25279175
  2. 02 Jul, 2025 3 commits
  3. 01 Jul, 2025 2 commits
  4. 30 Jun, 2025 3 commits
  5. 28 Jun, 2025 1 commit
  6. 27 Jun, 2025 2 commits
  7. 26 Jun, 2025 6 commits
  8. 25 Jun, 2025 1 commit
  9. 24 Jun, 2025 5 commits
  10. 23 Jun, 2025 2 commits
  11. 21 Jun, 2025 1 commit
  12. 20 Jun, 2025 2 commits
  13. 19 Jun, 2025 6 commits
  14. 18 Jun, 2025 3 commits
  15. 17 Jun, 2025 1 commit
  16. 16 Jun, 2025 1 commit