sd-scripts icon indicating copy to clipboard operation
sd-scripts copied to clipboard

Cannot train LoRAs while offline?

Open RandomInternetPreson opened this issue 2 years ago • 1 comments

I can successfully train a LoRA model while online, but if I do all the exact same steps again while offline I get an error while trying to train the model.

Why does the code only work if connected to the internet?

Thank you :3

RandomInternetPreson avatar Feb 11 '23 21:02 RandomInternetPreson

The training scripts load models from huggingface (.from_pretrained). If these models haven't been cached in your local storage, you may get error when training offline.

tyz1994 avatar Feb 14 '23 07:02 tyz1994