#Could InvokeAI be run on Colab or RunPod

1 messages Β· Page 1 of 1 (latest)

worldly rose
#

Hello fellow creatives πŸ‘‹ i ran InvokeAI on my MacBook Air M1 2020 8gb RAM last night but it was really slow (10 minutes to 'Invoke' just one image). Is it possible to run it on a Colab Doc or possible RunPod?

real rune
#

We do have a Colab notebook, but I don't know if it's up-to-date, and it's not really supported (the contributor hasn't been around in a while) https://github.com/invoke-ai/InvokeAI/blob/main/notebooks/Stable_Diffusion_AI_Notebook.ipynb

GitHub

This version of Stable Diffusion features a slick WebGUI, an interactive command-line script that combines text2img and img2img functionality in a "dream bot" style interface, and...

candid turtle
worldly rose
#

Thank you @candid turtle i keep meaning to try it!

void spear
#

Hi, everyone! Can anyone tell me if the notebook is updated?

delicate smelt
#

unfortunately Colab doesn't support python3.9, which is our minimal requirement. otherwise there's really no reason you couldn't run Invoke on Colab. we're just waiting on Google to get their act together.

grizzled viper
#

Even if WE install python 3.9 on the terminal of colab ?

delicate smelt
#

good question, I haven't tried it in the terminal (i tried to script it in the notebook itself, and it exploded miserably). If there's a way to get Colab to use a 3.9 kernel, there's no reason why Invoke wouldn't run there. we'd also need some way to expose the UI to the internet, like ngrok or something

brisk shadow
delicate smelt
brisk shadow
#

orly

#

maybe I am wasting my time then xD

#

I'll give it a whirl - thanks so much!

delicate smelt
#

no time wasted - you had good feedback! πŸ˜›

#

lmk what you think

brisk shadow
#

someone asked me for the latest and I was confused what version it was on lol

#

I'm like uhhhh I have no idea and have no idea how to find out πŸ˜‚

delicate smelt
#

yea, the :development image you originally used as the base hasn't been maintained

#

thanks for your work on Runpod btw. πŸ…

brisk shadow
#

yeah this looks much better - my only feedback would be that it looks like it would have to download the sd1.5+inpainting model for every unique user. We actually cache them via the docker image so that subsequent users can start invoking in about 20s

#

this wasn't too bad, started in about 4m

delicate smelt
brisk shadow
#

we're working on that

#

we'll have a model repository in the future πŸ™‚

delicate smelt
#

also, this way I think it's more flexible for the user - they can manage their runtime dir with custom models, etc. and with our upcoming move to diffusers, the model dir structure might change, so a "baked" image might break

delicate smelt
brisk shadow
#

ah yeah, I heard you were going to make model management easier

delicate smelt
#

yep, it's coming to the UI

#

still work in progress