modelscope / modelscope/DiffSynth-Studio
KeyError: 'WanTransformer3DModel'
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 13.1k
- Forks
- 1.3k
- Avg merge
- 13h 12m
- Merged PRs (30d)
- 45
Description
(py310) root@19nhhu93vsten-0:/repo/DiffSynth-Studio/examples/wanvideo/model_inference# python Wan2.1-Fun-V1.1-14B-Control-Camera.py
2025-06-27 00:54:25.219903: I tensorflow/core/util/port.cc:110] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.
2025-06-27 00:54:25.263901: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 AVX512F AVX512_VNNI FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
/opt/conda/envs/py310/lib/python3.10/site-packages/pandas/core/computation/expressions.py:21: UserWarning: Pandas requires version '2.8.4' or newer of 'numexpr' (version '2.8.3' currently installed).
from pandas.core.computation.check import NUMEXPR_INSTALLED
Loading models from: /repo/pretrained_weights/Wan2.1-Fun-V1.1-14B-Control-Camera
Traceback (most recent call last):
File "/repo/DiffSynth-Studio/examples/wanvideo/model_inference/Wan2.1-Fun-V1.1-14B-Control-Camera.py", line 8, in <module>
pipe = WanVideoPipeline.from_pretrained(
File "/repo/DiffSynth-Studio/diffsynth/pipelines/wan_video_new.py", line 442, in from_pretrained
model_manager.load_model(
File "/repo/DiffSynth-Studio/diffsynth/models/model_manager.py", line 409, in load_model
model_names, models = model_detector.load(
File "/repo/DiffSynth-Studio/diffsynth/models/model_manager.py", line 266, in load
huggingface_lib, model_name, redirected_architecture = self.architecture_dict[architecture]
KeyError: 'WanTransformer3DModel'
I install diffsynth by pip install -e .
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
Start by running examples/wanvideo/model_inference/Wan2.1-Fun-V1.1-14B-Control-Camera.py and trace loading from diffsynth/pipelines/wan_video_new.py:442 to diffsynth/models/model_manager.py:266. Inspect the architecture lookup around the reported KeyError and verify that the example loads without the WanTransformer3DModel failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100