camenduru / sdxl-colab

The Unlicense
399 stars 64 forks source link

Images loading slowly in ComfyUI - but fast from Colab file browser #12

Open joegibes opened 11 months ago

joegibes commented 11 months ago

Hello, the images are quite slow to load in the ComfyUI window.

After I generate an image (or images), it takes them a while to load in the Save/Preview node. I'm trying 1024x1024 and larger (like 1536x1536 and 2048x2048). Even after the image is updated in the node, it's slow to open in new tab - taking 10~30 seconds to load slowly line-by-line, like it's the 90's, haha.

However - when I go to the output/ or temp/ directory in Colab File browser and double click the .png file, the image loads in 2 or 3 seconds! Then I can open in new tab or save quickly.

Maybe this is an issue with cloudflared?

joegibes commented 11 months ago

Update: I tried again in a new Colab session, and it's working better. It still takes a while for the image to appear in the node, but then when I right click - open in new tab, it's instant (as expected).