adieyal / sd-dynamic-prompts

A custom script for AUTOMATIC1111/stable-diffusion-webui to implement a tiny template language for random prompt generation
MIT License
2.02k stars 261 forks source link

the Transformers transitive dependency takes a lot of time to complete #748

Closed PaoloPgn closed 6 months ago

PaoloPgn commented 6 months ago

I'm on Colab and I got some problems to update dynamic prompts to the last version as I already explained here: https://github.com/adieyal/sd-dynamic-prompts/issues/743 I have to lunch everytime the command manually !pip install dynamicprompts[attentiongrabber,magicprompt]~=0.30.4 And it looks a lot of time to complete cause the command, for the Transformers transitive dependency, is trying to install another version of Torch every time: today I'm here waiting for 13 minutes to complete the process, and it's still running. Is there a way to launch a command that don't install every time from scratch another version of Torch, but only the file dynamic prompt needed the system to work? Thank you

PaoloPgn commented 6 months ago

I uninstalled completely the extension and reinstall again. Issue solved. [for those who run stable diffusion on Colab this is the only way to update an extension, the update button doesn't work: on the next restart via the "Start Stable Diffusion" button, after the update, the extension loaded is not the updated one]