Open rocketpal opened 1 year ago
On Colab I use the "High RAM" setting with T4/V100. Average RAM use for SDXL on Colab is 17-35 GB and sometimes still crashes… Also, VRAM doesn't get freed on model change, which is an absolute pain.
I don't see that settings in my free plan and v100 are not available for me. I tried fp16 version and got another error - black squares... it seems that it is impossible to run Automatic in google colab (with basic plan). At the same time ComfyUI works perfect.
+1
+1 even with the new medvramsdxl argument the session gets terminated right at 100%
+1 Using SDXL on Colab with A1111 is impossible due to this issue. Help is appreciated
I switched to Vladmandic until this is fixed. It also has a memory leak, but with --medvram I can go on and on. With A1111 I used to be able to work with ONE SDXL model, as long as I kept the refiner in cache (after a while it would crash anyway). I have a weird config where I have both Vladmandic and A1111 installed and use the A1111 folder for everything, creating symbolic links for Vlad's, so it won't be very useful for anyone else – but it works for me.
(Until Vlad changes something every 2 minutes and then it stops ;) )
+1
i think it's fixed guys
+1
Is there an existing issue for this?
What happened?
After running of gradio interface Google Colab/Kaggle terminates the session due to running out of RAM or vRAM if use '--lowram'
Steps to reproduce the problem
What should have happened?
It just should work
Version or Commit where the problem happens
f865d3e
What Python version are you running on ?
Python 3.10.x
What platforms do you use to access the UI ?
Other/Cloud
What device are you running WebUI on?
Other GPUs
Cross attention optimization
Automatic
What browsers do you use to access the UI ?
Google Chrome
Command Line Arguments
List of extensions
-
Console logs
Additional information
I've tested different combinations of launch parameters. I did't have enough RAM even with 'lowram' parameters and GPU T4x2 (32gb). I also used different version of model official and sd_xl_refiner_0.9.safetensors. I tried this solution link, but still the same. You can check my colab file using this link:
https://drive.google.com/file/d/1MXvoXpsjIUpVSKyrnUftCprvqdEFUF8l/view?usp=sharing