ROCm Configuration for AMD Radeon RX 7700 XT
December 6, 2025 ยท View on GitHub
Generated: 2025-12-06
ROCm Installation
| Property | Value |
|---|---|
| ROCm Version | 6.3.0-39 |
| ROCM_PATH | /opt/rocm |
| Installed Packages | 25 packages |
Installed ROCm Packages
| Package | Version | Description |
|---|---|---|
| rocm-core | 6.3.0.60300-39 | ROCm Runtime software stack |
| rocm-llvm | 18.0.0.24455.60300-39 | ROCm core compiler |
| rocm-device-libs | 1.0.0.60300-39 | Device libraries |
| hsa-rocr | 1.14.0.60300-39 | HSA Runtime for ROCm |
| rocblas | 4.3.0.60300-39 | BLAS library for ROCm |
| rocsolver | 3.27.0.60300-39 | Numerical linear algebra |
| rocalution | 3.2.1.60300-39 | Sparse linear systems |
| rccl | 2.21.5.60300-39 | Communication Collectives |
| rocm-smi-lib | 7.4.0.60300-39 | System Management Interface |
| rocminfo | 6.4.3-1 | System Info Reporting |
| comgr | 2.8.0.60300-39 | Code Object Manager |
| rocm-opencl-icd | 5.7.1-6 | OpenCL ICD runtime |
Critical Environment Variables
For proper GPU detection with gfx1101, set these environment variables:
# Required for gfx1101 (Navi 32) GPU compatibility
export HSA_OVERRIDE_GFX_VERSION=11.0.1
# ROCm path
export ROCM_PATH=/opt/rocm
# GPU visibility (optional, for multi-GPU systems)
export HIP_VISIBLE_DEVICES=0
export ROCR_VISIBLE_DEVICES=0
PyTorch ROCm Configuration
| Property | Value |
|---|---|
| PyTorch Version | 2.9.1+rocm6.3 |
| Installation Location | ~/.local/lib/python3.13/site-packages |
| ROCm/HIP Available | Yes |
| Device Count | 1 |
| Device Name | AMD Radeon Graphics |
| Available VRAM | 12.0 GB |
PyTorch Dependencies
- pytorch-triton-rocm 3.5.1
- torchaudio
- torchvision
- accelerate
- optimum
PyTorch GPU Test
import torch
print(f"PyTorch: {torch.__version__}")
print(f"ROCm/HIP available: {torch.cuda.is_available()}")
print(f"Device count: {torch.cuda.device_count()}")
print(f"Device name: {torch.cuda.get_device_name(0)}")
print(f"VRAM: {torch.cuda.get_device_properties(0).total_memory / 1024**3:.1f} GB")
Known Compatibility Notes
gfx1101 Considerations
The AMD Radeon RX 7700 XT (gfx1101) is part of the RDNA 3 architecture. Key notes:
-
HSA Override: The
HSA_OVERRIDE_GFX_VERSION=11.0.1environment variable is often required for proper GPU detection in ROCm applications. -
xformers: Not compatible with ROCm. Disable with:
export XFORMERS_DISABLED=1 export DISABLE_XFORMERS=1 -
CUDA Compatibility Layer: ROCm provides HIP which translates CUDA calls. In PyTorch,
torch.cudafunctions work with ROCm GPUs. -
Docker/Container Support: For containerized workloads, use
--device=/dev/kfd --device=/dev/driand pass ROCm-related environment variables.
Kernel Module Status
ROCk module is loaded
amdgpu kernel driver in use
HSA Agent Detection
The GPU is properly detected as HSA Agent 2:
- Name: gfx1101
- Type: GPU
- Feature: KERNEL_DISPATCH
- Profile: BASE_PROFILE