Linaqruf / sd-notebook-collection

210 stars 44 forks source link

Started disconnecting very frequently today #59

Open reznofiat opened 12 months ago

reznofiat commented 12 months ago

I've been using this webui colab for a few weeks but today I seem to be disconnecting very frequently after like 5 minutes of use. It worked perfectly fine before but now this is happening. I see this error too (not sure if related)

image

plokm21 commented 12 months ago

Same it usually happens if i try to have a batch size larger than 2

Linaqruf commented 12 months ago

Colab updating ubuntu to 22.04 so old tcmalloc can't be installed. Old tcmalloc(v2.5.2) can decrease memory usage.

https://github.com/googlecolab/colabtools/issues/3778

I have solution for this by setting os.environ["TCMALLOC_AGGRESSIVE_DECOMMIT"] = "t" and already pushed several minutes ago. I don't know it will be effective, but yeah, colab free experience won't be the same anymore.

https://github.com/Linaqruf/sd-notebook-collection/commit/275087e6a9e55e12f6dcdb535876ca77301b225b

plokm21 commented 12 months ago

Thanks for the update hope they can fix that soon.