diffusion-models-class
diffusion-models-class copied to clipboard
various fixes to `01_stable_diffusion_introduction.ipynb`
runwaymldisappeared, so I changed the repo name.- fixed some deprecation warnings.
- There is still one deprecation warning I don't know how to fix. IT is at
/opt/conda/lib/python3.10/site-packages/transformers/tokenization_utils_base.py:1614: FutureWarning: `clean_up_tokenization_spaces` was not set. It will be set to `True` by default. This behavior will be deprecated in transformers v4.45, and will be then set to `False` by default. For more details check this issue: https://github.com/huggingface/transformers/issues/31884
warnings.warn(
which appears during
# Load the pipeline
model_id = "stabilityai/stable-diffusion-2-1-base"
pipe = StableDiffusionPipeline.from_pretrained(model_id).to(device)
Specifically, at loading pipeline components step 5, when loading the CLIP text encoder.
Check out this pull request on ![]()
See visual diffs & provide feedback on Jupyter Notebooks.
Powered by ReviewNB