GitHub - Acly/krita-ai-diffusion: Streamlined interface for generating images with AI in Krita. Inpaint and outpaint with optional text prompt, no tweaking required.

https://github.com/Acly/krita-ai-diffusion

Streamlined interface for generating images with AI in Krita. Inpaint and outpaint with optional text prompt, no tweaking required. - GitHub - Acly/krita-ai-diffusion: Streamlined interface for gen...

225 points · 10 comments · view on lemmy.world

10 Comments

netwren@lemmy.world · 18 pts · 2y

This is wickedly cool and I was wanting something like this last night. Crazy that I stumble on it the morning after.

FaeDrifter@midwest.social · 15 pts · 2y (7 replies)

This is suuuper cool, but looks like having linux+amdgpu limits me to the cloud option.

I supposed this is bc we don't have a DirectML equivalent yet.

wim@lemmy.sdf.org · 12 pts · 2y (5 replies)

There have been some efforts to run pytorch and StableDiffusion on ROCm. Not sure if that could be combined with this.

wewbull@feddit.uk · 5 pts · 2y (3 replies)

It works today. Only problem I have is the memory management is pretty poor, and it's pretty easy to run out of vram.

Rx7600 8GB + 5900X Rocm 5.7.1 Pytorch 2.1

wim@lemmy.sdf.org · 1 pts · 2y (2 replies)

Interesting! Got any links that explain how to set it up?

I just got a laptop with an RX 6700M 10GB ans am eager to try it :)

wewbull@feddit.uk · 4 pts · 2y (1 reply)

Not really. I've had to do quite a bit of experimentation.

My setup that I've settled on:

  • Rocm system libraries from Arch Linux
  • PyTorch nightly for Rocm pip installed into a venv (see instructions on pytorch homepage)
  • Set HSA_OVERRIDE_GFX_VERSION to 11.0.0. This is just for the RX7600 and it tells it to use the RX7900 code as the pytorch version hasn't been compiled with 7600 support.
  • Start software.
wim@lemmy.sdf.org · 1 pts · 2y

Thanks!

warmaster@lemmy.world · 5 pts · 2y

Crap, I was hoping to try it. I wonder if AMD will announce something in their FOSS / AI event.

pantherfarber@lemmings.world · 4 pts · 2y

I got it to work yesterday. Have to go into the python venv it installs, remove torch and install it the way it describes on the comfyui GitHub.

OnU@lemm.ee · 7 pts · 2y

this looks wicked. definitely going to check that out