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

loading custom models #28

Open
Anonym0us33 opened this issue Jun 20, 2023 · 2 comments
Open

loading custom models #28

Anonym0us33 opened this issue Jun 20, 2023 · 2 comments

Comments

@Anonym0us33
Copy link

Is there any way to use this without a hugging face token, or to change the SD model to something besides 1.5? Or is it part of the docker script?
Could you possibly edit the docker script so that it no longer requires a HF download?

@NickLucche
Copy link
Owner

Yes this is definitely doable but currently it requires you to set the -e MODEL_ID <model_name> environment variable before starting the container to load a different model. Currently the version on master defaults to stabilityai/stable-diffusion-2-base.
I will look into making this more user-friendly.

Could you possibly edit the docker script so that it no longer requires a HF download?
This can be done already by mounting hf cache directory, see here https://github.com/NickLucche/stable-diffusion-nvidia-docker/tree/master#about-model-versions.

@NickLucche NickLucche changed the title huggingface token loading custom models Jun 21, 2023
@luffyx10
Copy link

luffyx10 commented Aug 7, 2023

Yes this is definitely doable but currently it requires you to set the -e MODEL_ID <model_name> environment variable before starting the container to load a different model. Currently the version on master defaults to stabilityai/stable-diffusion-2-base. I will look into making this more user-friendly.

Could you possibly edit the docker script so that it no longer requires a HF download?
This can be done already by mounting hf cache directory, see here https://github.com/NickLucche/stable-diffusion-nvidia-docker/tree/master#about-model-versions.

Hi, Thank you for this and I have a problem loading other models
can you please make a detailed instruction because am really lost
and how can I add safetensors checkpoints
Thanks again

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