huggingface / huggingface/diffusers

[Schedulers] Add methods for conversion between noise and denoised predictions

Offen
#9,629 5 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
scheduler stale
Vorherrschende Sprache
Python
Sterne
34.5k
Forks
7.3k
Ø Merge
3 T. 3 Std.
Gemergte PRs (30 T.)
91

Beschreibung

Guidance methods like APG (#9585 #9626) require conversion between noise and denoised predictions. The computation of these predictions varies across schedulers and depends on `prediction_type`. Currently, this is embedded in `step` functions of the schedulers which complicates implementation of APG.

Adding separate methods for conversion between noise and denoised predictions would simplify implementation and allow easier experimentation.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start by reviewing the schedulers' step functions and their prediction_type handling, then read the APG discussions in issues #9585 and #9626. Done means the conversion logic is exposed as separate scheduler methods and supports the prediction variants needed by the guidance methods.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python, pytorch
Bereich
machine-learning
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

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