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

报错:sd-image-variations-diffusers目录下没有diffusion_pytorch_model.safetensors文件 #104

Open
smalldaidai opened this issue Dec 25, 2024 · 3 comments
Labels
dependencies Pull requests that update a dependency file done tutorial

Comments

@smalldaidai
Copy link

如题,报如下错误
An error occurred while trying to fetch ./pretrained_weights/sd-image-variations-diffusers: Error no file named diffusion_pytorch_model.safetensors found in directory ./pretrained_weights/sd-image-variations-diffusers

这个目录下面确实是没有这个文件的,我是用最新更新的那个linux_setup.sh去下载的模型,也特地去hugging-face对应的页面看过了,的确不应该有这个文件,而且这个报错也不影响推理,不知是何原因,这个问题我看之前也有人提到过,作者的回复是更新了linux_setup.sh,但是这个更新似乎并没有解决这个问题

@mengrang mengrang added the duplicate This issue or pull request already exists label Dec 25, 2024
@sxt999
Copy link

sxt999 commented Dec 25, 2024

同样的问题

@sxt999
Copy link

sxt999 commented Dec 25, 2024

可以加一个 use_safetensors=False

@mengrang mengrang added doing and removed duplicate This issue or pull request already exists labels Dec 25, 2024
@smalldaidai
Copy link
Author

可以加一个 use_safetensors=False

嗯,这个真的行!之前有看到这个bug的说明,但是没有想到是用来修复这个问题的

@mengrang mengrang added dependencies Pull requests that update a dependency file done tutorial and removed doing labels Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file done tutorial
Projects
None yet
Development

No branches or pull requests

3 participants