modelscope / modelscope/DiffSynth-Studio
modality cfg in ltx-2.3
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 13.1k
- Forks
- 1.3k
- Avg merge
- 13h 12m
- Merged PRs (30d)
- 45
Description
May I ask whether the modality CFG mentioned in the LTX-2 paper is supported?
I notice that there is a related implementation in the inference code of the official repository (https://github.com/Lightricks/LTX-2), but I could not find it in this repository.
It seems that None is being passed directly here (perturbations=None):
https://github.com/modelscope/DiffSynth-Studio/blob/84a75de89838173f739b90ad9edaf2971505288e/diffsynth/models/ltx2_dit.py#L1682
Are there any plans to support modality CFG?
Thank you.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Read diffsynth/models/ltx2_dit.py around line 1682 and trace how perturbations=None is passed during inference. Compare that path with the modality CFG implementation in the linked official LTX-2 repository to determine the missing behavior and its scope. Done requires a decided support plan or an implementation target, with validation steps identified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- ai, machine-learning
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100