All-in-One, Customizable and Flexible AUTOMATIC1111's Stable Diffusion Web UI for Google Colab.
Rewrote cagliostro-colab-ui
codebase from scratch.
print_line()
and cprint()
from Colablib
.Merged output_to_drive
with mount_drive
.
Built-in wildcard support.
Renamed dpm_v2_patch
to dpmpp_2m_v2_patch
.
Added new section: Optimization config
.
mobile_optimizations
to keep Colab tab alive for mobile users.Keep Tab Alive for Mobile
due to similar functionality with the new optimization.New extensions!
New default models!
AnyLoRA
to AnyLoRA_Default.Chillout Mix
.replicant_v2
with the latest and improved version, Replicant_V3.Illuminati Diffusion V1.1
.New default VAEs!
.safetensors
! Thanks to NoCrypt.ControlNet
Lama cleaner
.Custom ControlNet Model
section to download custom controlnet models such as Illumination, Brightness, the upcoming QR Code model, and any other unofficial ControlNet Model.sd15
/sd21
in the filename.t2i_adapter_model
.Custom Download Corner
fuse:
prefix, handling multiple URLs, and loading models from Google Drive.prune:
, fp16:
, or fp32:
prefixes currently are not available.Download From Textfile
..txt
file instead of using the URL field. Edit the file: /content/download_list.txt
.#model
, #vae
, #embedding
, #lora
, #hypernetwork
, #extensions
, #upscaler
. Aliases are not currently supported..txt
file into custom_download_list_url
. This works for pastebin
.Example:
#model
url1
url2
#lora
url1 | filename1
#embedding
fuse:path
Launch
--opt-sdp-mem-attention
option for accelerator
.Token Merging Ratio
or ToME SD
and Negative Guidance Scale
to quicksettingsRefactored Download Generated Images
and other Extras
cells by wrapping code inside functions.
Bugfixes:
dpmpp_2m_v2_patch
, now it's working properly.Custom Download Corner
latest_gradio
option to force update gradio
to 3.31
sd-civitai-browser
extension back, but this time using SignalFlagZ/sd-civitai-browser version.stable-diffusion-webui-latent-two-shot
extension with ashen-sensored's fork.ngrok
> gradio
> cloudflared
> remotemoe
> localhostrun
> googleusercontent
. The ranking is based on the following reasons:
stable-diffusion-webui-composable-lora
not being installed in repo_type
values: ["AUTOMATIC1111", "AUTOMATIC1111-dev"]
.commit_hash
to empty and use latest commit because the bugs already fixed.repo_type
values: ["AUTOMATIC1111", "AUTOMATIC1111-dev", "Anapnoe"]
.control_v11f1e_sd15_tile_fp16.safetensors
.ram_alloc_patch
, also known as the Camenduru Patch, to decrease RAM usage.colab_optimizations
, also known as TheLastBen Patch, to load the model in VRAM and fix the gradio queue problem.use_presets
option to turn on or off the default prompt.Arguments
category options.gradio_auth
.Anapnoe-webui
: ["minimal", "minimal-orange"]
.Anapnoe-webui
.quicksettings
problem after the master repo was migrated from strings to a list. #27 #29.Anapnoe-webui
. Extra networks are not displaying Models, Embeddings, LoRA, etc., even if they exist in the respective folder. Temporary fixed by reset commit hash to f2b9c2c. Track discussion hereAUTOMATIC1111's stable-diffusion-webui
has been removed because Google Colab has prohibited the usage of any string named stable-diffusion-webui
due to its massive usage of webui.Anapnoe UI
has been set as default forcibly, also added warning messages.experimental
section has been added to install the Anapnoe UI
integrated with gradio 3.23.0
.sd-webui-tunnels
forked by camenduru
has been removed since the new ToS of Colab prohibits SSH shell or any similar tools.Now, there are two versions of the notebook available:
Cagliostro Colab UI: A compact and lightweight version that removes AUTOMATIC1111's stable-diffusion-webui
.
Cagliostro Colab UI Pro: It has all the features of the Cagliostro Colab UI update in 19/04. However, since I do not have a Colab Pro subscription, I am unlikely to maintain it.
git_pull
to update_webui
output_drive_folder
to customize gdrive outputs folder nameclean_install
optionload_v2_in_vram
and merge_in_vram
to colab_optimization
and set to False
stable_diffusion_v_1_5
and replicant_v1
from available modelscustom_upscaler_url
backcldm_config.yaml
for every ControlNet model (refer to link)custom_control_url
from Custom Download Corner
cellilluminati_diffusion_v1_1
from Available SDv2.x Model
list as the model has become exclusive to a certain image generation websiteRemoved medvram
option from the Arguments
list.
What's new?
to GitHub repositorycheatsheet
in every header and subheader based on Cagliostro Colab UI User Manual explanationuse_anapnoe_ui
set to True
, skip updating stable-diffusion-webui-images-browser
when update_extensions
set to True
os.environ
changes
sd21_control_model
to sd21_control_v10_sd21_model
wd15_control_model
to wd15_control_v10_sd21_model
Custom Download Corner
works.
custom_upscaler_url
, custom_control_url
, and custom_components_url
Feature | Description | How to Use | Example |
---|---|---|---|
Multiple Downloads | Download multiple files at once. | Fill in the URL fields with the links to the files you want to download. Separate multiple URLs with a comma. | url1, url2, url3 |
Auto-prune | Prune models after downloading | Add fp16: or fp32: before URLs. |
fp16:url1 |
Copy from Google Drive | Copy models from Google Drive and load them in the session. | Make sure you have already mounted Google Drive. Type the path to your model/lora/embedding from Google Drive. | /content/drive/MyDrive/path/to/folder |
Fusing Folder | Fuse models/embeddings/LoRA folder to /content/fused/{category} . |
Make sure you have already mounted Google Drive. Add fuse: before the path to the folder. |
fuse:/path/to/gdrive/folder |
Auto-extract | Extract files after downloading. | Add links/to/file ending with .zip or .tar.lz4 . Extract files to specified destination directory. |
https//link.com/to/file |
Install Extensions | Install extensions for Stable Diffusion Web UI. | Add the link to the GitHub repository to custom_extension_url . |
https://github.com/user/repo |
boolean
instead. The username is set to cagliostro
, and the password is a randomly generated 6-character combination of ASCII letters and numbers.Added an option to enable --opt-sdp-attention
instead of xformers
to accelerate PyTorch 2.0.
0.0.18
git checkout
for extension using Gradio 3.23
or aboveupdate_extensions
at the moment to prevent code conflict because of different gradio versionuse_anapnoe_ui
set to Trueuse_anapnoe_ui
logic by downloading and unpacking separate repo instead of git remote origin set-url
and git reset --hard
955df7751eef11bb7697e2d77f6b8a6226b21e13
config.json
and ui-config.json
auto_model
and auto_vae
logic, change config.json
instead of using --vae_path
and --ckpt
xformers
to 0.0.16
triton
to 2.0.0
lora_dir
and additional_networks_extra_lora_path
path to os.path.join(repo_dir, "models/Lora")
lora_dir
path to os.path.join(repo_dir, "models/ControlNet")
802fb8a16ba4bdbfba0dca55f9cdb265f4bd86f2
3b47b000199ea8baf724080936ef985f53b3d081
when use_anapnoe_ui
is enabledmount_drive
functionChillout-Mix
to Chillout-Mix-Ni
Illuminati V1.1
download link from CivitAI to Huggingfacepre_download_annotator
backsd21_control_model
wd15_control_model
--multiple
as default alternative tunnels, please don't use Gradio URL at the momentngrok
> cloudflared
> remotemoe
> localhostrun
> googleusercontent
> gradio
pre_download_annotator
PastelMix
from available models because the model license sold to fantasy.aiRefSlave-V2
from available models because the author removed his model from huggingface and civitaixFormers 0.0.17.dev466
Python 3.9.16
batchlinks-webui
and sd-webui-llul
hitokomoru_v1_5
.illuminati_diffusion_v1_1
. Required embeddings coming soon.ref_slave_v2
and set it to defaultgit reset
to move the head to 3cd625854f9dc71235a432703ba82abfc5d1a3fc
when try_new_ui_ux
set to True, as it's a stable commit history for now.t2iadapter_sketch-fp16.safetensors
to t2iadapter model list.Replicant V1.0
as default model.[Experimental]
multi-controlnet
by including a slider in certain cells (default value: 2
).tqdm
to track installation, unpacking, and download progress since original logs are disabled.4x-Animesharp
, 4x-UltraSharp
, Lollypop
, and others.sd-filer
serves the same purpose. You can download models, lora, and embeddings from the web UI.