huggingface / huggingface/diffusers

Unload lora specific lora weight

Offen
#9,325 22 Kommentare 0 Reaktionen 2 zugewiesene Personen Beansprucht von @sayakpaul Auf GitHub ansehen
lora stale
Vorherrschende Sprache
Python
Sterne
34.5k
Forks
7.3k
Ø Merge
3 T. 3 Std.
Gemergte PRs (30 T.)
91

Beschreibung

I've had trouble loading a few loras, and then unloading only a select few to free up more memory, but we only support unload_lora_weights() currently, which unloads all the loras - so I have to reload the loras I want again which is time consuming.

I would like a solution where we could specify the adapter_name associated with the lora_weight and unload that specific lora weight alone.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.