Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not load T5 #23

Open
yyvhang opened this issue Jan 9, 2025 · 6 comments
Open

Can not load T5 #23

yyvhang opened this issue Jan 9, 2025 · 6 comments
Assignees
Labels
enhancement New feature or request

Comments

@yyvhang
Copy link

yyvhang commented Jan 9, 2025

Runing the 14B DiT (T2V), raise the error:
Failed to load T5 model using cache_dir 'cosmos checkpoint dir', falling back to default location: Can't load tokenizer for 'google-t5/t5-11b'. If you were trying to load it from 'https://huggingface.co/models', make sure you don't have a local directory with the same name. Otherwise, make sure 'google-t5/t5-11b' is the correct path to a directory containing all relevant files for a T5TokenizerFast tokenizer.
which T5 version should be downloaded and in which folder should these checkpoints be?

@MikeAiJF
Copy link

MikeAiJF commented Jan 9, 2025

运行 14B DiT(T2V)时出现错误: Failed to load T5 model using cache_dir 'cosmos checkpoint dir', falling back to default location: Can't load tokenizer for 'google-t5/t5-11b'. If you were trying to load it from 'https://huggingface.co/models', make sure you don't have a local directory with the same name. Otherwise, make sure 'google-t5/t5-11b' is the correct path to a directory containing all relevant files for a T5TokenizerFast tokenizer. 应该下载哪个 T5 版本,这些检查点应该放在哪个文件夹中?

I have the same problem as you, have you solved it

@ymcki
Copy link

ymcki commented Jan 10, 2025

I don't have this problem. You better download this model with their download script, e.g. download_diffusion.py.

This script will do some conversion to make it work

@MikeAiJF
Copy link

我没有这个问题。你最好用他们的下载脚本下载这个模型,例如 download_diffusion.py。

该脚本将进行一些转换以使其工作

But I can't download on cuddle face in Docker environment, which is too laggy
Image

@foxkw
Copy link

foxkw commented Jan 16, 2025

same error

@AAwilliam
Copy link

i also get this problem,shall we dowmload t5 folder

@sophiahhuang sophiahhuang added the enhancement New feature or request label Jan 27, 2025
@chloexiangyy
Copy link

same problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

8 participants