mirror of
https://github.com/kvcache-ai/ktransformers.git
synced 2026-11-05 01:07:28 +00:00
[GH-ISSUE #2115] ROCm Support for Dual AMD Radeon Pro V620 (GLM-5.2) #1283
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/ktransformers#1283
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @DrSchnitzel57 on GitHub (Jul 31, 2026).
Original GitHub issue: https://github.com/kvcache-ai/ktransformers/issues/2115
Reminder
System Info
System Specifications & Environment
OS: Ubuntu 26.04
GPUs: 2x AMD Radeon Pro V620 (RDNA 2 / gfx1030)
Environment: Miniconda3 (kt_amd environment)
Dependencies: ROCm-compatible PyTorch, ktransformers v0.6.4 (installed from source via pip install .)
Native ROCm: 7.1 (System default)
Target ROCm: 6.4 (Attempted for compatibility)
Model: GLM-5.2 (GGUF format: UD-IQ2_M) or deepseek v4 flash
Reproduction
Others
I cannot get it to run. After a ton of tinkering I got it to build, but it will not run.
Initial Attempt (ktransformers): Tried running via local_chat.py, but encountered structural changes in ktransformers v0.6.4 that required transitioning to the sglang server-client model.
ROCm Version Conflict: Encountered environment conflicts between Ubuntu 26.04's native ROCm 7.1 packages and the ROCm 6.4 requirement for the ktransformers/sglang stack.
Source Compilation Attempt: Attempted to compile the sgl-kernel dependency from source to explicitly support gfx1030.
Compilation Failures: Installed the ROCm 6.4 developer toolchain (rocm-developer-tools, hip-dev, rocm-llvm) alongside a Conda environment, but compilation repeatedly failed due to:
Missing hipcc compiler detection.
Persistent path misconfigurations during the build process, preventing the C++ GPU kernels from compiling for AMD hardware.
Is there a planned path for ROCm 7.1 support?
Are there pre-compiled wheels planned for gfx1030, or is there a recommended workaround for the hipcc pathing issues when compiling sgl-kernel from source on newer Ubuntu distributions?