huggingface / huggingface/diffusers
move `LTX2TextConnectors` into `models/condition_embedders/`
- Vorherrschende Sprache
- Python
- Sterne
- 34.5k
- Forks
- 7.3k
- Ø Merge
- 3 T. 3 Std.
- Gemergte PRs (30 T.)
- 91
Beschreibung
`LTX2TextConnectors` is a model (`ModelMixin`, has its own weights subfolder in the checkpoints) but lives in the pipeline folder, `src/diffusers/pipelines/ltx2/connectors.py`. So far only the LTX-2 pipelines used it, but now #13881 (SANA-WM) uses it too, importing it across pipeline folders.
We have a folder for these: `src/diffusers/models/condition_embedders/`. Let's move it there (with a re-export at the old location so existing imports keep working).
---
*This issue was drafted with Claude Code and posted by it on my behalf; I reviewed the content.*
Beitragsleitfaden
Rechercherichtung
Move the implementation from src/diffusers/pipelines/ltx2/connectors.py into src/diffusers/models/condition_embedders/, keeping a re-export at the old location. Start by reading LTX2TextConnectors and the LTX-2 and SANA-WM imports, then verify both the new location and existing imports resolve while preserving the model's checkpoint weights subfolder behavior.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python, pytorch
- Bereich
- machine-learning
- Issue-Typ
- Refactoring
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Aktiv
- Klarheit
- Klar beschrieben
- Anfängerfreundlichkeit
- 76/100