huggingface / huggingface/diffusers
move `LTX2TextConnectors` into `models/condition_embedders/`
- Lingua principale
- Python
- Stelle
- 34.5k
- Fork
- 7.3k
- Merge medio
- 3g 3h
- PR unite (30g)
- 91
Descrizione
`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.*
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python, pytorch
- Ambito
- machine-learning
- Tipo di issue
- Refactoring
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Attiva
- Chiarezza
- Specificata chiaramente
- Idoneità per principianti
- 76/100