I’m curious if anyone has had much luck leveraging older AMD hardware to use ROCm, I have an 6700 xt that I’ve just begun inquiring about, and it seems it falls outside of official support.

Right now I intend to pass it through to my Debian Docker VM to support transcoding in some containers in addition to machine learning applications.

  • cornshark@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    4 hours ago

    It’s a lot easier to just use the vulkan support for models and seems to work well enough

  • despoticruin@lemmy.zip
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    7 hours ago

    You need to set an override in your environment variables to force it to use the gfx1030 kernel modules, but otherwise you shouldn’t have too many issues.

    It’s unofficial, but the 6700xt uses the exact same core as one of the supported enterprise cards, so just using the drivers for it generally works just fine. I use a 6800M personally.

    If you are struggling to get rocm installed at all then stop using the amd guides and just install the pre built binaries directly. Fedora packages them in their repository and in my experience rocm just works once you run dnf install rocm*.

  • poVoq@slrpnk.net
    link
    fedilink
    English
    arrow-up
    8
    ·
    8 hours ago

    Mostly bad, but running AI models on Vulkan surprisingly isn’t any worse than ROCm, so there is little point in using that it seems.

  • snekerpimp@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    8 hours ago

    My 6700xt works pretty well with nixos, arch, Debian and Ubuntu. Can’t seem to get comfyui to recognize it, but ollama and lama.ccp use it just fine. Just cause it’s not supported doesn’t mean it won’t work. I have an instinct mi25 that I flashed to a wx9100, per this. About 6 months ago, was working great on Debian 12, Ubuntu 20 and 22, nixos and arch. Now, can’t even get it to work on Ubuntu 20 using rocm 5.4. Super sad I can’t leverage the extra vram.

  • panda_abyss@lemmy.ca
    link
    fedilink
    English
    arrow-up
    3
    ·
    8 hours ago

    God after buying an amd machine last year I’m never doing it again.

    What are you trying to use rocm for? Their own guides don’t work.

    • OpticalMoose@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      1
      ·
      47 minutes ago

      A couple of years ago, I bought a Radeon laptop, just to see how things were going with ROCm. It worked out ok, but convinced me not to buy a discrete Radeon GPU for my desktop.

      I decided to buy another Nvidia card, and finally start investing in NVDA.

    • despoticruin@lemmy.zip
      link
      fedilink
      English
      arrow-up
      2
      ·
      7 hours ago

      Their guides specifically call for an exact kernel version, distribution, and hardware. If you are trying to operate outside of the official requirements then it shouldn’t come as a surprise when the official documentation doesn’t work for you.

    • roundup5381@sh.itjust.worksOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      7 hours ago

      mostly it is the hardware I have on hand; first project in mind is ROCm machine learning for immich. after that it’s pretty much trying to understand the technology, I’m sure I’ll come up with something fun.

      • panda_abyss@lemmy.ca
        link
        fedilink
        English
        arrow-up
        2
        ·
        7 hours ago

        I don’t know how the immich ml works, but if you’re going LLMs stick to llama.cpp.

        going beyond that, I’ve had serious kernel bugs with PyTorch and onnx that are still unresolved. The most popular ML/AI frameworks basically don’t work due to drivers for me.

        Vulkan flows are fine and generally comparable in speed so far, so if there’s a vulkan option try rock first then revert to vulkan.

        • roundup5381@sh.itjust.worksOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          7 hours ago

          thanks for the heads up, in truth I’d probably be headed to vulkan now if it were compatible with immich. I’ll put llama.cpp on my radar.

  • First_Thunder@lemmy.zip
    link
    fedilink
    English
    arrow-up
    6
    ·
    11 hours ago

    I have the rx6650xt and managed to make it work in NixOS, although there is some environment variable you have to set on ollama-rocm iirc. GFX something

    • roundup5381@sh.itjust.worksOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      7 hours ago

      it has me considering moving my docker containers over to something ubuntu flavored, that ubuntu is specifically supported

      • tal@lemmy.today
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        3 hours ago

        I’m using Debian trixie on two systems with (newer) AMD hardware:

        ROCm 7.0.1.70001-42~24.04 on an RX 7900 XTX

        ROCm 7.0.2.70002-56~24.04 on an AMD AI Max 395+.