Colab speed and user experience improvement #2018
Replies: 3 comments 13 replies
-
Nice stuff. Glad someone came with better approach than mine |
Beta Was this translation helpful? Give feedback.
-
it's great work, but for unexperienced users it seems a bit complicated, I like to keep it as simple as possible to avoid complications. |
Beta Was this translation helpful? Give feedback.
-
You mean like batchlinks webui extension does? Your solution requires uploading files to drive from a separate colab, meaning your other colab instance won't have immediate local access to them; if you use batchlinks they should be available immediately from the cache, and it downloads the model previews as well. I use batchlinks mainly for SD models (and occasionally for loras), as they're the largest files; smaller files also get downloaded directly in the same colab with the unofficial Civitai helper extension (Civitai, github); the advantage here is that while the Civitai helper doesn't download as fast as the batchlinks extension does, it downloads other data that's useful as well (for example, it grabs the prompts for the preview images). After downloading files, I tell the civitai helper to fetch metadata for those files as well, so I have the prompts for the previews. After this, I also download all the previews to my personal server, and set up a redirect extension so the previews don't time out my connection12. Alternatively, just use a download manager3 for your drive. Footnotes
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey guys, I forked your notebook and improved it. It was confusing for me and I needed a way to better manage my models, so I tweaked it a bit, but I don't understand python and SD at all, so I was wondering if you could take a look, give me some feedback, and perhaps imported some of the tweaks back into your notebook too?
The main difference is that I improved some comments and documentation (such as documenting ControlNets), streamlined some flows (xFormers setting) and split the notebook into two parts:
A1111 notebook
https://colab.research.google.com/drive/15y0-QZM32atrnO05GVOGVP7ryPZQrl1x?usp=sharing
Companion model downloader
https://colab.research.google.com/drive/1eZbKtuP4XbC6wOfxmu_2_UtjLmbq0Z6a?usp=sharing
Having it in a separate file makes it more flexible as you can continue running your A1111 notebook while downloading and experimenting with models and extensions.
This also allows to place several model downloads into a queue to be executed one after another, since the companion colab provides multitude of execution cells (meaning I can add another model download, while one download is already in progress).
Beta Was this translation helpful? Give feedback.
All reactions