huggingface / huggingface/diffusers

Unload lora specific lora weight

Aperta
#9,325 22 commenti 0 reazioni 2 assegnatari Rivendicata da @sayakpaul Vedi su GitHub
lora stale
Lingua principale
Python
Stelle
34.5k
Fork
7.3k
Merge medio
3g 3h
PR unite (30g)
91

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.