I’ve been trying to install rocm on the deck following this guide

(https://old.reddit.com/r/SteamDeckTricks/comments/102xxww/guide_how_to_install_rocm_for_gpu_julia/)

with the only exception that i used a generic ubuntu container on podman instead of using distrobox; I reach to the point where i need to use amdgpu-install to run rocm, but when i do it tries to install 30gb of files; which unfortunately it’s not feasible on my metered connection and storage (╥﹏╥). From what i saw from this issue on github there should be a way to select only the needed binaries for the specific chipset;

The question is, what should i do to install only the stuff necessary for the deck?

Sorry for the long post.

  • FubarberryM
    link
    fedilink
    English
    arrow-up
    2
    ·
    5 days ago

    Pytorch includes the necessary ROCm files for image gen as far as I know. My computer does have an /opt/ROCm folder but it’s only a few megabytes in size.

    Unfortunately I don’t see any mention of pytorch in your linked program, and it does mention a proper ROCm install as a requirement there.

    • brokenlcd@feddit.itOP
      link
      fedilink
      arrow-up
      1
      ·
      5 days ago

      If that’s the case i’m going to try to run it without installing rocm, since i saw a pytorch rocm package being downloaded by pip. I’m gonna need to reinstall though.

      • FubarberryM
        link
        fedilink
        English
        arrow-up
        1
        ·
        5 days ago

        There are different pytorch install commands for cuda/ROCm. Usually the key to getting ROCm to work with AI GitHub projects is to edit a config file/launch option and replace the pytorch command with a ROCm one