OSError: Incorrect path_or_model_id:

#16
by ssalvo41 - opened

Does anyone knows how do I solve this error ?
OSError: Incorrect path_or_model_id: 'cache/google/umt5-xxl'. Please provide either the path to a local folder or the repo_id of a model on the Hub.

Load all files from this repo locally and use the command from official Wan's repo:
https://github.com/Wan-Video/Wan2.1?tab=readme-ov-file#run-text-to-image-generation

cd gradio
# if one uses dashscope’s API for prompt extension
DASH_API_KEY=your_key python t2v_1.3B_singleGPU.py --prompt_extend_method 'dashscope' --ckpt_dir ./Wan2.1-T2V-1.3B

# if one uses a local model for prompt extension
python t2v_1.3B_singleGPU.py --prompt_extend_method 'local_qwen' --ckpt_dir ./Wan2.1-T2V-1.3B

it worked for me.

Yea my bad . Its all about the paths.

python3 ../gradio/t2v_1.3B_singleGPU.py --prompt_extend_method 'local_qwen' --ckpt_dir ../Wan2.1-T2V-1.3B

It worked for me .

Your need to confirm your account before you can post a new comment.

Sign up or log in to comment