huggingface / huggingface/diffusers

move `LTX2TextConnectors` into `models/condition_embedders/`

Ouverte
#14,749 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
34.5k
Forks
7.3k
Merge moyen
3 j 3 h
PR mergées (30 j)
91

Description

`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.*

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
python, pytorch
Domaine
machine-learning
Type d'issue
Refactorisation
Difficulté
3/5
Temps estimé
1-2 jours
Activité
Active
Clarté
Clairement spécifiée
Accessibilité débutants
76/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.