huggingface / huggingface/diffusers

Enable users to utilize tokens abstraction in the converted tokens to prevent multiple LoRAs collisions.

Offen
#7,298 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
stale
Vorherrschende Sprache
Python
Sterne
34.5k
Forks
7.3k
Ø Merge
3 T. 3 Std.
Gemergte PRs (30 T.)
91

Beschreibung

**Is your feature request related to a problem? Please describe.**
By I guess mostly historical reasons the token is being used for the provided entity, which is fine, unless I load multiple LoRAs that use the same token. How do we distinguish which one entity will get called?

**Describe the solution you'd like.**
I propose we make an experimental flag that will utilize provided token abstractions instead of `s`, for example . In case of mulitple tokens that would be , , ...

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start by tracing how converted tokens currently represent the provided entity as `` and where the experimental option would select token abstractions instead. The work is done when the flag uses the proposed distinct abstractions for multiple LoRAs without collisions, while preserving the existing behavior when disabled.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python, pytorch
Bereich
machine-learning
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

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