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

How to download the model to local use? #126

Open
404-xianjin opened this issue Jun 20, 2023 · 3 comments
Open

How to download the model to local use? #126

404-xianjin opened this issue Jun 20, 2023 · 3 comments

Comments

@404-xianjin
Copy link

I downloaded the three models locally and modified the script file.
image
But I got an error like this
image
My question is, can't the model be loaded locally for use? Do I have to log in to huggingface every time I execute a script? My network speed is too slow, if I need to download every time, it will take a long time for me to wait. Who can help me, thank you very much.
@shonenkov @zeroshot-ai @apolinario @Gugutse @ivksu @williamberman @sayakpaul @estability

@sayakpaul
Copy link
Contributor

My question is, can't the model be loaded locally for use? Do I have to log in to huggingface every time I execute a script? My network speed is too slow, if I need to download every time, it will take a long time for me to wait. Who can help me, thank you very much.

The checkpoints within this library are downloaded with a utility called hf_hub_download() provided by the Hugging Face Hub library. The files downloaded with this utility are supposed to be automatically cached already actually.

@404-xianjin
Copy link
Author

wow, it is indeed so. When I execute the script repeatedly, the model files are automatically cached. But I got another error, my graphics card model is NVIDIA A5000.
image
stage3 doesn't execute perfectly, getting the following error.
image
image
thank you very much.

@Jon-Zbw
Copy link

Jon-Zbw commented Jun 23, 2023

i think you should clone the entire model repository,like :git clone https://huggingface.co/DeepFloyd/IF-I-XL-v1.0 without GIT_LFS_SKIP_SMUDGE=1, ps :i dont have a test

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

3 participants