Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Pytorch version problem

Open
#199 6 comments 0 reactions 0 assignees View on GitHub

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

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

  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.

More from modelscope/DiffSynth-Engine

All issues in modelscope/DiffSynth-Engine

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.