yet more install clarification

This commit is contained in:
Lincoln Stein 2022-08-16 21:53:07 -04:00
parent 09032fb79d
commit 3f5d39a597

View File

@ -65,10 +65,11 @@ initialization, stable-diffusion tries to download the Bert tokenizer
model from huggingface.co. This obviously didn't work for me. model from huggingface.co. This obviously didn't work for me.
Rather than set up a hugging face local hub, I found the most Rather than set up a hugging face local hub, I found the most
expedient thing to do was to download the Bert tokenizer in advance, expedient thing to do was to download the Bert tokenizer in advance
and patch stable-diffusion to read it from the local disk. After you from a machine that had internet access (in this case, the head node
have completed the conda environment creation and activation steps,the of the cluster), and patch stable-diffusion to read it from the local
steps to preload the Bert model are: disk. After you have completed the conda environment creation and
activation steps,the steps to preload the Bert model are:
~~~~ ~~~~
(ldm) ~/stable-diffusion$ mkdir ./models/bert (ldm) ~/stable-diffusion$ mkdir ./models/bert