modelscope / modelscope/DiffSynth-Studio

modality cfg in ltx-2.3

Open
#1,420 2 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.