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

为什么运行不起来,总是跑到huggingface去下载 #17

Open
djiyige opened this issue Sep 20, 2024 · 2 comments
Open

为什么运行不起来,总是跑到huggingface去下载 #17

djiyige opened this issue Sep 20, 2024 · 2 comments

Comments

@djiyige
Copy link

djiyige commented Sep 20, 2024

我的启动命令是:
python app.py --model "/data3/model_hub/text2image/stable-diffusion-3-medium-diffusers" --height 512 --width 512 --port 8000
模型已经是指向了本地下载好的diffuser文件夹,里面有diffuser全部元素了。为什么运行起来还是跑去Huggingface远程下载呢

@djiyige
Copy link
Author

djiyige commented Sep 20, 2024

我的本地模型路径如下,已包含模型所有文件
image

但是运行起来还是跑去远程下载模型
image

@dqj5182
Copy link
Collaborator

dqj5182 commented Oct 28, 2024

请参考 https://huggingface.co/docs/transformers/main/en/installation。下载的模型应位于 ~/.cache/huggingface/hub 文件夹中。请再次检查,如果还有问题请告知我。

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

No branches or pull requests

2 participants