Simple colab notebook

#20
by matt1452 - opened

Here is a simple google colab notebook with txt2img. there is also an auto-translation of the prompt via google translate.
https://colab.research.google.com/drive/1_7hTIKkIKJOkGqIevOTX5L8cViayBNR9

Thank you for sharing. It also work on CPU runtime averaging at 105 it/s.
Only work with the full precision variant of course.

pipe = AutoPipelineForText2Image.from_pretrained("stabilityai/sdxl-turbo") # full precision variant
# pipe.to("cuda") comment this line to run on CPU

Thank you for sharing. It also work on CPU runtime averaging at 105 it/s.

Strange, I only get 60s/it in colab when I use the processor. But still added an installation option for CPU.

matt1452 changed discussion title from Simple colab to Simple colab notebook

60s/it in colab when I use the processor.

100s/it, thats bat

But still added an installation option for CPU

now there is GPU auto-detection

Sign up or log in to comment