aifartist / ArtSpew

An infinite number of monkeys randomly throwing paint at a canvas
301 stars 34 forks source link

Errors - Deprecated version of LORA #17

Open valdecircarvalho opened 10 months ago

valdecircarvalho commented 10 months ago

Hello! First of all, thanks for sharing this. It works amazing. I'm getting some weird errors, even though, the images are being generated. Not sure if it's something from my environment or not. Please let me know if you need more details.

(venv) (base) ubuntu@sd-linux:~/ai/ArtSpew$ python3 artspew.py --xl -x 1024 -y 1024 -b 25 -s 50 -n 10 -p "Space cat cowboy" Keyword arguments {'safety_checker': None, 'requires_safety_checker': False} are not expected by StableDiffusionXLPipeline and will be ignored. Loading pipeline components...: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 7/7 [00:01<00:00, 6.74it/s] Using LCM. The config attributes {'skip_prk_steps': True} were passed to LCMScheduler, but are not expected and will be ignored. Please verify your scheduler_config.json configuration file. /home/ubuntu/ai/ArtSpew/venv/lib/python3.11/site-packages/diffusers/loaders/lora.py:952: FutureWarning:fuse_text_encoder_lorais deprecated and will be removed in version 0.25. You are using an old version of LoRA backend. This will be deprecated in the next releases in favor of PEFT make sure to install the latest PEFT and transformers packages in the future. deprecate("fuse_text_encoder_lora", "0.25", LORA_DEPRECATION_MESSAGE) Generating 25 images with 50 steps. It can take a few minutes to download the model the very first run. After that it can take 10s of seconds to load the stable diffusion model. 32%|██████████████████████████████████████████████████████████▌ | 16/50 [00:51<01:44, 3.06s/it]