This repository provides optimized ROCm Library files tailored specifically for AMD GPUs, including the powerful gfx1103 found in the AMD 780M APU. These libraries are designed to significantly boost performance in popular applications like AI models (e.g., Llama, Stable Diffusion) within the ZLUDA CUDA Wrapper and other ROCm-based environments.
Here's a simplified guide on how to get started:
ROCmLibs.zip
file and the rocm gfx1103 AMD780M phoenix V3 for hip sdk 5.7.7z
(originally
ROCmLibsgfx1103.zip
) from this repository.ROCmLibs.zip
. Place the extracted library folder into your %HIP_PATH%\bin\rocblas directory,
renaming the existing "rocblas" folder (e.g., to "oldlibrary").rocblas.dll
file from the downloaded ROCmLibs.zip
into the rocblas\library folder within your
%HIP_PATH%\bin directory (example: C:\Program Files\AMD\ROCm\5.7\bin). Replace the original file.rocm gfx1103 AMD780M phoenix V3 for hip sdk 5.7.7z
into the same directory where you placed the ROCmLibs
folder.That's it! Your AMD GPU is now ready to harness the power of optimized ROCm libraries.
Performance Advantages:
You can expect significant performance gains, often 2-3 times faster than DirectML, in applications like:
Stable Diffusion
Support and Resources:
This repository is actively maintained and supports various AMD GPU architectures for Windows (gfx803;gfx900;gfx902;gfx90c;gfx90c:xnack-;gfx906;gfx940;gfx941;gfx942;gfx1010;gfx1010:xnack-;gfx1011; gfx1012;gfx1012:xnack- gfx1030; gfx1031; gfx1032;gfx1030; gfx1034; gfx1035; gfx1036; gfx1100; gfx1101; gfx1102; gfx1103
).
The builded ROCmlibs for the other arches listed above moved to released page .
For detailed instructions on adding support for additional GPUs, please refer to the wiki page.
For more information on using ROCmLibs in LM Studio on unsupported AMD GPUs, visit our dedicated wiki: LM Studio
Extracting Archives:
You'll need a program like 7-Zip or WinRAR to open the compressed .zip
and .7z
files in this repository.
ROCm for Linux:
While ROCm is available for Linux on the releases page, we recommend against using it directly. There are simpler and more
effective methods for achieving compatibility. The easiest approach is using the HSA_OVERRIDE_GFX_VERSION
environment variable. For example, setting export HSA_OVERRIDE_GFX_VERSION=11.0.0
can override your system's
default and provide support for gfx1103 and similar GPUs.
ROCm for Windows: For the AMD 780M APU on Windows, we recommend using one of these files:
Important:
Always choose the file version that matches your installed HIP SDK.
Selecting the Right ROCm Files:
Choose the appropriate .7z
file based on your AMD GPU architecture. Refer to the release page for a complete list of
supported architectures.
Creating Issues:
Please refrain from creating issues in this repository for unrelated topics like ollama-for-amd. If you encounter problems with those projects, please submit issues directly to the respective repositories. This helps us maintain a clear and organized workflow.
We appreciate your understanding and cooperation!
Let me know if you have any further questions or need assistance with your ROCm setup!