Pytorch version problem
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- python, pytorch
- Domain
- machine-learning
Research direction
Start by running examples/wan_text_to_video.py with PyTorch 2.9.0 and inspect the import at line 14 of diffsynth_engine/utils/parallel.py. Compare the available torch.distributed.tensor.parallel API with the referenced _validate_tp_mesh_dim import. Done means the example no longer fails with this ModuleNotFoundError.
Written by the indexing model from the issue text.
Description
When running
examples/wan_text_to_video.py
with pytorch 2.9.0
i get the error:
File "/app/diffsynth-engine/diffsynth_engine/utils/parallel.py", line 14, in <module>
from torch.distributed.tensor.parallel._utils import _validate_tp_mesh_dim
ModuleNotFoundError: No module named 'torch.distributed.tensor.parallel._utils'
- Dominant language
- Python
- Stars
- 432
- Forks
- 51
- Avg merge
- 3d 5h
- Merged PRs (30d)
- 1
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.
More from modelscope/DiffSynth-Engine
-
Difficulty 4/5 3-5 days Newbie friendliness 55/100
modelscope/DiffSynth-Engine#266 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
modelscope/DiffSynth-Engine#238 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
modelscope/DiffSynth-Engine#235 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
modelscope/DiffSynth-Engine#224 · 2 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 32/100
modelscope/DiffSynth-Engine#223 · 2 comments ·
All issues in modelscope/DiffSynth-Engine
Similar issues
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
canonical/paas-charm#368 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
tech debt
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
StevenBlack/hosts#3256 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
qualcomm/qai-appbuilder#275 ·