• Home
  • AI
  • Comprehensive guide on how AMD ROCm™ Software can be run on Windows 11 😊
Comprehensive guide on how AMD ROCm™ Software can be run on Windows 11 😊

Comprehensive guide on how AMD ROCm™ Software can be run on Windows 11 😊

Step-by-Step Guide to Running AMD ROCm™ on Windows 11

Are you interested in learning how to run AMD ROCm™ software on Windows 11? Follow this step-by-step guide to get started:

Step 1: Install Windows Subsystem for Linux (WSL)

  • Begin by installing WSL from the Windows Powershell.
  • Use the command “wsl –install” to set up the environment for running Linux applications on your Windows machine.

Step 2: Install AMD ROCm™ Software

  • Proceed to install the AMD ROCm™ software by following these commands:
    • sudo apt update
    • wget
    • sudo apt install ./amdgpu-install_6.1.60103-1_all.deb
    • amdgpu-install -y –usecase=wsl,rocm –no-dkms
  • These steps will ensure that the ROCm™ software is correctly installed and configured to work with WSL.

Step 3: Install PyTorch for AMD ROCm™ and WSL

  • Install Torch for AMD ROCm™ software using the following commands:
    • sudo apt install python3-pip -y
    • pip3 install –upgrade pip wheel
    • wget
    • wget
    • wget
    • pip3 uninstall torch torchvision pytorch-triton-rocm numpy torchaudio
    • pip3 install torch-2.1.2+rocm6.1.3-cp310-cp310-linux_x86_64.whl torchvision-0.16.1+rocm6.1.3-cp310-cp310-linux_x86_64.whl pytorch_triton_rocm-2.1.0+rocm6.1.3.4d510c3a44-cp310-cp310-linux_x86_64.whl numpy==1.26.4
    • pip3 install torchaudio==2.1.2
  • Execute additional commands to finalize the setup:
    • location=`pip show torch | grep Location | awk -F “: ” ‘{print $2}’`
    • cd ${location}/torch/lib/
    • rm libhsa-runtime64.so*
    • cp /opt/rocm/lib/libhsa-runtime64.so.1.2 libhsa-runtime64.so

Running Applications

After completing the setup, you can now install and run applications that support AMD ROCm™ software within the Windows environment. For example, applications like ComfyUI can run seamlessly with an AMD Radeon™ RX 7900 XTX.

Remember to check the requirements.txt file when installing new applications and comment out the torch lines to avoid overwriting your AMD ROCm™ software builds, or you may need to reinstall them.

This new capability enhances the versatility and power of Windows 11 for users leveraging AMD’s hardware for advanced computing tasks.

Hot Take: Enhancing Windows 11 with AMD ROCm™ Software

As a crypto enthusiast, expanding your knowledge of running AMD ROCm™ software on Windows 11 can open up new possibilities for your machine learning and AI endeavors. By following this guide, you can seamlessly integrate powerful tools like Stable Diffusion into your Windows workflow, leveraging the capabilities of AMD Radeon™ RX 7000 Series graphics cards for enhanced performance.

Read Disclaimer
This content is aimed at sharing knowledge, it's not a direct proposal to transact, nor a prompt to engage in offers. Lolacoin.org doesn't provide expert advice regarding finance, tax, or legal matters. Caveat emptor applies when you utilize any products, services, or materials described in this post. In every interpretation of the law, either directly or by virtue of any negligence, neither our team nor the poster bears responsibility for any detriment or loss resulting. Dive into the details on Critical Disclaimers and Risk Disclosures.

Share it

Comprehensive guide on how AMD ROCm™ Software can be run on Windows 11 😊