Platform
Windows
Lemonade Version
10.8.1
GPU / APU Model
PowerColor Red Devil AMD Radeon RX 6950 XT
Component
llama.cpp
Bug Description
std::string identify_rocm_arch_from_name(const std::string& device_name) in src/cpp/server/system_info.cpp is used to map an AMD GPU marketing name to its ROCm gfx architecture family. The RDNA2 detection branch (gfx103X) only includes four of the eight RX 6000 series model numbers:
device_lower.find("6800") || device_lower.find("6700") || device_lower.find("6600") || device_lower.find("6500")
For the following RDNA2 dGPU models, std::string identify_rocm_arch_from_name(const std::string& device_name) returns an empty string instead of gfx103X:
| Model |
| AMD Radeon RX 6950 XT |
| AMD Radeon RX 6900 XT |
| AMD Radeon RX 6900 |
| AMD Radeon RX 6750 XT |
| AMD Radeon RX 6650 XT |
Notes 📝:
I found this issue in version 10.8.0 due to the need for ROCm support for my dGPU model gfx1030.
Then the promising 10.8.1 with fix #2295 didn't worked for me.
After building the latest from main source, I still get the same "Unsupported GPU" when listing the backends.
Steps to Reproduce
- Have a PC with any of these AMD RDNA2 dGPUs: 6950 XT, 6900 XT, 6900, 6750 XT, 6650 XT
- Lemonade launches
- Check available backend list via app or cli
- Observe for ROCm "Unsupported GPU"
Expected vs Actual Behavior
std::string identify_rocm_arch_from_name(const std::string& device_name);
| Device Models |
Expected Result |
Current Result |
| AMD Radeon RX 6950 XT |
"gfx103X" |
"" |
| AMD Radeon RX 6900 XT |
"gfx103X" |
"" |
| AMD Radeon RX 6900 |
"gfx103X" |
"" |
| AMD Radeon RX 6750 XT |
'gfx103X" |
"" |
| AMD Radeon RX 6650 XT |
'gfx103X" |
"" |
Log Output
Additional Context
Platform
Windows
Lemonade Version
10.8.1
GPU / APU Model
PowerColor Red Devil AMD Radeon RX 6950 XT
Component
llama.cpp
Bug Description
std::string identify_rocm_arch_from_name(const std::string& device_name)insrc/cpp/server/system_info.cppis used to map an AMD GPU marketing name to its ROCmgfxarchitecture family. The RDNA2 detection branch (gfx103X) only includes four of the eight RX 6000 series model numbers:For the following RDNA2 dGPU models,
std::string identify_rocm_arch_from_name(const std::string& device_name)returns an empty string instead ofgfx103X:Notes 📝:
Steps to Reproduce
Expected vs Actual Behavior
std::string identify_rocm_arch_from_name(const std::string& device_name);"gfx103X""""gfx103X""""gfx103X"""'gfx103X"""'gfx103X"""Log Output
Additional Context
6500if no official support from ROCm?