soiz1 commited on
Commit
afe8092
·
verified ·
1 Parent(s): 8481fb3

Upload comfyui_colab_with_manager.ipynb

Browse files
Files changed (1) hide show
  1. comfyui_colab_with_manager.ipynb +1133 -0
comfyui_colab_with_manager.ipynb ADDED
@@ -0,0 +1,1133 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "markdown",
5
+ "metadata": {
6
+ "id": "aaaaaaaaaa"
7
+ },
8
+ "source": [
9
+ "Git clone the repo and install the requirements. (ignore the pip errors about protobuf)"
10
+ ]
11
+ },
12
+ {
13
+ "cell_type": "code",
14
+ "execution_count": 1,
15
+ "metadata": {
16
+ "id": "bbbbbbbbbb",
17
+ "outputId": "915edb20-60f8-4c9f-c5ab-72a564602360",
18
+ "colab": {
19
+ "base_uri": "https://localhost:8080/"
20
+ }
21
+ },
22
+ "outputs": [
23
+ {
24
+ "output_type": "stream",
25
+ "name": "stdout",
26
+ "text": [
27
+ "-= Initial setup ComfyUI =-\n",
28
+ "Cloning into 'ComfyUI'...\n",
29
+ "remote: Enumerating objects: 23961, done.\u001b[K\n",
30
+ "remote: Counting objects: 100% (24/24), done.\u001b[K\n",
31
+ "remote: Compressing objects: 100% (18/18), done.\u001b[K\n",
32
+ "remote: Total 23961 (delta 9), reused 6 (delta 6), pack-reused 23937 (from 2)\u001b[K\n",
33
+ "Receiving objects: 100% (23961/23961), 72.62 MiB | 14.82 MiB/s, done.\n",
34
+ "Resolving deltas: 100% (16113/16113), done.\n",
35
+ "/content/ComfyUI\n",
36
+ "-= Updating ComfyUI =-\n",
37
+ "Already up to date.\n",
38
+ "-= Install dependencies =-\n",
39
+ "Requirement already satisfied: accelerate in /usr/local/lib/python3.12/dist-packages (1.10.1)\n",
40
+ "Requirement already satisfied: numpy<3.0.0,>=1.17 in /usr/local/lib/python3.12/dist-packages (from accelerate) (2.0.2)\n",
41
+ "Requirement already satisfied: packaging>=20.0 in /usr/local/lib/python3.12/dist-packages (from accelerate) (25.0)\n",
42
+ "Requirement already satisfied: psutil in /usr/local/lib/python3.12/dist-packages (from accelerate) (5.9.5)\n",
43
+ "Requirement already satisfied: pyyaml in /usr/local/lib/python3.12/dist-packages (from accelerate) (6.0.2)\n",
44
+ "Requirement already satisfied: torch>=2.0.0 in /usr/local/lib/python3.12/dist-packages (from accelerate) (2.8.0+cu126)\n",
45
+ "Requirement already satisfied: huggingface_hub>=0.21.0 in /usr/local/lib/python3.12/dist-packages (from accelerate) (0.34.4)\n",
46
+ "Requirement already satisfied: safetensors>=0.4.3 in /usr/local/lib/python3.12/dist-packages (from accelerate) (0.6.2)\n",
47
+ "Requirement already satisfied: filelock in /usr/local/lib/python3.12/dist-packages (from huggingface_hub>=0.21.0->accelerate) (3.19.1)\n",
48
+ "Requirement already satisfied: fsspec>=2023.5.0 in /usr/local/lib/python3.12/dist-packages (from huggingface_hub>=0.21.0->accelerate) (2025.3.0)\n",
49
+ "Requirement already satisfied: requests in /usr/local/lib/python3.12/dist-packages (from huggingface_hub>=0.21.0->accelerate) (2.32.4)\n",
50
+ "Requirement already satisfied: tqdm>=4.42.1 in /usr/local/lib/python3.12/dist-packages (from huggingface_hub>=0.21.0->accelerate) (4.67.1)\n",
51
+ "Requirement already satisfied: typing-extensions>=3.7.4.3 in /usr/local/lib/python3.12/dist-packages (from huggingface_hub>=0.21.0->accelerate) (4.15.0)\n",
52
+ "Requirement already satisfied: hf-xet<2.0.0,>=1.1.3 in /usr/local/lib/python3.12/dist-packages (from huggingface_hub>=0.21.0->accelerate) (1.1.9)\n",
53
+ "Requirement already satisfied: setuptools in /usr/local/lib/python3.12/dist-packages (from torch>=2.0.0->accelerate) (75.2.0)\n",
54
+ "Requirement already satisfied: sympy>=1.13.3 in /usr/local/lib/python3.12/dist-packages (from torch>=2.0.0->accelerate) (1.13.3)\n",
55
+ "Requirement already satisfied: networkx in /usr/local/lib/python3.12/dist-packages (from torch>=2.0.0->accelerate) (3.5)\n",
56
+ "Requirement already satisfied: jinja2 in /usr/local/lib/python3.12/dist-packages (from torch>=2.0.0->accelerate) (3.1.6)\n",
57
+ "Requirement already satisfied: nvidia-cuda-nvrtc-cu12==12.6.77 in /usr/local/lib/python3.12/dist-packages (from torch>=2.0.0->accelerate) (12.6.77)\n",
58
+ "Requirement already satisfied: nvidia-cuda-runtime-cu12==12.6.77 in /usr/local/lib/python3.12/dist-packages (from torch>=2.0.0->accelerate) (12.6.77)\n",
59
+ "Requirement already satisfied: nvidia-cuda-cupti-cu12==12.6.80 in /usr/local/lib/python3.12/dist-packages (from torch>=2.0.0->accelerate) (12.6.80)\n",
60
+ "Requirement already satisfied: nvidia-cudnn-cu12==9.10.2.21 in /usr/local/lib/python3.12/dist-packages (from torch>=2.0.0->accelerate) (9.10.2.21)\n",
61
+ "Requirement already satisfied: nvidia-cublas-cu12==12.6.4.1 in /usr/local/lib/python3.12/dist-packages (from torch>=2.0.0->accelerate) (12.6.4.1)\n",
62
+ "Requirement already satisfied: nvidia-cufft-cu12==11.3.0.4 in /usr/local/lib/python3.12/dist-packages (from torch>=2.0.0->accelerate) (11.3.0.4)\n",
63
+ "Requirement already satisfied: nvidia-curand-cu12==10.3.7.77 in /usr/local/lib/python3.12/dist-packages (from torch>=2.0.0->accelerate) (10.3.7.77)\n",
64
+ "Requirement already satisfied: nvidia-cusolver-cu12==11.7.1.2 in /usr/local/lib/python3.12/dist-packages (from torch>=2.0.0->accelerate) (11.7.1.2)\n",
65
+ "Requirement already satisfied: nvidia-cusparse-cu12==12.5.4.2 in /usr/local/lib/python3.12/dist-packages (from torch>=2.0.0->accelerate) (12.5.4.2)\n",
66
+ "Requirement already satisfied: nvidia-cusparselt-cu12==0.7.1 in /usr/local/lib/python3.12/dist-packages (from torch>=2.0.0->accelerate) (0.7.1)\n",
67
+ "Requirement already satisfied: nvidia-nccl-cu12==2.27.3 in /usr/local/lib/python3.12/dist-packages (from torch>=2.0.0->accelerate) (2.27.3)\n",
68
+ "Requirement already satisfied: nvidia-nvtx-cu12==12.6.77 in /usr/local/lib/python3.12/dist-packages (from torch>=2.0.0->accelerate) (12.6.77)\n",
69
+ "Requirement already satisfied: nvidia-nvjitlink-cu12==12.6.85 in /usr/local/lib/python3.12/dist-packages (from torch>=2.0.0->accelerate) (12.6.85)\n",
70
+ "Requirement already satisfied: nvidia-cufile-cu12==1.11.1.6 in /usr/local/lib/python3.12/dist-packages (from torch>=2.0.0->accelerate) (1.11.1.6)\n",
71
+ "Requirement already satisfied: triton==3.4.0 in /usr/local/lib/python3.12/dist-packages (from torch>=2.0.0->accelerate) (3.4.0)\n",
72
+ "Requirement already satisfied: mpmath<1.4,>=1.1.0 in /usr/local/lib/python3.12/dist-packages (from sympy>=1.13.3->torch>=2.0.0->accelerate) (1.3.0)\n",
73
+ "Requirement already satisfied: MarkupSafe>=2.0 in /usr/local/lib/python3.12/dist-packages (from jinja2->torch>=2.0.0->accelerate) (3.0.2)\n",
74
+ "Requirement already satisfied: charset_normalizer<4,>=2 in /usr/local/lib/python3.12/dist-packages (from requests->huggingface_hub>=0.21.0->accelerate) (3.4.3)\n",
75
+ "Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.12/dist-packages (from requests->huggingface_hub>=0.21.0->accelerate) (3.10)\n",
76
+ "Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/local/lib/python3.12/dist-packages (from requests->huggingface_hub>=0.21.0->accelerate) (2.5.0)\n",
77
+ "Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.12/dist-packages (from requests->huggingface_hub>=0.21.0->accelerate) (2025.8.3)\n",
78
+ "Looking in indexes: https://download.pytorch.org/whl/cu121\n",
79
+ "Requirement already satisfied: torch in /usr/local/lib/python3.12/dist-packages (2.8.0+cu126)\n",
80
+ "Requirement already satisfied: torchvision in /usr/local/lib/python3.12/dist-packages (0.23.0+cu126)\n",
81
+ "Requirement already satisfied: torchaudio in /usr/local/lib/python3.12/dist-packages (2.8.0+cu126)\n",
82
+ "Requirement already satisfied: filelock in /usr/local/lib/python3.12/dist-packages (from torch) (3.19.1)\n",
83
+ "Requirement already satisfied: typing-extensions>=4.10.0 in /usr/local/lib/python3.12/dist-packages (from torch) (4.15.0)\n",
84
+ "Requirement already satisfied: setuptools in /usr/local/lib/python3.12/dist-packages (from torch) (75.2.0)\n",
85
+ "Requirement already satisfied: sympy>=1.13.3 in /usr/local/lib/python3.12/dist-packages (from torch) (1.13.3)\n",
86
+ "Requirement already satisfied: networkx in /usr/local/lib/python3.12/dist-packages (from torch) (3.5)\n",
87
+ "Requirement already satisfied: jinja2 in /usr/local/lib/python3.12/dist-packages (from torch) (3.1.6)\n",
88
+ "Requirement already satisfied: fsspec in /usr/local/lib/python3.12/dist-packages (from torch) (2025.3.0)\n",
89
+ "Requirement already satisfied: nvidia-cuda-nvrtc-cu12==12.6.77 in /usr/local/lib/python3.12/dist-packages (from torch) (12.6.77)\n",
90
+ "Requirement already satisfied: nvidia-cuda-runtime-cu12==12.6.77 in /usr/local/lib/python3.12/dist-packages (from torch) (12.6.77)\n",
91
+ "Requirement already satisfied: nvidia-cuda-cupti-cu12==12.6.80 in /usr/local/lib/python3.12/dist-packages (from torch) (12.6.80)\n",
92
+ "Requirement already satisfied: nvidia-cudnn-cu12==9.10.2.21 in /usr/local/lib/python3.12/dist-packages (from torch) (9.10.2.21)\n",
93
+ "Requirement already satisfied: nvidia-cublas-cu12==12.6.4.1 in /usr/local/lib/python3.12/dist-packages (from torch) (12.6.4.1)\n",
94
+ "Requirement already satisfied: nvidia-cufft-cu12==11.3.0.4 in /usr/local/lib/python3.12/dist-packages (from torch) (11.3.0.4)\n",
95
+ "Requirement already satisfied: nvidia-curand-cu12==10.3.7.77 in /usr/local/lib/python3.12/dist-packages (from torch) (10.3.7.77)\n",
96
+ "Requirement already satisfied: nvidia-cusolver-cu12==11.7.1.2 in /usr/local/lib/python3.12/dist-packages (from torch) (11.7.1.2)\n",
97
+ "Requirement already satisfied: nvidia-cusparse-cu12==12.5.4.2 in /usr/local/lib/python3.12/dist-packages (from torch) (12.5.4.2)\n",
98
+ "Requirement already satisfied: nvidia-cusparselt-cu12==0.7.1 in /usr/local/lib/python3.12/dist-packages (from torch) (0.7.1)\n",
99
+ "Requirement already satisfied: nvidia-nccl-cu12==2.27.3 in /usr/local/lib/python3.12/dist-packages (from torch) (2.27.3)\n",
100
+ "Requirement already satisfied: nvidia-nvtx-cu12==12.6.77 in /usr/local/lib/python3.12/dist-packages (from torch) (12.6.77)\n",
101
+ "Requirement already satisfied: nvidia-nvjitlink-cu12==12.6.85 in /usr/local/lib/python3.12/dist-packages (from torch) (12.6.85)\n",
102
+ "Requirement already satisfied: nvidia-cufile-cu12==1.11.1.6 in /usr/local/lib/python3.12/dist-packages (from torch) (1.11.1.6)\n",
103
+ "Requirement already satisfied: triton==3.4.0 in /usr/local/lib/python3.12/dist-packages (from torch) (3.4.0)\n",
104
+ "Requirement already satisfied: numpy in /usr/local/lib/python3.12/dist-packages (from torchvision) (2.0.2)\n",
105
+ "Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in /usr/local/lib/python3.12/dist-packages (from torchvision) (11.3.0)\n",
106
+ "Requirement already satisfied: mpmath<1.4,>=1.1.0 in /usr/local/lib/python3.12/dist-packages (from sympy>=1.13.3->torch) (1.3.0)\n",
107
+ "Requirement already satisfied: MarkupSafe>=2.0 in /usr/local/lib/python3.12/dist-packages (from jinja2->torch) (3.0.2)\n",
108
+ "Collecting torchsde\n",
109
+ " Downloading torchsde-0.2.6-py3-none-any.whl.metadata (5.3 kB)\n",
110
+ "Requirement already satisfied: numpy>=1.19 in /usr/local/lib/python3.12/dist-packages (from torchsde) (2.0.2)\n",
111
+ "Requirement already satisfied: scipy>=1.5 in /usr/local/lib/python3.12/dist-packages (from torchsde) (1.16.1)\n",
112
+ "Requirement already satisfied: torch>=1.6.0 in /usr/local/lib/python3.12/dist-packages (from torchsde) (2.8.0+cu126)\n",
113
+ "Collecting trampoline>=0.1.2 (from torchsde)\n",
114
+ " Downloading trampoline-0.1.2-py3-none-any.whl.metadata (10 kB)\n",
115
+ "Requirement already satisfied: filelock in /usr/local/lib/python3.12/dist-packages (from torch>=1.6.0->torchsde) (3.19.1)\n",
116
+ "Requirement already satisfied: typing-extensions>=4.10.0 in /usr/local/lib/python3.12/dist-packages (from torch>=1.6.0->torchsde) (4.15.0)\n",
117
+ "Requirement already satisfied: setuptools in /usr/local/lib/python3.12/dist-packages (from torch>=1.6.0->torchsde) (75.2.0)\n",
118
+ "Requirement already satisfied: sympy>=1.13.3 in /usr/local/lib/python3.12/dist-packages (from torch>=1.6.0->torchsde) (1.13.3)\n",
119
+ "Requirement already satisfied: networkx in /usr/local/lib/python3.12/dist-packages (from torch>=1.6.0->torchsde) (3.5)\n",
120
+ "Requirement already satisfied: jinja2 in /usr/local/lib/python3.12/dist-packages (from torch>=1.6.0->torchsde) (3.1.6)\n",
121
+ "Requirement already satisfied: fsspec in /usr/local/lib/python3.12/dist-packages (from torch>=1.6.0->torchsde) (2025.3.0)\n",
122
+ "Requirement already satisfied: nvidia-cuda-nvrtc-cu12==12.6.77 in /usr/local/lib/python3.12/dist-packages (from torch>=1.6.0->torchsde) (12.6.77)\n",
123
+ "Requirement already satisfied: nvidia-cuda-runtime-cu12==12.6.77 in /usr/local/lib/python3.12/dist-packages (from torch>=1.6.0->torchsde) (12.6.77)\n",
124
+ "Requirement already satisfied: nvidia-cuda-cupti-cu12==12.6.80 in /usr/local/lib/python3.12/dist-packages (from torch>=1.6.0->torchsde) (12.6.80)\n",
125
+ "Requirement already satisfied: nvidia-cudnn-cu12==9.10.2.21 in /usr/local/lib/python3.12/dist-packages (from torch>=1.6.0->torchsde) (9.10.2.21)\n",
126
+ "Requirement already satisfied: nvidia-cublas-cu12==12.6.4.1 in /usr/local/lib/python3.12/dist-packages (from torch>=1.6.0->torchsde) (12.6.4.1)\n",
127
+ "Requirement already satisfied: nvidia-cufft-cu12==11.3.0.4 in /usr/local/lib/python3.12/dist-packages (from torch>=1.6.0->torchsde) (11.3.0.4)\n",
128
+ "Requirement already satisfied: nvidia-curand-cu12==10.3.7.77 in /usr/local/lib/python3.12/dist-packages (from torch>=1.6.0->torchsde) (10.3.7.77)\n",
129
+ "Requirement already satisfied: nvidia-cusolver-cu12==11.7.1.2 in /usr/local/lib/python3.12/dist-packages (from torch>=1.6.0->torchsde) (11.7.1.2)\n",
130
+ "Requirement already satisfied: nvidia-cusparse-cu12==12.5.4.2 in /usr/local/lib/python3.12/dist-packages (from torch>=1.6.0->torchsde) (12.5.4.2)\n",
131
+ "Requirement already satisfied: nvidia-cusparselt-cu12==0.7.1 in /usr/local/lib/python3.12/dist-packages (from torch>=1.6.0->torchsde) (0.7.1)\n",
132
+ "Requirement already satisfied: nvidia-nccl-cu12==2.27.3 in /usr/local/lib/python3.12/dist-packages (from torch>=1.6.0->torchsde) (2.27.3)\n",
133
+ "Requirement already satisfied: nvidia-nvtx-cu12==12.6.77 in /usr/local/lib/python3.12/dist-packages (from torch>=1.6.0->torchsde) (12.6.77)\n",
134
+ "Requirement already satisfied: nvidia-nvjitlink-cu12==12.6.85 in /usr/local/lib/python3.12/dist-packages (from torch>=1.6.0->torchsde) (12.6.85)\n",
135
+ "Requirement already satisfied: nvidia-cufile-cu12==1.11.1.6 in /usr/local/lib/python3.12/dist-packages (from torch>=1.6.0->torchsde) (1.11.1.6)\n",
136
+ "Requirement already satisfied: triton==3.4.0 in /usr/local/lib/python3.12/dist-packages (from torch>=1.6.0->torchsde) (3.4.0)\n",
137
+ "Requirement already satisfied: mpmath<1.4,>=1.1.0 in /usr/local/lib/python3.12/dist-packages (from sympy>=1.13.3->torch>=1.6.0->torchsde) (1.3.0)\n",
138
+ "Requirement already satisfied: MarkupSafe>=2.0 in /usr/local/lib/python3.12/dist-packages (from jinja2->torch>=1.6.0->torchsde) (3.0.2)\n",
139
+ "Downloading torchsde-0.2.6-py3-none-any.whl (61 kB)\n",
140
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m61.2/61.2 kB\u001b[0m \u001b[31m3.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
141
+ "\u001b[?25hDownloading trampoline-0.1.2-py3-none-any.whl (5.2 kB)\n",
142
+ "Installing collected packages: trampoline, torchsde\n",
143
+ "Successfully installed torchsde-0.2.6 trampoline-0.1.2\n",
144
+ "/content/ComfyUI/custom_nodes\n",
145
+ "-= Initial setup ComfyUI-Manager =-\n",
146
+ "Cloning into 'ComfyUI-Manager'...\n",
147
+ "remote: Enumerating objects: 24034, done.\u001b[K\n",
148
+ "remote: Counting objects: 100% (624/624), done.\u001b[K\n",
149
+ "remote: Compressing objects: 100% (320/320), done.\u001b[K\n",
150
+ "remote: Total 24034 (delta 477), reused 322 (delta 304), pack-reused 23410 (from 3)\u001b[K\n",
151
+ "Receiving objects: 100% (24034/24034), 69.49 MiB | 28.69 MiB/s, done.\n",
152
+ "Resolving deltas: 100% (17773/17773), done.\n",
153
+ "/content/ComfyUI/custom_nodes/ComfyUI-Manager\n",
154
+ "Already up to date.\n",
155
+ "/content/ComfyUI\n",
156
+ "-= Install custom nodes dependencies =-\n",
157
+ "Requirement already satisfied: GitPython in /usr/local/lib/python3.12/dist-packages (3.1.45)\n",
158
+ "Requirement already satisfied: gitdb<5,>=4.0.1 in /usr/local/lib/python3.12/dist-packages (from GitPython) (4.0.12)\n",
159
+ "Requirement already satisfied: smmap<6,>=3.0.1 in /usr/local/lib/python3.12/dist-packages (from gitdb<5,>=4.0.1->GitPython) (5.0.2)\n",
160
+ "\n",
161
+ "\u001b[1;33mWARN: The `COMFYUI_PATH` environment variable is not set. Assuming \u001b[0m\n",
162
+ "\u001b[1;33m`custom_nodes/ComfyUI-Manager/..\u001b[0m\u001b[1;33m/../\u001b[0m\u001b[1;33m` as the ComfyUI path.\u001b[0m\n",
163
+ "--------------------------------------------------------------------------------\n",
164
+ "--------------------\n",
165
+ "Restoring \u001b[1m[\u001b[0m\u001b[1;36m1\u001b[0m/\u001b[1;36m1\u001b[0m\u001b[1m]\u001b[0m: \u001b[35m/content/ComfyUI/custom_nodes/\u001b[0m\u001b[95mComfyUI-Manager\u001b[0m\n",
166
+ "Install: pip packages\n",
167
+ "\n",
168
+ "## ComfyUI-Manager: EXECUTE => \u001b[1m[\u001b[0m\u001b[32m'/usr/bin/python3'\u001b[0m, \u001b[32m'-m'\u001b[0m, \u001b[32m'pip'\u001b[0m, \u001b[32m'install'\u001b[0m, \n",
169
+ "\u001b[32m'GitPython'\u001b[0m\u001b[1m]\u001b[0m\n",
170
+ "Requirement already satisfied: GitPython in /usr/local/lib/python3.12/dist-packages (3.1.45)\n",
171
+ "Requirement already satisfied: gitdb<5,>=4.0.1 in /usr/local/lib/python3.12/dist-packages (from GitPython) (4.0.12)\n",
172
+ "Requirement already satisfied: smmap<6,>=3.0.1 in /usr/local/lib/python3.12/dist-packages (from gitdb<5,>=4.0.1->GitPython) (5.0.2)\n",
173
+ "\n",
174
+ "## ComfyUI-Manager: EXECUTE => \u001b[1m[\u001b[0m\u001b[32m'/usr/bin/python3'\u001b[0m, \u001b[32m'-m'\u001b[0m, \u001b[32m'pip'\u001b[0m, \u001b[32m'install'\u001b[0m, \n",
175
+ "\u001b[32m'PyGithub'\u001b[0m\u001b[1m]\u001b[0m\n",
176
+ "Collecting PyGithub\n",
177
+ " Downloading pygithub-2.8.1-py3-none-any.whl.metadata (3.9 kB)\n",
178
+ "Collecting pynacl>=1.4.0 (from PyGithub)\n",
179
+ " Downloading PyNaCl-1.5.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl.metadata (8.6 kB)\n",
180
+ "Requirement already satisfied: requests>=2.14.0 in /usr/local/lib/python3.12/dist-packages (from PyGithub) (2.32.4)\n",
181
+ "Requirement already satisfied: pyjwt>=2.4.0 in /usr/local/lib/python3.12/dist-packages (from pyjwt[crypto]>=2.4.0->PyGithub) (2.10.1)\n",
182
+ "Requirement already satisfied: typing-extensions>=4.5.0 in /usr/local/lib/python3.12/dist-packages (from PyGithub) (4.15.0)\n",
183
+ "Requirement already satisfied: urllib3>=1.26.0 in /usr/local/lib/python3.12/dist-packages (from PyGithub) (2.5.0)\n",
184
+ "Requirement already satisfied: cryptography>=3.4.0 in /usr/local/lib/python3.12/dist-packages (from pyjwt[crypto]>=2.4.0->PyGithub) (43.0.3)\n",
185
+ "Requirement already satisfied: cffi>=1.4.1 in /usr/local/lib/python3.12/dist-packages (from pynacl>=1.4.0->PyGithub) (1.17.1)\n",
186
+ "Requirement already satisfied: charset_normalizer<4,>=2 in /usr/local/lib/python3.12/dist-packages (from requests>=2.14.0->PyGithub) (3.4.3)\n",
187
+ "Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.12/dist-packages (from requests>=2.14.0->PyGithub) (3.10)\n",
188
+ "Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.12/dist-packages (from requests>=2.14.0->PyGithub) (2025.8.3)\n",
189
+ "Requirement already satisfied: pycparser in /usr/local/lib/python3.12/dist-packages (from cffi>=1.4.1->pynacl>=1.4.0->PyGithub) (2.22)\n",
190
+ "Downloading pygithub-2.8.1-py3-none-any.whl (432 kB)\n",
191
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m432.7/432.7 kB\u001b[0m \u001b[31m11.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
192
+ "\u001b[?25hDownloading PyNaCl-1.5.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (856 kB)\n",
193
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m856.7/856.7 kB\u001b[0m \u001b[31m42.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
194
+ "\u001b[?25hInstalling collected packages: pynacl, PyGithub\n",
195
+ "Successfully installed PyGithub-2.8.1 pynacl-1.5.0\n",
196
+ "\n",
197
+ "## ComfyUI-Manager: EXECUTE => \u001b[1m[\u001b[0m\u001b[32m'/usr/bin/python3'\u001b[0m, \u001b[32m'-m'\u001b[0m, \u001b[32m'pip'\u001b[0m, \u001b[32m'install'\u001b[0m, \n",
198
+ "\u001b[32m'matrix-nio'\u001b[0m\u001b[1m]\u001b[0m\n",
199
+ "Collecting matrix-nio\n",
200
+ " Downloading matrix_nio-0.25.2-py3-none-any.whl.metadata (6.3 kB)\n",
201
+ "Requirement already satisfied: aiohttp~=3.10 in /usr/local/lib/python3.12/dist-packages (from matrix-nio) (3.12.15)\n",
202
+ "Requirement already satisfied: aiofiles~=24.1 in /usr/local/lib/python3.12/dist-packages (from matrix-nio) (24.1.0)\n",
203
+ "Requirement already satisfied: h11~=0.14 in /usr/local/lib/python3.12/dist-packages (from matrix-nio) (0.16.0)\n",
204
+ "Requirement already satisfied: h2~=4.0 in /usr/local/lib/python3.12/dist-packages (from matrix-nio) (4.3.0)\n",
205
+ "Requirement already satisfied: jsonschema~=4.14 in /usr/local/lib/python3.12/dist-packages (from matrix-nio) (4.25.1)\n",
206
+ "Collecting unpaddedbase64~=2.1 (from matrix-nio)\n",
207
+ " Downloading unpaddedbase64-2.1.0-py3-none-any.whl.metadata (1.3 kB)\n",
208
+ "Collecting pycryptodome~=3.10 (from matrix-nio)\n",
209
+ " Downloading pycryptodome-3.23.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.4 kB)\n",
210
+ "Collecting aiohttp-socks~=0.8 (from matrix-nio)\n",
211
+ " Downloading aiohttp_socks-0.10.1-py3-none-any.whl.metadata (3.5 kB)\n",
212
+ "Requirement already satisfied: aiohappyeyeballs>=2.5.0 in /usr/local/lib/python3.12/dist-packages (from aiohttp~=3.10->matrix-nio) (2.6.1)\n",
213
+ "Requirement already satisfied: aiosignal>=1.4.0 in /usr/local/lib/python3.12/dist-packages (from aiohttp~=3.10->matrix-nio) (1.4.0)\n",
214
+ "Requirement already satisfied: attrs>=17.3.0 in /usr/local/lib/python3.12/dist-packages (from aiohttp~=3.10->matrix-nio) (25.3.0)\n",
215
+ "Requirement already satisfied: frozenlist>=1.1.1 in /usr/local/lib/python3.12/dist-packages (from aiohttp~=3.10->matrix-nio) (1.7.0)\n",
216
+ "Requirement already satisfied: multidict<7.0,>=4.5 in /usr/local/lib/python3.12/dist-packages (from aiohttp~=3.10->matrix-nio) (6.6.4)\n",
217
+ "Requirement already satisfied: propcache>=0.2.0 in /usr/local/lib/python3.12/dist-packages (from aiohttp~=3.10->matrix-nio) (0.3.2)\n",
218
+ "Requirement already satisfied: yarl<2.0,>=1.17.0 in /usr/local/lib/python3.12/dist-packages (from aiohttp~=3.10->matrix-nio) (1.20.1)\n",
219
+ "Collecting python-socks<3.0.0,>=2.4.3 (from python-socks[asyncio]<3.0.0,>=2.4.3->aiohttp-socks~=0.8->matrix-nio)\n",
220
+ " Downloading python_socks-2.7.2-py3-none-any.whl.metadata (8.0 kB)\n",
221
+ "Requirement already satisfied: hyperframe<7,>=6.1 in /usr/local/lib/python3.12/dist-packages (from h2~=4.0->matrix-nio) (6.1.0)\n",
222
+ "Requirement already satisfied: hpack<5,>=4.1 in /usr/local/lib/python3.12/dist-packages (from h2~=4.0->matrix-nio) (4.1.0)\n",
223
+ "Requirement already satisfied: jsonschema-specifications>=2023.03.6 in /usr/local/lib/python3.12/dist-packages (from jsonschema~=4.14->matrix-nio) (2025.4.1)\n",
224
+ "Requirement already satisfied: referencing>=0.28.4 in /usr/local/lib/python3.12/dist-packages (from jsonschema~=4.14->matrix-nio) (0.36.2)\n",
225
+ "Requirement already satisfied: rpds-py>=0.7.1 in /usr/local/lib/python3.12/dist-packages (from jsonschema~=4.14->matrix-nio) (0.27.1)\n",
226
+ "Requirement already satisfied: typing-extensions>=4.2 in /usr/local/lib/python3.12/dist-packages (from aiosignal>=1.4.0->aiohttp~=3.10->matrix-nio) (4.15.0)\n",
227
+ "Requirement already satisfied: idna>=2.0 in /usr/local/lib/python3.12/dist-packages (from yarl<2.0,>=1.17.0->aiohttp~=3.10->matrix-nio) (3.10)\n",
228
+ "Downloading matrix_nio-0.25.2-py3-none-any.whl (181 kB)\n",
229
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m182.0/182.0 kB\u001b[0m \u001b[31m5.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
230
+ "\u001b[?25hDownloading aiohttp_socks-0.10.1-py3-none-any.whl (10 kB)\n",
231
+ "Downloading pycryptodome-3.23.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.3 MB)\n",
232
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m2.3/2.3 MB\u001b[0m \u001b[31m54.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
233
+ "\u001b[?25hDownloading unpaddedbase64-2.1.0-py3-none-any.whl (6.1 kB)\n",
234
+ "Downloading python_socks-2.7.2-py3-none-any.whl (55 kB)\n",
235
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m55.0/55.0 kB\u001b[0m \u001b[31m5.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
236
+ "\u001b[?25hInstalling collected packages: unpaddedbase64, python-socks, pycryptodome, aiohttp-socks, matrix-nio\n",
237
+ "Successfully installed aiohttp-socks-0.10.1 matrix-nio-0.25.2 pycryptodome-3.23.0 python-socks-2.7.2 unpaddedbase64-2.1.0\n",
238
+ "\u001b[1m[\u001b[0mComfyUI-Manager\u001b[1m]\u001b[0m skip black listed pip installation: \u001b[32m'transformers'\u001b[0m\n",
239
+ "\n",
240
+ "## ComfyUI-Manager: EXECUTE => \u001b[1m[\u001b[0m\u001b[32m'/usr/bin/python3'\u001b[0m, \u001b[32m'-m'\u001b[0m, \u001b[32m'pip'\u001b[0m, \u001b[32m'install'\u001b[0m, \n",
241
+ "\u001b[32m'huggingface-hub>0.20'\u001b[0m\u001b[1m]\u001b[0m\n",
242
+ "Requirement already satisfied: huggingface-hub>0.20 in /usr/local/lib/python3.12/dist-packages (0.34.4)\n",
243
+ "Requirement already satisfied: filelock in /usr/local/lib/python3.12/dist-packages (from huggingface-hub>0.20) (3.19.1)\n",
244
+ "Requirement already satisfied: fsspec>=2023.5.0 in /usr/local/lib/python3.12/dist-packages (from huggingface-hub>0.20) (2025.3.0)\n",
245
+ "Requirement already satisfied: packaging>=20.9 in /usr/local/lib/python3.12/dist-packages (from huggingface-hub>0.20) (25.0)\n",
246
+ "Requirement already satisfied: pyyaml>=5.1 in /usr/local/lib/python3.12/dist-packages (from huggingface-hub>0.20) (6.0.2)\n",
247
+ "Requirement already satisfied: requests in /usr/local/lib/python3.12/dist-packages (from huggingface-hub>0.20) (2.32.4)\n",
248
+ "Requirement already satisfied: tqdm>=4.42.1 in /usr/local/lib/python3.12/dist-packages (from huggingface-hub>0.20) (4.67.1)\n",
249
+ "Requirement already satisfied: typing-extensions>=3.7.4.3 in /usr/local/lib/python3.12/dist-packages (from huggingface-hub>0.20) (4.15.0)\n",
250
+ "Requirement already satisfied: hf-xet<2.0.0,>=1.1.3 in /usr/local/lib/python3.12/dist-packages (from huggingface-hub>0.20) (1.1.9)\n",
251
+ "Requirement already satisfied: charset_normalizer<4,>=2 in /usr/local/lib/python3.12/dist-packages (from requests->huggingface-hub>0.20) (3.4.3)\n",
252
+ "Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.12/dist-packages (from requests->huggingface-hub>0.20) (3.10)\n",
253
+ "Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/local/lib/python3.12/dist-packages (from requests->huggingface-hub>0.20) (2.5.0)\n",
254
+ "Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.12/dist-packages (from requests->huggingface-hub>0.20) (2025.8.3)\n",
255
+ "\n",
256
+ "## ComfyUI-Manager: EXECUTE => \u001b[1m[\u001b[0m\u001b[32m'/usr/bin/python3'\u001b[0m, \u001b[32m'-m'\u001b[0m, \u001b[32m'pip'\u001b[0m, \u001b[32m'install'\u001b[0m, \n",
257
+ "\u001b[32m'typer'\u001b[0m\u001b[1m]\u001b[0m\n",
258
+ "Requirement already satisfied: typer in /usr/local/lib/python3.12/dist-packages (0.17.3)\n",
259
+ "Requirement already satisfied: click>=8.0.0 in /usr/local/lib/python3.12/dist-packages (from typer) (8.2.1)\n",
260
+ "Requirement already satisfied: typing-extensions>=3.7.4.3 in /usr/local/lib/python3.12/dist-packages (from typer) (4.15.0)\n",
261
+ "Requirement already satisfied: shellingham>=1.3.0 in /usr/local/lib/python3.12/dist-packages (from typer) (1.5.4)\n",
262
+ "Requirement already satisfied: rich>=10.11.0 in /usr/local/lib/python3.12/dist-packages (from typer) (13.9.4)\n",
263
+ "Requirement already satisfied: markdown-it-py>=2.2.0 in /usr/local/lib/python3.12/dist-packages (from rich>=10.11.0->typer) (4.0.0)\n",
264
+ "Requirement already satisfied: pygments<3.0.0,>=2.13.0 in /usr/local/lib/python3.12/dist-packages (from rich>=10.11.0->typer) (2.19.2)\n",
265
+ "Requirement already satisfied: mdurl~=0.1 in /usr/local/lib/python3.12/dist-packages (from markdown-it-py>=2.2.0->rich>=10.11.0->typer) (0.1.2)\n",
266
+ "\n",
267
+ "## ComfyUI-Manager: EXECUTE => \u001b[1m[\u001b[0m\u001b[32m'/usr/bin/python3'\u001b[0m, \u001b[32m'-m'\u001b[0m, \u001b[32m'pip'\u001b[0m, \u001b[32m'install'\u001b[0m, \n",
268
+ "\u001b[32m'rich'\u001b[0m\u001b[1m]\u001b[0m\n",
269
+ "Requirement already satisfied: rich in /usr/local/lib/python3.12/dist-packages (13.9.4)\n",
270
+ "Requirement already satisfied: markdown-it-py>=2.2.0 in /usr/local/lib/python3.12/dist-packages (from rich) (4.0.0)\n",
271
+ "Requirement already satisfied: pygments<3.0.0,>=2.13.0 in /usr/local/lib/python3.12/dist-packages (from rich) (2.19.2)\n",
272
+ "Requirement already satisfied: mdurl~=0.1 in /usr/local/lib/python3.12/dist-packages (from markdown-it-py>=2.2.0->rich) (0.1.2)\n",
273
+ "\n",
274
+ "## ComfyUI-Manager: EXECUTE => \u001b[1m[\u001b[0m\u001b[32m'/usr/bin/python3'\u001b[0m, \u001b[32m'-m'\u001b[0m, \u001b[32m'pip'\u001b[0m, \u001b[32m'install'\u001b[0m, \n",
275
+ "\u001b[32m'typing-extensions'\u001b[0m\u001b[1m]\u001b[0m\n",
276
+ "Requirement already satisfied: typing-extensions in /usr/local/lib/python3.12/dist-packages (4.15.0)\n",
277
+ "\n",
278
+ "## ComfyUI-Manager: EXECUTE => \u001b[1m[\u001b[0m\u001b[32m'/usr/bin/python3'\u001b[0m, \u001b[32m'-m'\u001b[0m, \u001b[32m'pip'\u001b[0m, \u001b[32m'install'\u001b[0m, \n",
279
+ "\u001b[32m'toml'\u001b[0m\u001b[1m]\u001b[0m\n",
280
+ "Requirement already satisfied: toml in /usr/local/lib/python3.12/dist-packages (0.10.2)\n",
281
+ "\n",
282
+ "## ComfyUI-Manager: EXECUTE => \u001b[1m[\u001b[0m\u001b[32m'/usr/bin/python3'\u001b[0m, \u001b[32m'-m'\u001b[0m, \u001b[32m'pip'\u001b[0m, \u001b[32m'install'\u001b[0m, \n",
283
+ "\u001b[32m'uv'\u001b[0m\u001b[1m]\u001b[0m\n",
284
+ "Collecting uv\n",
285
+ " Downloading uv-0.8.15-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (11 kB)\n",
286
+ "Downloading uv-0.8.15-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (21.0 MB)\n",
287
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m21.0/21.0 MB\u001b[0m \u001b[31m105.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
288
+ "\u001b[?25hInstalling collected packages: uv\n",
289
+ "Successfully installed uv-0.8.15\n",
290
+ "\n",
291
+ "## ComfyUI-Manager: EXECUTE => \u001b[1m[\u001b[0m\u001b[32m'/usr/bin/python3'\u001b[0m, \u001b[32m'-m'\u001b[0m, \u001b[32m'pip'\u001b[0m, \u001b[32m'install'\u001b[0m, \n",
292
+ "\u001b[32m'chardet'\u001b[0m\u001b[1m]\u001b[0m\n",
293
+ "Requirement already satisfied: chardet in /usr/local/lib/python3.12/dist-packages (5.2.0)\n"
294
+ ]
295
+ }
296
+ ],
297
+ "source": [
298
+ "# #@title Environment Setup\n",
299
+ "\n",
300
+ "from pathlib import Path\n",
301
+ "\n",
302
+ "OPTIONS = {}\n",
303
+ "\n",
304
+ "USE_GOOGLE_DRIVE = False #@param {type:\"boolean\"}\n",
305
+ "UPDATE_COMFY_UI = True #@param {type:\"boolean\"}\n",
306
+ "USE_COMFYUI_MANAGER = True #@param {type:\"boolean\"}\n",
307
+ "INSTALL_CUSTOM_NODES_DEPENDENCIES = True #@param {type:\"boolean\"}\n",
308
+ "OPTIONS['USE_GOOGLE_DRIVE'] = USE_GOOGLE_DRIVE\n",
309
+ "OPTIONS['UPDATE_COMFY_UI'] = UPDATE_COMFY_UI\n",
310
+ "OPTIONS['USE_COMFYUI_MANAGER'] = USE_COMFYUI_MANAGER\n",
311
+ "OPTIONS['INSTALL_CUSTOM_NODES_DEPENDENCIES'] = INSTALL_CUSTOM_NODES_DEPENDENCIES\n",
312
+ "\n",
313
+ "current_dir = !pwd\n",
314
+ "WORKSPACE = f\"{current_dir[0]}/ComfyUI\"\n",
315
+ "\n",
316
+ "if OPTIONS['USE_GOOGLE_DRIVE']:\n",
317
+ " !echo \"Mounting Google Drive...\"\n",
318
+ " %cd /\n",
319
+ "\n",
320
+ " from google.colab import drive\n",
321
+ " drive.mount('/content/drive')\n",
322
+ "\n",
323
+ " WORKSPACE = \"/content/drive/MyDrive/ComfyUI\"\n",
324
+ " %cd /content/drive/MyDrive\n",
325
+ "\n",
326
+ "![ ! -d $WORKSPACE ] && echo -= Initial setup ComfyUI =- && git clone https://github.com/comfyanonymous/ComfyUI\n",
327
+ "%cd $WORKSPACE\n",
328
+ "\n",
329
+ "if OPTIONS['UPDATE_COMFY_UI']:\n",
330
+ " !echo -= Updating ComfyUI =-\n",
331
+ "\n",
332
+ " # Correction of the issue of permissions being deleted on Google Drive.\n",
333
+ " ![ -f \".ci/nightly/update_windows/update_comfyui_and_python_dependencies.bat\" ] && chmod 755 .ci/nightly/update_windows/update_comfyui_and_python_dependencies.bat\n",
334
+ " ![ -f \".ci/nightly/windows_base_files/run_nvidia_gpu.bat\" ] && chmod 755 .ci/nightly/windows_base_files/run_nvidia_gpu.bat\n",
335
+ " ![ -f \".ci/update_windows/update_comfyui_and_python_dependencies.bat\" ] && chmod 755 .ci/update_windows/update_comfyui_and_python_dependencies.bat\n",
336
+ " ![ -f \".ci/update_windows_cu118/update_comfyui_and_python_dependencies.bat\" ] && chmod 755 .ci/update_windows_cu118/update_comfyui_and_python_dependencies.bat\n",
337
+ " ![ -f \".ci/update_windows/update.py\" ] && chmod 755 .ci/update_windows/update.py\n",
338
+ " ![ -f \".ci/update_windows/update_comfyui.bat\" ] && chmod 755 .ci/update_windows/update_comfyui.bat\n",
339
+ " ![ -f \".ci/update_windows/README_VERY_IMPORTANT.txt\" ] && chmod 755 .ci/update_windows/README_VERY_IMPORTANT.txt\n",
340
+ " ![ -f \".ci/update_windows/run_cpu.bat\" ] && chmod 755 .ci/update_windows/run_cpu.bat\n",
341
+ " ![ -f \".ci/update_windows/run_nvidia_gpu.bat\" ] && chmod 755 .ci/update_windows/run_nvidia_gpu.bat\n",
342
+ "\n",
343
+ " !git pull\n",
344
+ "\n",
345
+ "!echo -= Install dependencies =-\n",
346
+ "!pip3 install accelerate\n",
347
+ "!pip3 install einops transformers>=4.28.1 safetensors>=0.4.2 aiohttp pyyaml Pillow scipy tqdm psutil tokenizers>=0.13.3\n",
348
+ "!pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121\n",
349
+ "!pip3 install torchsde\n",
350
+ "!pip3 install kornia>=0.7.1 spandrel soundfile sentencepiece\n",
351
+ "\n",
352
+ "if OPTIONS['USE_COMFYUI_MANAGER']:\n",
353
+ " %cd custom_nodes\n",
354
+ "\n",
355
+ " # Correction of the issue of permissions being deleted on Google Drive.\n",
356
+ " ![ -f \"ComfyUI-Manager/check.sh\" ] && chmod 755 ComfyUI-Manager/check.sh\n",
357
+ " ![ -f \"ComfyUI-Manager/scan.sh\" ] && chmod 755 ComfyUI-Manager/scan.sh\n",
358
+ " ![ -f \"ComfyUI-Manager/node_db/dev/scan.sh\" ] && chmod 755 ComfyUI-Manager/node_db/dev/scan.sh\n",
359
+ " ![ -f \"ComfyUI-Manager/node_db/tutorial/scan.sh\" ] && chmod 755 ComfyUI-Manager/node_db/tutorial/scan.sh\n",
360
+ " ![ -f \"ComfyUI-Manager/scripts/install-comfyui-venv-linux.sh\" ] && chmod 755 ComfyUI-Manager/scripts/install-comfyui-venv-linux.sh\n",
361
+ " ![ -f \"ComfyUI-Manager/scripts/install-comfyui-venv-win.bat\" ] && chmod 755 ComfyUI-Manager/scripts/install-comfyui-venv-win.bat\n",
362
+ "\n",
363
+ " ![ ! -d ComfyUI-Manager ] && echo -= Initial setup ComfyUI-Manager =- && git clone https://github.com/ltdrdata/ComfyUI-Manager\n",
364
+ " %cd ComfyUI-Manager\n",
365
+ " !git pull\n",
366
+ "\n",
367
+ "%cd $WORKSPACE\n",
368
+ "\n",
369
+ "if OPTIONS['INSTALL_CUSTOM_NODES_DEPENDENCIES']:\n",
370
+ " !echo -= Install custom nodes dependencies =-\n",
371
+ " !pip install GitPython\n",
372
+ " !python custom_nodes/ComfyUI-Manager/cm-cli.py restore-dependencies\n"
373
+ ]
374
+ },
375
+ {
376
+ "cell_type": "markdown",
377
+ "metadata": {
378
+ "id": "cccccccccc"
379
+ },
380
+ "source": [
381
+ "Download some models/checkpoints/vae or custom comfyui nodes (uncomment the commands for the ones you want)"
382
+ ]
383
+ },
384
+ {
385
+ "cell_type": "code",
386
+ "execution_count": 2,
387
+ "metadata": {
388
+ "id": "dddddddddd",
389
+ "outputId": "5a793022-034e-40dc-d672-cf252f9ad18c",
390
+ "colab": {
391
+ "base_uri": "https://localhost:8080/"
392
+ }
393
+ },
394
+ "outputs": [
395
+ {
396
+ "output_type": "stream",
397
+ "name": "stdout",
398
+ "text": [
399
+ "/content/ComfyUI\n",
400
+ "--2025-09-07 00:18:37-- https://civitai.com/api/download/models/361041?type=Model&format=SafeTensor\n",
401
+ "Resolving civitai.com (civitai.com)... 104.20.38.219, 172.66.152.186, 2606:4700:10::6814:26db, ...\n",
402
+ "Connecting to civitai.com (civitai.com)|104.20.38.219|:443... connected.\n",
403
+ "HTTP request sent, awaiting response... 307 Temporary Redirect\n",
404
+ "Location: https://civitai-delivery-worker-prod.5ac0637cfd0766c97916cefa3764fbdf.r2.cloudflarestorage.com/model/3705750/midjourneyanime.c2RH.safetensors?X-Amz-Expires=86400&response-content-disposition=attachment%3B%20filename%3D%22midjourneyanime.safetensors%22&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=e01358d793ad6966166af8b3064953ad/20250907/us-east-1/s3/aws4_request&X-Amz-Date=20250907T001837Z&X-Amz-SignedHeaders=host&X-Amz-Signature=ce637d9215c0f1315b29dbbb5a307d0243421370fa390009d6fb382847d39e50 [following]\n",
405
+ "--2025-09-07 00:18:38-- https://civitai-delivery-worker-prod.5ac0637cfd0766c97916cefa3764fbdf.r2.cloudflarestorage.com/model/3705750/midjourneyanime.c2RH.safetensors?X-Amz-Expires=86400&response-content-disposition=attachment%3B%20filename%3D%22midjourneyanime.safetensors%22&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=e01358d793ad6966166af8b3064953ad/20250907/us-east-1/s3/aws4_request&X-Amz-Date=20250907T001837Z&X-Amz-SignedHeaders=host&X-Amz-Signature=ce637d9215c0f1315b29dbbb5a307d0243421370fa390009d6fb382847d39e50\n",
406
+ "Resolving civitai-delivery-worker-prod.5ac0637cfd0766c97916cefa3764fbdf.r2.cloudflarestorage.com (civitai-delivery-worker-prod.5ac0637cfd0766c97916cefa3764fbdf.r2.cloudflarestorage.com)... 162.159.141.50, 172.66.1.46, 2a06:98c1:58::12e, ...\n",
407
+ "Connecting to civitai-delivery-worker-prod.5ac0637cfd0766c97916cefa3764fbdf.r2.cloudflarestorage.com (civitai-delivery-worker-prod.5ac0637cfd0766c97916cefa3764fbdf.r2.cloudflarestorage.com)|162.159.141.50|:443... connected.\n",
408
+ "HTTP request sent, awaiting response... 200 OK\n",
409
+ "Length: 151115736 (144M)\n",
410
+ "Saving to: ‘./models/checkpoints/midjourneyanime.safetensors’\n",
411
+ "\n",
412
+ "./models/checkpoint 100%[===================>] 144.11M 41.2MB/s in 3.5s \n",
413
+ "\n",
414
+ "2025-09-07 00:18:41 (41.0 MB/s) - ‘./models/checkpoints/midjourneyanime.safetensors’ saved [151115736/151115736]\n",
415
+ "\n",
416
+ "--2025-09-07 00:18:41-- https://civitai.com/api/download/models/123021?type=Model&format=SafeTensor&size=full&fp=fp16\n",
417
+ "Resolving civitai.com (civitai.com)... 104.20.38.219, 172.66.152.186, 2606:4700:10::6814:26db, ...\n",
418
+ "Connecting to civitai.com (civitai.com)|104.20.38.219|:443... connected.\n",
419
+ "HTTP request sent, awaiting response... 307 Temporary Redirect\n",
420
+ "Location: https://civitai-delivery-worker-prod.5ac0637cfd0766c97916cefa3764fbdf.r2.cloudflarestorage.com/954677/model/animeanythingV10.Uh5P.safetensors?X-Amz-Expires=86400&response-content-disposition=attachment%3B%20filename%3D%22animeanything_v10.safetensors%22&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=e01358d793ad6966166af8b3064953ad/20250907/us-east-1/s3/aws4_request&X-Amz-Date=20250907T001847Z&X-Amz-SignedHeaders=host&X-Amz-Signature=ac6948b8dbf50b14268322b369d8fc282c3abfd7f02ee74f381751887eabc3e6 [following]\n",
421
+ "--2025-09-07 00:18:47-- https://civitai-delivery-worker-prod.5ac0637cfd0766c97916cefa3764fbdf.r2.cloudflarestorage.com/954677/model/animeanythingV10.Uh5P.safetensors?X-Amz-Expires=86400&response-content-disposition=attachment%3B%20filename%3D%22animeanything_v10.safetensors%22&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=e01358d793ad6966166af8b3064953ad/20250907/us-east-1/s3/aws4_request&X-Amz-Date=20250907T001847Z&X-Amz-SignedHeaders=host&X-Amz-Signature=ac6948b8dbf50b14268322b369d8fc282c3abfd7f02ee74f381751887eabc3e6\n",
422
+ "Resolving civitai-delivery-worker-prod.5ac0637cfd0766c97916cefa3764fbdf.r2.cloudflarestorage.com (civitai-delivery-worker-prod.5ac0637cfd0766c97916cefa3764fbdf.r2.cloudflarestorage.com)... 162.159.141.50, 172.66.1.46, 2a06:98c1:58::12e, ...\n",
423
+ "Connecting to civitai-delivery-worker-prod.5ac0637cfd0766c97916cefa3764fbdf.r2.cloudflarestorage.com (civitai-delivery-worker-prod.5ac0637cfd0766c97916cefa3764fbdf.r2.cloudflarestorage.com)|162.159.141.50|:443... connected.\n",
424
+ "HTTP request sent, awaiting response... 200 OK\n",
425
+ "Length: 4265098448 (4.0G) [application/octet-stream]\n",
426
+ "Saving to: ‘./models/checkpoints/animeanything_v10.safetensors’\n",
427
+ "\n",
428
+ "./models/checkpoint 100%[===================>] 3.97G 45.9MB/s in 96s \n",
429
+ "\n",
430
+ "2025-09-07 00:20:23 (42.2 MB/s) - ‘./models/checkpoints/animeanything_v10.safetensors’ saved [4265098448/4265098448]\n",
431
+ "\n",
432
+ "--2025-09-07 00:20:23-- https://civitai.com/api/download/models/93295?type=Model&format=SafeTensor&size=pruned&fp=fp16\n",
433
+ "Resolving civitai.com (civitai.com)... 104.20.38.219, 172.66.152.186, 2606:4700:10::6814:26db, ...\n",
434
+ "Connecting to civitai.com (civitai.com)|104.20.38.219|:443... connected.\n",
435
+ "HTTP request sent, awaiting response... 307 Temporary Redirect\n",
436
+ "Location: https://civitai-delivery-worker-prod.5ac0637cfd0766c97916cefa3764fbdf.r2.cloudflarestorage.com/205600/model/animekawa.MpyM.safetensors?X-Amz-Expires=86400&response-content-disposition=attachment%3B%20filename%3D%22animekawa_v10.safetensors%22&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=e01358d793ad6966166af8b3064953ad/20250907/us-east-1/s3/aws4_request&X-Amz-Date=20250907T002024Z&X-Amz-SignedHeaders=host&X-Amz-Signature=3a53de47d33a0b24146e848b988bfc9e9c2c9466bfa36ff592f176033370f708 [following]\n",
437
+ "--2025-09-07 00:20:24-- https://civitai-delivery-worker-prod.5ac0637cfd0766c97916cefa3764fbdf.r2.cloudflarestorage.com/205600/model/animekawa.MpyM.safetensors?X-Amz-Expires=86400&response-content-disposition=attachment%3B%20filename%3D%22animekawa_v10.safetensors%22&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=e01358d793ad6966166af8b3064953ad/20250907/us-east-1/s3/aws4_request&X-Amz-Date=20250907T002024Z&X-Amz-SignedHeaders=host&X-Amz-Signature=3a53de47d33a0b24146e848b988bfc9e9c2c9466bfa36ff592f176033370f708\n",
438
+ "Resolving civitai-delivery-worker-prod.5ac0637cfd0766c97916cefa3764fbdf.r2.cloudflarestorage.com (civitai-delivery-worker-prod.5ac0637cfd0766c97916cefa3764fbdf.r2.cloudflarestorage.com)... 172.66.1.46, 162.159.141.50, 2606:4700:7::12e, ...\n",
439
+ "Connecting to civitai-delivery-worker-prod.5ac0637cfd0766c97916cefa3764fbdf.r2.cloudflarestorage.com (civitai-delivery-worker-prod.5ac0637cfd0766c97916cefa3764fbdf.r2.cloudflarestorage.com)|172.66.1.46|:443... connected.\n",
440
+ "HTTP request sent, awaiting response... 200 OK\n",
441
+ "Length: 2132625888 (2.0G) [application/octet-stream]\n",
442
+ "Saving to: ‘./models/checkpoints/animekawa_v10.safetensors’\n",
443
+ "\n",
444
+ "./models/checkpoint 100%[===================>] 1.99G 42.1MB/s in 45s \n",
445
+ "\n",
446
+ "2025-09-07 00:21:09 (45.2 MB/s) - ‘./models/checkpoints/animekawa_v10.safetensors’ saved [2132625888/2132625888]\n",
447
+ "\n",
448
+ "--2025-09-07 00:21:09-- https://civitai.com/api/download/models/2015411?type=Model&format=SafeTensor&size=pruned&fp=fp16\n",
449
+ "Resolving civitai.com (civitai.com)... 172.66.152.186, 104.20.38.219, 2606:4700:10::6814:26db, ...\n",
450
+ "Connecting to civitai.com (civitai.com)|172.66.152.186|:443... connected.\n",
451
+ "HTTP request sent, awaiting response... 307 Temporary Redirect\n",
452
+ "Location: https://civitai-delivery-worker-prod.5ac0637cfd0766c97916cefa3764fbdf.r2.cloudflarestorage.com/model/550395/animeartflowV14Fp16.psXa.safetensors?X-Amz-Expires=86400&response-content-disposition=attachment%3B%20filename%3D%22animeArtflow_v14.safetensors%22&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=e01358d793ad6966166af8b3064953ad/20250907/us-east-1/s3/aws4_request&X-Amz-Date=20250907T002109Z&X-Amz-SignedHeaders=host&X-Amz-Signature=e33423c3e5aed08e74b81b942ab45dddbc73e7d0ace54b042a47acc1f20f1ee8 [following]\n",
453
+ "--2025-09-07 00:21:09-- https://civitai-delivery-worker-prod.5ac0637cfd0766c97916cefa3764fbdf.r2.cloudflarestorage.com/model/550395/animeartflowV14Fp16.psXa.safetensors?X-Amz-Expires=86400&response-content-disposition=attachment%3B%20filename%3D%22animeArtflow_v14.safetensors%22&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=e01358d793ad6966166af8b3064953ad/20250907/us-east-1/s3/aws4_request&X-Amz-Date=20250907T002109Z&X-Amz-SignedHeaders=host&X-Amz-Signature=e33423c3e5aed08e74b81b942ab45dddbc73e7d0ace54b042a47acc1f20f1ee8\n",
454
+ "Resolving civitai-delivery-worker-prod.5ac0637cfd0766c97916cefa3764fbdf.r2.cloudflarestorage.com (civitai-delivery-worker-prod.5ac0637cfd0766c97916cefa3764fbdf.r2.cloudflarestorage.com)... 172.66.1.46, 162.159.141.50, 2606:4700:7::12e, ...\n",
455
+ "Connecting to civitai-delivery-worker-prod.5ac0637cfd0766c97916cefa3764fbdf.r2.cloudflarestorage.com (civitai-delivery-worker-prod.5ac0637cfd0766c97916cefa3764fbdf.r2.cloudflarestorage.com)|172.66.1.46|:443... connected.\n",
456
+ "HTTP request sent, awaiting response... 200 OK\n",
457
+ "Length: 6938041004 (6.5G)\n",
458
+ "Saving to: ‘./models/checkpoints/animeArtflow_v14.safetensors’\n",
459
+ "\n",
460
+ "./models/checkpoint 100%[===================>] 6.46G 52.4MB/s in 2m 25s \n",
461
+ "\n",
462
+ "2025-09-07 00:23:34 (45.8 MB/s) - ‘./models/checkpoints/animeArtflow_v14.safetensors’ saved [6938041004/6938041004]\n",
463
+ "\n",
464
+ "--2025-09-07 00:23:34-- https://civitai.com/api/download/models/28100?type=Model&format=SafeTensor&size=full&fp=fp16\n",
465
+ "Resolving civitai.com (civitai.com)... 104.20.38.219, 172.66.152.186, 2606:4700:10::6814:26db, ...\n",
466
+ "Connecting to civitai.com (civitai.com)|104.20.38.219|:443... connected.\n",
467
+ "HTTP request sent, awaiting response... 307 Temporary Redirect\n",
468
+ "Location: https://civitai-delivery-worker-prod.5ac0637cfd0766c97916cefa3764fbdf.r2.cloudflarestorage.com/53515/model/animepasteldreamSoft.lTTK.safetensors?X-Amz-Expires=86400&response-content-disposition=attachment%3B%20filename%3D%22animePastelDream_softBakedVae.safetensors%22&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=e01358d793ad6966166af8b3064953ad/20250907/us-east-1/s3/aws4_request&X-Amz-Date=20250907T002334Z&X-Amz-SignedHeaders=host&X-Amz-Signature=79634b70c66db41e3a0e54facc9d0168fd38afae75cb71e4859fbac167635b08 [following]\n",
469
+ "--2025-09-07 00:23:34-- https://civitai-delivery-worker-prod.5ac0637cfd0766c97916cefa3764fbdf.r2.cloudflarestorage.com/53515/model/animepasteldreamSoft.lTTK.safetensors?X-Amz-Expires=86400&response-content-disposition=attachment%3B%20filename%3D%22animePastelDream_softBakedVae.safetensors%22&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=e01358d793ad6966166af8b3064953ad/20250907/us-east-1/s3/aws4_request&X-Amz-Date=20250907T002334Z&X-Amz-SignedHeaders=host&X-Amz-Signature=79634b70c66db41e3a0e54facc9d0168fd38afae75cb71e4859fbac167635b08\n",
470
+ "Resolving civitai-delivery-worker-prod.5ac0637cfd0766c97916cefa3764fbdf.r2.cloudflarestorage.com (civitai-delivery-worker-prod.5ac0637cfd0766c97916cefa3764fbdf.r2.cloudflarestorage.com)... 172.66.1.46, 162.159.141.50, 2a06:98c1:58::12e, ...\n",
471
+ "Connecting to civitai-delivery-worker-prod.5ac0637cfd0766c97916cefa3764fbdf.r2.cloudflarestorage.com (civitai-delivery-worker-prod.5ac0637cfd0766c97916cefa3764fbdf.r2.cloudflarestorage.com)|172.66.1.46|:443... connected.\n",
472
+ "HTTP request sent, awaiting response... 200 OK\n",
473
+ "Length: 7391880907 (6.9G) [application/octet-stream]\n",
474
+ "Saving to: ‘./models/checkpoints/pasteldream.safetensors’\n",
475
+ "\n",
476
+ "./models/checkpoint 100%[===================>] 6.88G 43.6MB/s in 2m 37s \n",
477
+ "\n",
478
+ "2025-09-07 00:26:11 (44.9 MB/s) - ‘./models/checkpoints/pasteldream.safetensors’ saved [7391880907/7391880907]\n",
479
+ "\n",
480
+ "Cloning into 'temp_lora'...\n",
481
+ "remote: Enumerating objects: 3081, done.\u001b[K\n",
482
+ "remote: Counting objects: 100% (3081/3081), done.\u001b[K\n",
483
+ "remote: Compressing objects: 100% (3069/3069), done.\u001b[K\n",
484
+ "remote: Total 3081 (delta 7), reused 2759 (delta 6), pack-reused 0 (from 0)\u001b[K\n",
485
+ "Receiving objects: 100% (3081/3081), 672.11 MiB | 25.34 MiB/s, done.\n",
486
+ "Resolving deltas: 100% (7/7), done.\n",
487
+ "Updating files: 100% (3003/3003), done.\n",
488
+ "Filtering content: 100% (1189/1189), 24.22 GiB | 54.50 MiB/s, done.\n",
489
+ "Encountered 46 file(s) that should have been pointers, but weren't:\n",
490
+ "\tanimecat/thumb.webp\n",
491
+ "\tblackeyes/thumb.webp\n",
492
+ "\tblur/thumb.webp\n",
493
+ "\tcateyemouth/thumb.webp\n",
494
+ "\tchestnutmouth/thumb.webp\n",
495
+ "\tcirclemouth/thumb.webp\n",
496
+ "\tclosedmouth/thumb.webp\n",
497
+ "\tcomiceye/thumb.webp\n",
498
+ "\tconcentratedlines/thumb.webp\n",
499
+ "\tdark_gloweye/thumb.webp\n",
500
+ "\tdoyagao/thumb.webp\n",
501
+ "\teyecolle/thumb.webp\n",
502
+ "\thetechro/thumb.webp\n",
503
+ "\tinv_v_eyebrows/thumb.webp\n",
504
+ "\tlumi/thumb.webp\n",
505
+ "\tmake25d/thumb.webp\n",
506
+ "\tmekakure/thumb.webp\n",
507
+ "\tnikkori/thumb.webp\n",
508
+ "\tpaleface/thumb.webp\n",
509
+ "\tpaperchara/thumb.webp\n",
510
+ "\tsaturation/thumb.webp\n",
511
+ "\tsdxl/anti25d/thumb.webp\n",
512
+ "\tsdxl/eyecollexl/thumb.webp\n",
513
+ "\tsdxl/gekioko/thumb.webp\n",
514
+ "\tsdxl/inv_v_eyebrows/thumb.webp\n",
515
+ "\tsdxl/make25d/thumb.webp\n",
516
+ "\tsdxl/mouthcollection/thumb.webp\n",
517
+ "\tsdxl/paleface/thumb.webp\n",
518
+ "\tsdxl/sleepy/thumb.webp\n",
519
+ "\tsdxl/surprised/thumb.webp\n",
520
+ "\tsdxl/talkmouth/thumb.webp\n",
521
+ "\tsdxl/widemouth/thumb.webp\n",
522
+ "\tsdxl/yudedako/thumb.webp\n",
523
+ "\tsensualface/thumb.webp\n",
524
+ "\tsleepy/thumb.webp\n",
525
+ "\tsmirking/thumb.webp\n",
526
+ "\tsmugface/thumb.webp\n",
527
+ "\tsmugmouth/thumb.webp\n",
528
+ "\tstarhearteyes/thumb.webp\n",
529
+ "\tsurprised/thumb.webp\n",
530
+ "\tthinkingface/thumb.webp\n",
531
+ "\ttone/thumb.webp\n",
532
+ "\twavymouth/thumb.webp\n",
533
+ "\twhiteeyelash/thumb.webp\n",
534
+ "\twhiteeyes/thumb.webp\n",
535
+ "\tworriedeyes/thumb.webp\n",
536
+ "/content/ComfyUI/temp_lora\n",
537
+ "/content/ComfyUI\n"
538
+ ]
539
+ }
540
+ ],
541
+ "source": [
542
+ "# Checkpoints\n",
543
+ "%cd /content/ComfyUI\n",
544
+ "# checkpoint\n",
545
+ "#Midjourney Style Anime Stable Diffusion\n",
546
+ "!wget -c \"https://civitai.com/api/download/models/361041?type=Model&format=SafeTensor\" -O ./models/checkpoints/midjourneyanime.safetensors\n",
547
+ "#AnimeAnything | 日式插画\n",
548
+ "!wget -c \"https://civitai.com/api/download/models/123021?type=Model&format=SafeTensor&size=full&fp=fp16\" -O ./models/checkpoints/animeanything_v10.safetensors\n",
549
+ "#AnimeKawa\n",
550
+ "!wget -c \"https://civitai.com/api/download/models/93295?type=Model&format=SafeTensor&size=pruned&fp=fp16\" -O ./models/checkpoints/animekawa_v10.safetensors\n",
551
+ "#Anime ArtFlow Illustrious-XL\n",
552
+ "!wget -c \"https://civitai.com/api/download/models/2015411?type=Model&format=SafeTensor&size=pruned&fp=fp16\" -O ./models/checkpoints/animeArtflow_v14.safetensors\n",
553
+ "#Anime Pastel Dream\n",
554
+ "!wget -c \"https://civitai.com/api/download/models/28100?type=Model&format=SafeTensor&size=full&fp=fp16\" -O ./models/checkpoints/pasteldream.safetensors\n",
555
+ "# ↓ これは認証必須のため直接wget不可\n",
556
+ "#[FLUX] 1984 - Anime Style feat. IllustriousXL\n",
557
+ "# !wget -c \"https://civitai.com/api/download/models/2041872?type=Model&format=SafeTensor&size=full&fp=fp8\" -O ./models/checkpoints/model_fp8.safetensors\n",
558
+ "\n",
559
+ "# lora\n",
560
+ "!mkdir -p ./models/loras/animeface\n",
561
+ "!git clone --depth 1 https://huggingface.co/JujoHotaru/lora temp_lora\n",
562
+ "%cd temp_lora\n",
563
+ "!git lfs pull --include=\"*.safetensors\"\n",
564
+ "%cd ..\n",
565
+ "!cp temp_lora/*.safetensors ./models/loras/animeface/ || echo \"No safetensors in root\"\n",
566
+ "!rm -rf temp_lora\n",
567
+ "\n",
568
+ "\n",
569
+ "\n",
570
+ "\n",
571
+ "### SDXL\n",
572
+ "### I recommend these workflow examples: https://comfyanonymous.github.io/ComfyUI_examples/sdxl/\n",
573
+ "\n",
574
+ "#!wget -c https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/resolve/main/sd_xl_base_1.0.safetensors -P ./models/checkpoints/\n",
575
+ "#!wget -c https://huggingface.co/stabilityai/stable-diffusion-xl-refiner-1.0/resolve/main/sd_xl_refiner_1.0.safetensors -P ./models/checkpoints/\n",
576
+ "\n",
577
+ "# SDXL ReVision\n",
578
+ "#!wget -c https://huggingface.co/comfyanonymous/clip_vision_g/resolve/main/clip_vision_g.safetensors -P ./models/clip_vision/\n",
579
+ "\n",
580
+ "# SD1.5\n",
581
+ "#!wget -c https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.ckpt -P ./models/checkpoints/\n",
582
+ "\n",
583
+ "# SD2\n",
584
+ "#!wget -c https://huggingface.co/stabilityai/stable-diffusion-2-1-base/resolve/main/v2-1_512-ema-pruned.safetensors -P ./models/checkpoints/\n",
585
+ "#!wget -c https://huggingface.co/stabilityai/stable-diffusion-2-1/resolve/main/v2-1_768-ema-pruned.safetensors -P ./models/checkpoints/\n",
586
+ "\n",
587
+ "# Some SD1.5 anime style\n",
588
+ "#!wget -c https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/AbyssOrangeMix2/AbyssOrangeMix2_hard.safetensors -P ./models/checkpoints/\n",
589
+ "#!wget -c https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/AbyssOrangeMix3/AOM3A1_orangemixs.safetensors -P ./models/checkpoints/\n",
590
+ "#!wget -c https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/AbyssOrangeMix3/AOM3A3_orangemixs.safetensors -P ./models/checkpoints/\n",
591
+ "#!wget -c https://huggingface.co/Linaqruf/anything-v3.0/resolve/main/anything-v3-fp16-pruned.safetensors -P ./models/checkpoints/\n",
592
+ "\n",
593
+ "# Waifu Diffusion 1.5 (anime style SD2.x 768-v)\n",
594
+ "#!wget -c https://huggingface.co/waifu-diffusion/wd-1-5-beta3/resolve/main/wd-illusion-fp16.safetensors -P ./models/checkpoints/\n",
595
+ "\n",
596
+ "\n",
597
+ "# unCLIP models\n",
598
+ "#!wget -c https://huggingface.co/comfyanonymous/illuminatiDiffusionV1_v11_unCLIP/resolve/main/illuminatiDiffusionV1_v11-unclip-h-fp16.safetensors -P ./models/checkpoints/\n",
599
+ "#!wget -c https://huggingface.co/comfyanonymous/wd-1.5-beta2_unCLIP/resolve/main/wd-1-5-beta2-aesthetic-unclip-h-fp16.safetensors -P ./models/checkpoints/\n",
600
+ "\n",
601
+ "\n",
602
+ "# VAE\n",
603
+ "#!wget -c https://huggingface.co/stabilityai/sd-vae-ft-mse-original/resolve/main/vae-ft-mse-840000-ema-pruned.safetensors -P ./models/vae/\n",
604
+ "#!wget -c https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/VAEs/orangemix.vae.pt -P ./models/vae/\n",
605
+ "#!wget -c https://huggingface.co/hakurei/waifu-diffusion-v1-4/resolve/main/vae/kl-f8-anime2.ckpt -P ./models/vae/\n",
606
+ "\n",
607
+ "\n",
608
+ "# Loras\n",
609
+ "#!wget -c https://civitai.com/api/download/models/10350 -O ./models/loras/theovercomer8sContrastFix_sd21768.safetensors #theovercomer8sContrastFix SD2.x 768-v\n",
610
+ "#!wget -c https://civitai.com/api/download/models/10638 -O ./models/loras/theovercomer8sContrastFix_sd15.safetensors #theovercomer8sContrastFix SD1.x\n",
611
+ "#!wget -c https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/resolve/main/sd_xl_offset_example-lora_1.0.safetensors -P ./models/loras/ #SDXL offset noise lora\n",
612
+ "\n",
613
+ "\n",
614
+ "# T2I-Adapter\n",
615
+ "#!wget -c https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_depth_sd14v1.pth -P ./models/controlnet/\n",
616
+ "#!wget -c https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_seg_sd14v1.pth -P ./models/controlnet/\n",
617
+ "#!wget -c https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_sketch_sd14v1.pth -P ./models/controlnet/\n",
618
+ "#!wget -c https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_keypose_sd14v1.pth -P ./models/controlnet/\n",
619
+ "#!wget -c https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_openpose_sd14v1.pth -P ./models/controlnet/\n",
620
+ "#!wget -c https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_color_sd14v1.pth -P ./models/controlnet/\n",
621
+ "#!wget -c https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_canny_sd14v1.pth -P ./models/controlnet/\n",
622
+ "\n",
623
+ "# T2I Styles Model\n",
624
+ "#!wget -c https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_style_sd14v1.pth -P ./models/style_models/\n",
625
+ "\n",
626
+ "# CLIPVision model (needed for styles model)\n",
627
+ "#!wget -c https://huggingface.co/openai/clip-vit-large-patch14/resolve/main/pytorch_model.bin -O ./models/clip_vision/clip_vit14.bin\n",
628
+ "\n",
629
+ "\n",
630
+ "# ControlNet\n",
631
+ "#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11e_sd15_ip2p_fp16.safetensors -P ./models/controlnet/\n",
632
+ "#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11e_sd15_shuffle_fp16.safetensors -P ./models/controlnet/\n",
633
+ "#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_canny_fp16.safetensors -P ./models/controlnet/\n",
634
+ "#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11f1p_sd15_depth_fp16.safetensors -P ./models/controlnet/\n",
635
+ "#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_inpaint_fp16.safetensors -P ./models/controlnet/\n",
636
+ "#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_lineart_fp16.safetensors -P ./models/controlnet/\n",
637
+ "#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_mlsd_fp16.safetensors -P ./models/controlnet/\n",
638
+ "#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_normalbae_fp16.safetensors -P ./models/controlnet/\n",
639
+ "#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_openpose_fp16.safetensors -P ./models/controlnet/\n",
640
+ "#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_scribble_fp16.safetensors -P ./models/controlnet/\n",
641
+ "#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_seg_fp16.safetensors -P ./models/controlnet/\n",
642
+ "#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_softedge_fp16.safetensors -P ./models/controlnet/\n",
643
+ "#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15s2_lineart_anime_fp16.safetensors -P ./models/controlnet/\n",
644
+ "#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11u_sd15_tile_fp16.safetensors -P ./models/controlnet/\n",
645
+ "\n",
646
+ "# ControlNet SDXL\n",
647
+ "#!wget -c https://huggingface.co/stabilityai/control-lora/resolve/main/control-LoRAs-rank256/control-lora-canny-rank256.safetensors -P ./models/controlnet/\n",
648
+ "#!wget -c https://huggingface.co/stabilityai/control-lora/resolve/main/control-LoRAs-rank256/control-lora-depth-rank256.safetensors -P ./models/controlnet/\n",
649
+ "#!wget -c https://huggingface.co/stabilityai/control-lora/resolve/main/control-LoRAs-rank256/control-lora-recolor-rank256.safetensors -P ./models/controlnet/\n",
650
+ "#!wget -c https://huggingface.co/stabilityai/control-lora/resolve/main/control-LoRAs-rank256/control-lora-sketch-rank256.safetensors -P ./models/controlnet/\n",
651
+ "\n",
652
+ "# Controlnet Preprocessor nodes by Fannovel16\n",
653
+ "#!cd custom_nodes && git clone https://github.com/Fannovel16/comfy_controlnet_preprocessors; cd comfy_controlnet_preprocessors && python install.py\n",
654
+ "\n",
655
+ "\n",
656
+ "# GLIGEN\n",
657
+ "#!wget -c https://huggingface.co/comfyanonymous/GLIGEN_pruned_safetensors/resolve/main/gligen_sd14_textbox_pruned_fp16.safetensors -P ./models/gligen/\n",
658
+ "\n",
659
+ "\n",
660
+ "# ESRGAN upscale model\n",
661
+ "#!wget -c https://github.com/xinntao/Real-ESRGAN/releases/download/v0.1.0/RealESRGAN_x4plus.pth -P ./models/upscale_models/\n",
662
+ "#!wget -c https://huggingface.co/sberbank-ai/Real-ESRGAN/resolve/main/RealESRGAN_x2.pth -P ./models/upscale_models/\n",
663
+ "#!wget -c https://huggingface.co/sberbank-ai/Real-ESRGAN/resolve/main/RealESRGAN_x4.pth -P ./models/upscale_models/\n",
664
+ "\n",
665
+ "\n"
666
+ ]
667
+ },
668
+ {
669
+ "cell_type": "markdown",
670
+ "metadata": {
671
+ "id": "kkkkkkkkkkkkkkk"
672
+ },
673
+ "source": [
674
+ "### Run ComfyUI with cloudflared (Recommended Way)\n",
675
+ "\n",
676
+ "\n"
677
+ ]
678
+ },
679
+ {
680
+ "cell_type": "code",
681
+ "execution_count": null,
682
+ "metadata": {
683
+ "id": "jjjjjjjjjjjjjj",
684
+ "outputId": "7b8d7275-6bd4-4601-b8bd-a0969230198a",
685
+ "colab": {
686
+ "base_uri": "https://localhost:8080/"
687
+ }
688
+ },
689
+ "outputs": [
690
+ {
691
+ "output_type": "stream",
692
+ "name": "stdout",
693
+ "text": [
694
+ "--2025-09-07 00:42:28-- https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64.deb\n",
695
+ "Resolving github.com (github.com)... 140.82.116.3\n",
696
+ "Connecting to github.com (github.com)|140.82.116.3|:443... connected.\n",
697
+ "HTTP request sent, awaiting response... 302 Found\n",
698
+ "Location: https://github.com/cloudflare/cloudflared/releases/download/2025.8.1/cloudflared-linux-amd64.deb [following]\n",
699
+ "--2025-09-07 00:42:28-- https://github.com/cloudflare/cloudflared/releases/download/2025.8.1/cloudflared-linux-amd64.deb\n",
700
+ "Reusing existing connection to github.com:443.\n",
701
+ "HTTP request sent, awaiting response... 302 Found\n",
702
+ "Location: https://release-assets.githubusercontent.com/github-production-release-asset/106867604/92cb7978-e346-4125-ab19-54eebccb08b0?sp=r&sv=2018-11-09&sr=b&spr=https&se=2025-09-07T01%3A32%3A38Z&rscd=attachment%3B+filename%3Dcloudflared-linux-amd64.deb&rsct=application%2Foctet-stream&skoid=96c2d410-5711-43a1-aedd-ab1947aa7ab0&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skt=2025-09-07T00%3A32%3A12Z&ske=2025-09-07T01%3A32%3A38Z&sks=b&skv=2018-11-09&sig=%2BOfDythv153k0kVFyYNs4r4vFqj13Lr5m%2BjHxzLXMiY%3D&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmVsZWFzZS1hc3NldHMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwia2V5Ijoia2V5MSIsImV4cCI6MTc1NzIwNjA0OSwibmJmIjoxNzU3MjA1NzQ5LCJwYXRoIjoicmVsZWFzZWFzc2V0cHJvZHVjdGlvbi5ibG9iLmNvcmUud2luZG93cy5uZXQifQ.Js7GN-4S7MgawpxE10AzgfqO7rgzOSQzCEbgQUPv8Js&response-content-disposition=attachment%3B%20filename%3Dcloudflared-linux-amd64.deb&response-content-type=application%2Foctet-stream [following]\n",
703
+ "--2025-09-07 00:42:29-- https://release-assets.githubusercontent.com/github-production-release-asset/106867604/92cb7978-e346-4125-ab19-54eebccb08b0?sp=r&sv=2018-11-09&sr=b&spr=https&se=2025-09-07T01%3A32%3A38Z&rscd=attachment%3B+filename%3Dcloudflared-linux-amd64.deb&rsct=application%2Foctet-stream&skoid=96c2d410-5711-43a1-aedd-ab1947aa7ab0&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skt=2025-09-07T00%3A32%3A12Z&ske=2025-09-07T01%3A32%3A38Z&sks=b&skv=2018-11-09&sig=%2BOfDythv153k0kVFyYNs4r4vFqj13Lr5m%2BjHxzLXMiY%3D&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmVsZWFzZS1hc3NldHMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwia2V5Ijoia2V5MSIsImV4cCI6MTc1NzIwNjA0OSwibmJmIjoxNzU3MjA1NzQ5LCJwYXRoIjoicmVsZWFzZWFzc2V0cHJvZHVjdGlvbi5ibG9iLmNvcmUud2luZG93cy5uZXQifQ.Js7GN-4S7MgawpxE10AzgfqO7rgzOSQzCEbgQUPv8Js&response-content-disposition=attachment%3B%20filename%3Dcloudflared-linux-amd64.deb&response-content-type=application%2Foctet-stream\n",
704
+ "Resolving release-assets.githubusercontent.com (release-assets.githubusercontent.com)... 185.199.108.133, 185.199.109.133, 185.199.110.133, ...\n",
705
+ "Connecting to release-assets.githubusercontent.com (release-assets.githubusercontent.com)|185.199.108.133|:443... connected.\n",
706
+ "HTTP request sent, awaiting response... 200 OK\n",
707
+ "Length: 20178834 (19M) [application/octet-stream]\n",
708
+ "Saving to: ‘/root/cloudflared-linux-amd64.deb.1’\n",
709
+ "\n",
710
+ "cloudflared-linux-a 100%[===================>] 19.24M 126MB/s in 0.2s \n",
711
+ "\n",
712
+ "2025-09-07 00:42:29 (126 MB/s) - ‘/root/cloudflared-linux-amd64.deb.1’ saved [20178834/20178834]\n",
713
+ "\n",
714
+ "(Reading database ... 126378 files and directories currently installed.)\n",
715
+ "Preparing to unpack .../cloudflared-linux-amd64.deb ...\n",
716
+ "Unpacking cloudflared (2025.8.1) over (2025.8.1) ...\n",
717
+ "Setting up cloudflared (2025.8.1) ...\n",
718
+ "Processing triggers for man-db (2.10.2-1) ...\n",
719
+ "Requirement already satisfied: av in /usr/local/lib/python3.12/dist-packages (15.1.0)\n",
720
+ "--2025-09-07 00:42:36-- https://huggingface.co/StableDiffusionVN/Prunedcontrolnet/resolve/2425b627f0cb73c148a827b1ca09796eb2fd81f9/control_v11p_sd15_canny.safetensors?download=true\n",
721
+ "Resolving huggingface.co (huggingface.co)... 3.163.189.114, 3.163.189.37, 3.163.189.90, ...\n",
722
+ "Connecting to huggingface.co (huggingface.co)|3.163.189.114|:443... connected.\n",
723
+ "HTTP request sent, awaiting response... 302 Found\n",
724
+ "Location: https://cas-bridge.xethub.hf.co/xet-bridge-us/64a6c62cfe51c2513b1d09ea/96c65651219f58113d481d9f4d8c997859022507135767714c965dcef8d84ec8?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=cas%2F20250907%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250907T004236Z&X-Amz-Expires=3600&X-Amz-Signature=0cf64ab0f9e60ec9e016737d2df16f38fcbcee56dccf5760681771f20b7a78e3&X-Amz-SignedHeaders=host&X-Xet-Cas-Uid=public&response-content-disposition=attachment%3B+filename*%3DUTF-8%27%27control_v11p_sd15_canny.safetensors%3B+filename%3D%22control_v11p_sd15_canny.safetensors%22%3B&x-id=GetObject&Expires=1757209356&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTc1NzIwOTM1Nn19LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2FzLWJyaWRnZS54ZXRodWIuaGYuY28veGV0LWJyaWRnZS11cy82NGE2YzYyY2ZlNTFjMjUxM2IxZDA5ZWEvOTZjNjU2NTEyMTlmNTgxMTNkNDgxZDlmNGQ4Yzk5Nzg1OTAyMjUwNzEzNTc2NzcxNGM5NjVkY2VmOGQ4NGVjOCoifV19&Signature=Fr6%7EQ1oirzMjXoRTYQr3j8-LGqhm554dw-MqVUpOt7os12TzonJrT9k4eUaB%7E8ihcBeEmFt8j-EWqF8FW7T0oUTIxEhGnDvk7rPTIm5M4XQ1CAlLsDnzGZaGZQt6fMixt7-xVN%7ExjZ0vNXmGa3XeDuLGlM3CTDol-XTNngnp0tghUoY72BCAYdnt8PkRju3cE00NiliYbBG2iyLU0QavGPCRw9wqTU1VGN41X9EGXbXu37Szye4XDpEKHnNvlvVhWW1Lb0Ixr0rPhcQtvgciE%7E%7EcZk3TCvRuhX1w7AwdAge6RxTdybHzYWWMov1UJISbBdBIqiZn2jtcWTEYmewQrg__&Key-Pair-Id=K2L8F4GPSG1IFC [following]\n",
725
+ "--2025-09-07 00:42:36-- https://cas-bridge.xethub.hf.co/xet-bridge-us/64a6c62cfe51c2513b1d09ea/96c65651219f58113d481d9f4d8c997859022507135767714c965dcef8d84ec8?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=cas%2F20250907%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250907T004236Z&X-Amz-Expires=3600&X-Amz-Signature=0cf64ab0f9e60ec9e016737d2df16f38fcbcee56dccf5760681771f20b7a78e3&X-Amz-SignedHeaders=host&X-Xet-Cas-Uid=public&response-content-disposition=attachment%3B+filename*%3DUTF-8%27%27control_v11p_sd15_canny.safetensors%3B+filename%3D%22control_v11p_sd15_canny.safetensors%22%3B&x-id=GetObject&Expires=1757209356&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTc1NzIwOTM1Nn19LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2FzLWJyaWRnZS54ZXRodWIuaGYuY28veGV0LWJyaWRnZS11cy82NGE2YzYyY2ZlNTFjMjUxM2IxZDA5ZWEvOTZjNjU2NTEyMTlmNTgxMTNkNDgxZDlmNGQ4Yzk5Nzg1OTAyMjUwNzEzNTc2NzcxNGM5NjVkY2VmOGQ4NGVjOCoifV19&Signature=Fr6%7EQ1oirzMjXoRTYQr3j8-LGqhm554dw-MqVUpOt7os12TzonJrT9k4eUaB%7E8ihcBeEmFt8j-EWqF8FW7T0oUTIxEhGnDvk7rPTIm5M4XQ1CAlLsDnzGZaGZQt6fMixt7-xVN%7ExjZ0vNXmGa3XeDuLGlM3CTDol-XTNngnp0tghUoY72BCAYdnt8PkRju3cE00NiliYbBG2iyLU0QavGPCRw9wqTU1VGN41X9EGXbXu37Szye4XDpEKHnNvlvVhWW1Lb0Ixr0rPhcQtvgciE%7E%7EcZk3TCvRuhX1w7AwdAge6RxTdybHzYWWMov1UJISbBdBIqiZn2jtcWTEYmewQrg__&Key-Pair-Id=K2L8F4GPSG1IFC\n",
726
+ "Resolving cas-bridge.xethub.hf.co (cas-bridge.xethub.hf.co)... 3.165.160.91, 3.165.160.47, 3.165.160.110, ...\n",
727
+ "Connecting to cas-bridge.xethub.hf.co (cas-bridge.xethub.hf.co)|3.165.160.91|:443... connected.\n",
728
+ "HTTP request sent, awaiting response... 200 OK\n",
729
+ "Length: 722601100 (689M)\n",
730
+ "Saving to: ‘/content/ComfyUI/models/controlnet/control_v11p_sd15_canny.safetensors’\n",
731
+ "\n",
732
+ "/content/ComfyUI/mo 100%[===================>] 689.13M 58.2MB/s in 12s \n",
733
+ "\n",
734
+ "2025-09-07 00:42:48 (59.3 MB/s) - ‘/content/ComfyUI/models/controlnet/control_v11p_sd15_canny.safetensors’ saved [722601100/722601100]\n",
735
+ "\n",
736
+ "[START] Security scan\n",
737
+ "\u001b[2mUsing Python 3.12.11 environment at: /usr\u001b[0m\n",
738
+ "[DONE] Security scan\n",
739
+ "## ComfyUI-Manager: installing dependencies done.\n",
740
+ "** ComfyUI startup time: 2025-09-07 00:42:48.800\n",
741
+ "** Platform: Linux\n",
742
+ "** Python version: 3.12.11 (main, Jun 4 2025, 08:56:18) [GCC 11.4.0]\n",
743
+ "** Python executable: /usr/bin/python3\n",
744
+ "** ComfyUI Path: /content/ComfyUI\n",
745
+ "** ComfyUI Base Folder Path: /content/ComfyUI\n",
746
+ "** User directory: /content/ComfyUI/user\n",
747
+ "** ComfyUI-Manager config path: /content/ComfyUI/user/default/ComfyUI-Manager/config.ini\n",
748
+ "** Log path: /content/ComfyUI/user/comfyui.log\n",
749
+ "\u001b[2mUsing Python 3.12.11 environment at: /usr\u001b[0m\n",
750
+ "\u001b[2mUsing Python 3.12.11 environment at: /usr\u001b[0m\n",
751
+ "\n",
752
+ "Prestartup times for custom nodes:\n",
753
+ " 0.6 seconds: /content/ComfyUI/custom_nodes/ComfyUI-Manager\n",
754
+ "\n",
755
+ "Checkpoint files will always be loaded safely.\n",
756
+ "Total VRAM 15095 MB, total RAM 12978 MB\n",
757
+ "pytorch version: 2.8.0+cu126\n",
758
+ "Set vram state to: NORMAL_VRAM\n",
759
+ "Device: cuda:0 Tesla T4 : cudaMallocAsync\n",
760
+ "Using pytorch attention\n",
761
+ "Python version: 3.12.11 (main, Jun 4 2025, 08:56:18) [GCC 11.4.0]\n",
762
+ "ComfyUI version: 0.3.57\n",
763
+ "ComfyUI frontend version: 1.25.11\n",
764
+ "[Prompt Server] web root: /usr/local/lib/python3.12/dist-packages/comfyui_frontend_package/static\n",
765
+ "\u001b[36;20m[/content/ComfyUI/custom_nodes/comfyui_controlnet_aux] | INFO -> Using ckpts path: /content/ComfyUI/custom_nodes/comfyui_controlnet_aux/ckpts\u001b[0m\n",
766
+ "\u001b[36;20m[/content/ComfyUI/custom_nodes/comfyui_controlnet_aux] | INFO -> Using symlinks: False\u001b[0m\n",
767
+ "\u001b[36;20m[/content/ComfyUI/custom_nodes/comfyui_controlnet_aux] | INFO -> Using ort providers: ['CUDAExecutionProvider', 'DirectMLExecutionProvider', 'OpenVINOExecutionProvider', 'ROCMExecutionProvider', 'CPUExecutionProvider', 'CoreMLExecutionProvider']\u001b[0m\n",
768
+ "/content/ComfyUI/custom_nodes/comfyui_controlnet_aux/node_wrappers/dwpose.py:26: UserWarning: DWPose: Onnxruntime not found or doesn't come with acceleration providers, switch to OpenCV with CPU device. DWPose might run very slowly\n",
769
+ " warnings.warn(\"DWPose: Onnxruntime not found or doesn't come with acceleration providers, switch to OpenCV with CPU device. DWPose might run very slowly\")\n",
770
+ "### Loading: ComfyUI-Manager (V3.36)\n",
771
+ "[ComfyUI-Manager] network_mode: public\n",
772
+ "### ComfyUI Version: v0.3.57-6-gea6cdd26 | Released on '2025-09-06'\n",
773
+ "\n",
774
+ "Import times for custom nodes:\n",
775
+ " 0.0 seconds: /content/ComfyUI/custom_nodes/websocket_image_save.py\n",
776
+ " 0.1 seconds: /content/ComfyUI/custom_nodes/ComfyUI-Manager\n",
777
+ " 0.5 seconds: /content/ComfyUI/custom_nodes/comfyui_controlnet_aux\n",
778
+ "\n",
779
+ "[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json\n",
780
+ "[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json\n",
781
+ "[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json\n",
782
+ "[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json\n",
783
+ "[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json\n",
784
+ "Context impl SQLiteImpl.\n",
785
+ "Will assume non-transactional DDL.\n",
786
+ "No target revision found.\n",
787
+ "********** ERROR ***********\n",
788
+ "\n",
789
+ "comfyui-workflow-templates is not installed.\n",
790
+ "\n",
791
+ "Please install the updated requirements.txt file by running:\n",
792
+ "/usr/bin/python3 -m pip install -r /content/ComfyUI/requirements.txt\n",
793
+ "If you are on the portable package you can run: update\\update_comfyui.bat to solve this problem.\n",
794
+ "\n",
795
+ "This error is happening because the ComfyUI frontend is no longer shipped as part of the main repo but as a pip package instead.\n",
796
+ "\n",
797
+ "********** ERROR ***********\n",
798
+ "comfyui-embedded-docs package not found\n",
799
+ "\n",
800
+ "ComfyUI finished loading, trying to launch cloudflared (if it gets stuck here cloudflared is having issues)\n",
801
+ "\n",
802
+ "FETCH ComfyRegistry Data: 5/96\n",
803
+ "This is the URL to access ComfyUI: https://swedish-strap-realtor-taxes.trycloudflare.com |\n",
804
+ "FETCH ComfyRegistry Data: 10/96\n",
805
+ "FETCH ComfyRegistry Data: 15/96\n",
806
+ "FETCH ComfyRegistry Data: 20/96\n",
807
+ "FETCH ComfyRegistry Data: 25/96\n",
808
+ "FETCH ComfyRegistry Data: 30/96\n",
809
+ "FETCH ComfyRegistry Data: 35/96\n",
810
+ "FETCH ComfyRegistry Data: 40/96\n",
811
+ "FETCH ComfyRegistry Data: 45/96\n",
812
+ "FETCH ComfyRegistry Data: 50/96\n",
813
+ "FETCH ComfyRegistry Data: 55/96\n",
814
+ "FETCH ComfyRegistry Data: 60/96\n",
815
+ "FETCH ComfyRegistry Data: 65/96\n",
816
+ "FETCH ComfyRegistry Data: 70/96\n",
817
+ "FETCH ComfyRegistry Data: 75/96\n",
818
+ "FETCH ComfyRegistry Data: 80/96\n",
819
+ "FETCH ComfyRegistry Data: 85/96\n",
820
+ "FETCH ComfyRegistry Data: 90/96\n",
821
+ "FETCH ComfyRegistry Data: 95/96\n",
822
+ "FETCH ComfyRegistry Data [DONE]\n",
823
+ "[ComfyUI-Manager] default cache updated: https://api.comfy.org/nodes\n",
824
+ "FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json [DONE]\n",
825
+ "[ComfyUI-Manager] All startup tasks have been completed.\n",
826
+ "got prompt\n",
827
+ "Failed to validate prompt for output 6:\n",
828
+ "* KSampler 1:\n",
829
+ " - Required input is missing: positive\n",
830
+ " - Required input is missing: negative\n",
831
+ " - Required input is missing: latent_image\n",
832
+ "Output will be ignored\n",
833
+ "Prompt executed in 0.16 seconds\n",
834
+ "got prompt\n",
835
+ "Failed to validate prompt for output 6:\n",
836
+ "* ControlNetApplyAdvanced 16:\n",
837
+ " - Required input is missing: control_net\n",
838
+ "* KSampler 1:\n",
839
+ " - Required input is missing: latent_image\n",
840
+ "Output will be ignored\n",
841
+ "Prompt executed in 0.01 seconds\n",
842
+ "got prompt\n",
843
+ "Failed to validate prompt for output 6:\n",
844
+ "* ControlNetApplyAdvanced 16:\n",
845
+ " - Required input is missing: control_net\n",
846
+ "Output will be ignored\n",
847
+ "Prompt executed in 0.01 seconds\n",
848
+ "got prompt\n",
849
+ "Failed to validate prompt for output 6:\n",
850
+ "* ControlNetApplyAdvanced 16:\n",
851
+ " - Required input is missing: control_net\n",
852
+ "Output will be ignored\n",
853
+ "Prompt executed in 0.01 seconds\n",
854
+ "got prompt\n",
855
+ "model weight dtype torch.float16, manual cast: None\n",
856
+ "model_type EPS\n",
857
+ "Using pytorch attention in VAE\n",
858
+ "Using pytorch attention in VAE\n",
859
+ "VAE load device: cuda:0, offload device: cpu, dtype: torch.float32\n",
860
+ "CLIP/text encoder model load device: cuda:0, offload device: cpu, current: cpu, dtype: torch.float16\n",
861
+ "loaded diffusion model directly to GPU\n",
862
+ "Requested to load BaseModel\n",
863
+ "loaded completely 9.5367431640625e+25 1639.406135559082 True\n",
864
+ "Requested to load SD1ClipModel\n",
865
+ "loaded completely 12113.511235046386 235.84423828125 True\n",
866
+ "Requested to load ControlNet\n",
867
+ "loaded completely 11843.541760253906 689.0852355957031 True\n",
868
+ "100% 60/60 [00:26<00:00, 2.25it/s]\n",
869
+ "Requested to load AutoencoderKL\n",
870
+ "loaded completely 7611.656757354736 319.11416244506836 True\n",
871
+ "Prompt executed in 52.66 seconds\n",
872
+ "got prompt\n",
873
+ "100% 60/60 [01:14<00:00, 1.25s/it]\n",
874
+ "Prompt executed in 77.01 seconds\n",
875
+ "got prompt\n",
876
+ "model weight dtype torch.float16, manual cast: None\n",
877
+ "model_type EPS\n",
878
+ "Using pytorch attention in VAE\n",
879
+ "Using pytorch attention in VAE\n",
880
+ "VAE load device: cuda:0, offload device: cpu, dtype: torch.float32\n",
881
+ "CLIP/text encoder model load device: cuda:0, offload device: cpu, current: cpu, dtype: torch.float16\n",
882
+ "loaded diffusion model directly to GPU\n",
883
+ "Requested to load BaseModel\n",
884
+ "loaded completely 9.5367431640625e+25 1639.406135559082 True\n",
885
+ "Requested to load SD1ClipModel\n",
886
+ "loaded completely 11384.300999450683 235.84423828125 True\n",
887
+ "100% 60/60 [01:15<00:00, 1.26s/it]\n",
888
+ "Requested to load AutoencoderKL\n",
889
+ "loaded completely 3255.6567573547363 319.11416244506836 True\n",
890
+ "Prompt executed in 88.47 seconds\n",
891
+ "got prompt\n",
892
+ "100% 60/60 [00:11<00:00, 5.13it/s]\n",
893
+ "Prompt executed in 12.21 seconds\n",
894
+ "got prompt\n",
895
+ "Warning, This is not a checkpoint file, trying to load it as a diffusion model only.\n",
896
+ "!!! Exception during processing !!! ERROR: Could not detect model type of: /content/ComfyUI/models/checkpoints/midjourneyanime.safetensors\n",
897
+ "\n",
898
+ "Traceback (most recent call last):\n",
899
+ " File \"/content/ComfyUI/execution.py\", line 496, in execute\n",
900
+ " output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)\n",
901
+ " ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n",
902
+ " File \"/content/ComfyUI/execution.py\", line 315, in get_output_data\n",
903
+ " return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)\n",
904
+ " ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n",
905
+ " File \"/content/ComfyUI/execution.py\", line 289, in _async_map_node_over_list\n",
906
+ " await process_inputs(input_dict, i)\n",
907
+ " File \"/content/ComfyUI/execution.py\", line 277, in process_inputs\n",
908
+ " result = f(**inputs)\n",
909
+ " ^^^^^^^^^^^\n",
910
+ " File \"/content/ComfyUI/nodes.py\", line 578, in load_checkpoint\n",
911
+ " out = comfy.sd.load_checkpoint_guess_config(ckpt_path, output_vae=True, output_clip=True, embedding_directory=folder_paths.get_folder_paths(\"embeddings\"))\n",
912
+ " ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n",
913
+ " File \"/content/ComfyUI/comfy/sd.py\", line 1051, in load_checkpoint_guess_config\n",
914
+ " raise RuntimeError(\"ERROR: Could not detect model type of: {}\\n{}\".format(ckpt_path, model_detection_error_hint(ckpt_path, sd)))\n",
915
+ "RuntimeError: ERROR: Could not detect model type of: /content/ComfyUI/models/checkpoints/midjourneyanime.safetensors\n",
916
+ "\n",
917
+ "\n",
918
+ "Prompt executed in 0.70 seconds\n",
919
+ "got prompt\n",
920
+ "model weight dtype torch.float16, manual cast: None\n",
921
+ "model_type EPS\n",
922
+ "Using pytorch attention in VAE\n",
923
+ "Using pytorch attention in VAE\n",
924
+ "VAE load device: cuda:0, offload device: cpu, dtype: torch.float32\n",
925
+ "CLIP/text encoder model load device: cuda:0, offload device: cpu, current: cpu, dtype: torch.float16\n",
926
+ "loaded diffusion model directly to GPU\n",
927
+ "Requested to load BaseModel\n",
928
+ "loaded completely 9.5367431640625e+25 1639.406135559082 True\n",
929
+ "Requested to load SD1ClipModel\n",
930
+ "loaded completely 11384.300999450683 235.84423828125 True\n",
931
+ "100% 60/60 [00:11<00:00, 5.27it/s]\n",
932
+ "Requested to load AutoencoderKL\n",
933
+ "loaded completely 9789.656757354736 319.11416244506836 True\n",
934
+ "Prompt executed in 39.85 seconds\n",
935
+ "got prompt\n",
936
+ "100% 60/60 [00:11<00:00, 5.26it/s]\n",
937
+ "Prompt executed in 12.43 seconds\n",
938
+ "got prompt\n",
939
+ "100% 60/60 [00:11<00:00, 5.25it/s]\n",
940
+ "Prompt executed in 11.96 seconds\n",
941
+ "got prompt\n",
942
+ "100% 80/80 [00:15<00:00, 5.27it/s]\n",
943
+ "Prompt executed in 15.69 seconds\n",
944
+ "got prompt\n",
945
+ "100% 80/80 [00:15<00:00, 5.25it/s]\n",
946
+ "Prompt executed in 15.76 seconds\n",
947
+ "got prompt\n",
948
+ "100% 80/80 [00:15<00:00, 5.24it/s]\n",
949
+ "Prompt executed in 15.78 seconds\n",
950
+ "got prompt\n",
951
+ "100% 80/80 [00:15<00:00, 5.25it/s]\n",
952
+ "Prompt executed in 15.73 seconds\n",
953
+ "got prompt\n",
954
+ "100% 120/120 [00:22<00:00, 5.24it/s]\n",
955
+ "Prompt executed in 23.43 seconds\n",
956
+ "got prompt\n",
957
+ "Failed to validate prompt for output 19:\n",
958
+ "* ImageScaleBy 18:\n",
959
+ " - Required input is missing: image\n",
960
+ "Output will be ignored\n",
961
+ "100% 120/120 [00:23<00:00, 5.20it/s]\n",
962
+ "Prompt executed in 23.61 seconds\n",
963
+ "got prompt\n",
964
+ "100% 120/120 [02:32<00:00, 1.27s/it]\n",
965
+ "Prompt executed in 154.97 seconds\n",
966
+ "got prompt\n",
967
+ "100% 120/120 [02:32<00:00, 1.27s/it]\n",
968
+ "Prompt executed in 154.79 seconds\n",
969
+ "got prompt\n",
970
+ "model weight dtype torch.float16, manual cast: None\n",
971
+ "model_type EPS\n",
972
+ "Using pytorch attention in VAE\n",
973
+ "Using pytorch attention in VAE\n",
974
+ "VAE load device: cuda:0, offload device: cpu, dtype: torch.float32\n",
975
+ "CLIP/text encoder model load device: cuda:0, offload device: cpu, current: cpu, dtype: torch.float16\n",
976
+ "loaded diffusion model directly to GPU\n",
977
+ "Requested to load BaseModel\n",
978
+ "loaded completely 9.5367431640625e+25 1639.406135559082 True\n",
979
+ "Requested to load SD1ClipModel\n",
980
+ "loaded completely 11384.300999450683 235.84423828125 True\n",
981
+ "100% 120/120 [02:32<00:00, 1.27s/it]\n",
982
+ "Requested to load AutoencoderKL\n",
983
+ "loaded completely 3255.6567573547363 319.11416244506836 True\n",
984
+ "Prompt executed in 180.56 seconds\n"
985
+ ]
986
+ }
987
+ ],
988
+ "source": [
989
+ "!wget -P ~ https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64.deb\n",
990
+ "!dpkg -i ~/cloudflared-linux-amd64.deb\n",
991
+ "!pip install av\n",
992
+ "!COMFYUI_DIR=\"${COMFYUI_DIR:-/content/ComfyUI}\"; mkdir -p \"$COMFYUI_DIR/custom_nodes\" && cd \"$COMFYUI_DIR/custom_nodes\" && [ -d comfyui_controlnet_aux ] || git clone https://github.com/Fannovel16/comfyui_controlnet_aux.git\n",
993
+ "!wget -O /content/ComfyUI/models/controlnet/control_v11p_sd15_canny.safetensors \"https://huggingface.co/StableDiffusionVN/Prunedcontrolnet/resolve/2425b627f0cb73c148a827b1ca09796eb2fd81f9/control_v11p_sd15_canny.safetensors?download=true\"\n",
994
+ "\n",
995
+ "import subprocess\n",
996
+ "import threading\n",
997
+ "import time\n",
998
+ "import socket\n",
999
+ "import urllib.request\n",
1000
+ "\n",
1001
+ "def iframe_thread(port):\n",
1002
+ " while True:\n",
1003
+ " time.sleep(0.5)\n",
1004
+ " sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)\n",
1005
+ " result = sock.connect_ex(('127.0.0.1', port))\n",
1006
+ " if result == 0:\n",
1007
+ " break\n",
1008
+ " sock.close()\n",
1009
+ " print(\"\\nComfyUI finished loading, trying to launch cloudflared (if it gets stuck here cloudflared is having issues)\\n\")\n",
1010
+ "\n",
1011
+ " p = subprocess.Popen([\"cloudflared\", \"tunnel\", \"--url\", \"http://127.0.0.1:{}\".format(port)], stdout=subprocess.PIPE, stderr=subprocess.PIPE)\n",
1012
+ " for line in p.stderr:\n",
1013
+ " l = line.decode()\n",
1014
+ " if \"trycloudflare.com \" in l:\n",
1015
+ " print(\"This is the URL to access ComfyUI:\", l[l.find(\"http\"):], end='')\n",
1016
+ " #print(l, end='')\n",
1017
+ "\n",
1018
+ "\n",
1019
+ "threading.Thread(target=iframe_thread, daemon=True, args=(8188,)).start()\n",
1020
+ "\n",
1021
+ "!python main.py --dont-print-server"
1022
+ ]
1023
+ },
1024
+ {
1025
+ "cell_type": "markdown",
1026
+ "metadata": {
1027
+ "id": "kkkkkkkkkkkkkk"
1028
+ },
1029
+ "source": [
1030
+ "### Run ComfyUI with localtunnel\n",
1031
+ "\n",
1032
+ "\n"
1033
+ ]
1034
+ },
1035
+ {
1036
+ "cell_type": "code",
1037
+ "execution_count": null,
1038
+ "metadata": {
1039
+ "id": "jjjjjjjjjjjjj"
1040
+ },
1041
+ "outputs": [],
1042
+ "source": [
1043
+ "!npm install -g localtunnel\n",
1044
+ "\n",
1045
+ "import subprocess\n",
1046
+ "import threading\n",
1047
+ "import time\n",
1048
+ "import socket\n",
1049
+ "import urllib.request\n",
1050
+ "\n",
1051
+ "def iframe_thread(port):\n",
1052
+ " while True:\n",
1053
+ " time.sleep(0.5)\n",
1054
+ " sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)\n",
1055
+ " result = sock.connect_ex(('127.0.0.1', port))\n",
1056
+ " if result == 0:\n",
1057
+ " break\n",
1058
+ " sock.close()\n",
1059
+ " print(\"\\nComfyUI finished loading, trying to launch localtunnel (if it gets stuck here localtunnel is having issues)\\n\")\n",
1060
+ "\n",
1061
+ " print(\"The password/enpoint ip for localtunnel is:\", urllib.request.urlopen('https://ipv4.icanhazip.com').read().decode('utf8').strip(\"\\n\"))\n",
1062
+ " p = subprocess.Popen([\"lt\", \"--port\", \"{}\".format(port)], stdout=subprocess.PIPE)\n",
1063
+ " for line in p.stdout:\n",
1064
+ " print(line.decode(), end='')\n",
1065
+ "\n",
1066
+ "\n",
1067
+ "threading.Thread(target=iframe_thread, daemon=True, args=(8188,)).start()\n",
1068
+ "\n",
1069
+ "!python main.py --dont-print-server"
1070
+ ]
1071
+ },
1072
+ {
1073
+ "cell_type": "markdown",
1074
+ "metadata": {
1075
+ "id": "gggggggggg"
1076
+ },
1077
+ "source": [
1078
+ "### Run ComfyUI with colab iframe (use only in case the previous way with localtunnel doesn't work)\n",
1079
+ "\n",
1080
+ "You should see the ui appear in an iframe. If you get a 403 error, it's your firefox settings or an extension that's messing things up.\n",
1081
+ "\n",
1082
+ "If you want to open it in another window use the link.\n",
1083
+ "\n",
1084
+ "Note that some UI features like live image previews won't work because the colab iframe blocks websockets."
1085
+ ]
1086
+ },
1087
+ {
1088
+ "cell_type": "code",
1089
+ "execution_count": null,
1090
+ "metadata": {
1091
+ "id": "hhhhhhhhhh"
1092
+ },
1093
+ "outputs": [],
1094
+ "source": [
1095
+ "import threading\n",
1096
+ "import time\n",
1097
+ "import socket\n",
1098
+ "def iframe_thread(port):\n",
1099
+ " while True:\n",
1100
+ " time.sleep(0.5)\n",
1101
+ " sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)\n",
1102
+ " result = sock.connect_ex(('127.0.0.1', port))\n",
1103
+ " if result == 0:\n",
1104
+ " break\n",
1105
+ " sock.close()\n",
1106
+ " from google.colab import output\n",
1107
+ " output.serve_kernel_port_as_iframe(port, height=1024)\n",
1108
+ " print(\"to open it in a window you can open this link here:\")\n",
1109
+ " output.serve_kernel_port_as_window(port)\n",
1110
+ "\n",
1111
+ "threading.Thread(target=iframe_thread, daemon=True, args=(8188,)).start()\n",
1112
+ "\n",
1113
+ "!python main.py --dont-print-server"
1114
+ ]
1115
+ }
1116
+ ],
1117
+ "metadata": {
1118
+ "accelerator": "GPU",
1119
+ "colab": {
1120
+ "provenance": []
1121
+ },
1122
+ "gpuClass": "standard",
1123
+ "kernelspec": {
1124
+ "display_name": "Python 3",
1125
+ "name": "python3"
1126
+ },
1127
+ "language_info": {
1128
+ "name": "python"
1129
+ }
1130
+ },
1131
+ "nbformat": 4,
1132
+ "nbformat_minor": 0
1133
+ }