🚀 AI Development with AMD ROCm — What Are You Building?

, ,

With AI workloads getting larger and more compute-intensive, ROCm is becoming an important part of the AMD developer ecosystem for running and optimizing AI workloads on AMD GPUs.

I’d love to hear from developers working with ROCm, PyTorch, AI/ML frameworks, and AMD Instinct GPUs:

  • What AI workloads are you currently running with ROCm?

  • How has your experience been with PyTorch + ROCm compared with your previous GPU environment?

  • Which ROCm features or tools have made the biggest difference for you?

  • Are you working on LLMs, generative AI, computer vision, inference, training, or HPC/AI workloads?

  • What are the biggest challenges you’ve encountered around performance, compatibility, debugging, or installation?

  • Which ROCm features would you most like to see improved in future releases?

One area I’m particularly interested in is AI inference optimization—especially techniques such as quantization, memory optimization, batching, and kernel-level tuning on AMD GPUs.

If you’ve benchmarked an AI model with ROCm, feel free to share your GPU, ROCm version, framework, model, workload, and performance results. It would be great to compare real-world developer experiences and learn from each other.

What are you building with ROCm? :backhand_index_pointing_down:

Honest answer: I’m at the start of this rather than in the middle, so treat this as a data point about onboarding rather than about ROCm in production.

I’m coming from the CUDA side, mostly ML infra and DevOps, and I haven’t run anything on AMD hardware yet. What I’ve built so far is the harness I wanted to exist before provisioning anything: a probe that reports what the stack actually is, meaning driver, whether torch is a ROCm build or a CPU-only wheel, visible devices, and which dtypes genuinely execute rather than what a capability flag claims; and a tiny training run that exits non-zero if the loss doesn’t fall, so it doubles as a CI gate and a post-provision check. Plus a ROCm container with the device plumbing actually written down.

On your question about the biggest challenges, two I can point at already without having touched the hardware:

Installation. pip install torch gives you a CPU-only wheel that will never see an AMD card, and nothing in the resulting error tells you that is what happened. It’s the first thing the probe checks, because the failure mode is silent.

Liveness checks that look right and aren’t. I was using the presence of /dev/kfd as the signal that a card was usable, until the MI300X numeric-formats thread in Cloud & Edge AI pointed out that /dev/kfd can be present on a card whose driver never bound. So the check reported healthy on precisely the failure it existed to catch. Whether rocminfo reports a gfx target is the honest test. I’d rather have learned that from a forum post than from a confused afternoon.

The thing I’d most like to see improved isn’t in ROCm itself, it’s that container device access is basically folklore: /dev/kfd, /dev/dri, the render and video groups, ipc host, an shm_size that isn’t 64MB. The Containers subcategory under ROCm Developers > AI/HPC Infrastructure currently has no topics in it at all, which is roughly the point.

On inference optimization specifically, since you raised quantization: worth reading that same numeric-formats thread before planning anything on gfx942. fp8 there is e4m3fnuz rather than the e4m3fn that Hub checkpoints carry, and 448 round-trips to NaN across that split, so pre-quantized fp8 checkpoints are not drop-in. Quantizing online from bf16 seems to be the working answer.