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…

  • wewbull@feddit.uk
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    1 year ago

    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
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      1 year ago

      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
        link
        fedilink
        English
        arrow-up
        4
        ·
        1 year ago

        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.