this post was submitted on 20 Nov 2023
226 points (96.3% liked)

Linux

48008 readers
833 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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...

top 10 comments
sorted by: hot top controversial new old
[–] netwren 18 points 11 months ago

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

[–] [email protected] 15 points 11 months ago (2 children)

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.

[–] [email protected] 12 points 11 months ago (2 children)

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

[–] [email protected] 5 points 11 months ago* (last edited 11 months ago) (1 children)

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

[–] [email protected] 1 points 11 months ago* (last edited 11 months ago) (1 children)

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 :)

[–] [email protected] 4 points 11 months ago (1 children)

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.
[–] [email protected] 1 points 11 months ago
[–] warmaster 5 points 11 months ago

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

[–] [email protected] 4 points 11 months ago

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.

[–] [email protected] 7 points 11 months ago

this looks wicked. definitely going to check that out