Skip to content
Inference Academy

AMD MI300X vs NVIDIA H100 for LLM inference: specs, software and when AMD wins

How AMD's MI300X compares with NVIDIA's H100 for serving LLMs: 192 GB of memory and 5.3 TB/s against 80 GB and 3.35 TB/s, what that means for decode speed and concurrency, where ROCm still costs you time, and a checklist for trying AMD without betting the platform on it.

Key takeaways

  • MI300X has 2.4 times the H100's memory and about 1.6 times its bandwidth, so it wins on paper for memory-bound decode.
  • A 70B model in FP8 fits on one MI300X with about 100 GB left for KV cache; on H100 it needs at least two GPUs.
  • The hardware gap is real; the risk is software: kernel maturity, model coverage and operational tooling on ROCm.
  • vLLM and SGLang both run on ROCm, so the same serving code can target either vendor.
  • Trial AMD on one high-volume model with a fair benchmark before moving the fleet.

By

6 min read

Share
On this page

For years, "GPU for LLMs" meant NVIDIA. AMD's MI300X changed the conversation by shipping far more memory and bandwidth than the H100 at launch, and the major engines now run on it. Whether it's the right choice for you comes down to one question: does its hardware lead survive contact with your software stack?

#The specs side by side

NVIDIA H100 SXM AMD MI300X
Memory 80 GB HBM3 192 GB HBM3
Memory bandwidth 3.35 TB/s 5.3 TB/s
Dense FP8 compute about 1,979 TFLOP/s about 2,600 TFLOP/s
Dense BF16 compute about 989 TFLOP/s about 1,300 TFLOP/s
GPU-to-GPU links NVLink, 900 GB/s Infinity Fabric, about 900 GB/s aggregate
Power (up to) 700 W 750 W
Software CUDA ROCm (HIP)

Figures are the vendors' published peaks, rounded. Peaks are never reached in practice, and the fraction each GPU reaches depends heavily on kernel quality, which is where the two vendors differ most.

#What the specs mean for serving

Decode is bandwidth-bound (why memory bandwidth decides LLM speed), so at equal efficiency the MI300X would generate tokens about 1.6 times faster per GPU at small batch. For a 70B model in FP8 (about 71 GB of weights), assuming both reach 70% of peak bandwidth:

Batch-1 time per token Tokens per second
H100 (if it fit on one GPU) about 30 ms about 33
MI300X about 19 ms about 52

Memory decides concurrency. With about 10% reserved for runtime overhead, a single MI300X has about 102 GB free for KV cache after loading that 70B model. At 160 KiB per token (KV cache explained), that's about 620,000 tokens, or roughly 75 conversations of 8K tokens each, on one GPU.

On an H100 the same model doesn't fit with useful KV room, so you need tensor parallelism across at least two GPUs, with the communication that brings (parallelism explained). That's the MI300X's clearest advantage: big models as simple single-GPU replicas, and very large models (400B-class and big MoE models) on one 8-GPU node with 1.5 TB of total memory.

The fairer comparison today is often the H200 (141 GB, 4.8 TB/s), which closes much of the memory gap (H100 vs H200 vs B200). AMD's later MI325X (256 GB, 6 TB/s) and MI355X (288 GB, 8 TB/s, with FP4 and FP6 support) answer NVIDIA's newer parts in the same way: more memory per GPU.

#A node-level comparison

Per node of eight GPUs, the memory gap is large:

8 × H100 8 × MI300X
Total memory 640 GB 1,536 GB
Total bandwidth 26.8 TB/s 42.4 TB/s
70B FP8 layout One TP=8 replica (or two TP=4) Eight single-GPU replicas, or fewer with TP
KV cache room for that model about 505 GB about 815 GB (about 102 GB on each GPU)
Concurrent 8.7K-token sequences (FP8 cache) about 350 about 570

That's with the same assumptions as above (10% reserved, 160 KiB of FP8 cache per token, about 1.4 GB per long-chat sequence). The MI300X node holds roughly 60% more concurrent long conversations.

The layout choice matters too. Eight single-GPU replicas need no communication between GPUs and are simple to scale, but each replica reads all 71 GB of weights per decode step, so time per token is higher. For a tight per-token latency target, you'd use tensor parallelism on MI300X as well, trading some of the memory advantage for speed (parallelism explained).

#Running it

The usual path is a ROCm build of vLLM or SGLang in a container that matches your driver version:

bash
# Check the GPUs are visible and healthy
amd-smi list

# Serve with a ROCm build of vLLM (image and tag from AMD's or vLLM's docs)
vllm serve meta-llama/Llama-3.1-70B-Instruct --tensor-parallel-size 1 --max-model-len 16384

Engines expose ROCm-specific switches (for example to turn on AMD's AITER kernels in vLLM); check the current ROCm notes for your engine, since the best settings change between releases. For GPU selection, ROCm uses HIP_VISIBLE_DEVICES where CUDA uses CUDA_VISIBLE_DEVICES.

#The real question: software

The hardware numbers are not in dispute. The risk is everything around them.

  • Kernel maturity. Attention, GEMM, MoE and communication kernels on ROCm have improved quickly (AMD's AITER library and ROCm builds of vLLM and SGLang), but new model architectures and new techniques sometimes reach CUDA first and ROCm weeks or months later.
  • Precision formats. MI300X's FP8 uses a slightly different encoding (the "FNUZ" variant) from NVIDIA's OCP FP8. Engines handle the conversion, but FP8 checkpoints and calibration recipes made for NVIDIA may need re-checking. MI300X has no FP4.
  • Engine support. vLLM and SGLang run on ROCm and are the usual choice. TensorRT-LLM is NVIDIA-only (vLLM vs TensorRT-LLM).
  • Tooling. Profilers (rocprof rather than Nsight), monitoring (amd-smi rather than nvidia-smi and DCGM), Kubernetes device plugins and container images all exist but differ. Your dashboards and runbooks need porting.
  • Experience. Fewer engineers have debugged ROCm in production, and fewer answers exist online when something breaks.

None of these is a blocker. Together they mean the effective advantage on your workload may be smaller (or occasionally larger) than the spec sheet suggests. Only a benchmark tells you.

#When AMD is a good bet

Situation Why MI300X fits
Large dense models (70B and up) with long contexts Fits on one GPU; huge KV room
Very large MoE models 1.5 TB per node holds models that need two NVIDIA H100 nodes
Cost or supply pressure on NVIDIA Often available sooner or cheaper; check current quotes
A team comfortable reading engine code Can work around gaps quickly
Mainstream architectures (Llama, Qwen, DeepSeek families) Best-supported on ROCm

Be more cautious with brand-new architectures in their first weeks, heavy dependence on custom CUDA kernels, or a small team with no time to port tooling.

#How to trial AMD safely

  1. Pick one high-volume model on a mainstream architecture. Don't migrate everything.
  2. Use the same engine on both vendors (vLLM or SGLang), same model, same precision. If using FP8, re-check quality on both.
  3. Benchmark open-loop at your latency targets, comparing goodput rather than peak throughput (how to benchmark an LLM server).
  4. Compare cost per million tokens, using real quotes for both (cost per million tokens).
  5. Run a canary with a small share of production traffic for a few weeks, watching errors, tail latency and output quality.
  6. Port the operations layer: metrics, alerts, autoscaling, images. Budget engineering time for it.

If the cost per token at your latency target is meaningfully lower and the canary is clean, a mixed fleet behind one router gives you supply flexibility as well as savings.

#Questions to ask a cloud provider

  • Which ROCm version and driver do the machines run, and how quickly do you update them?
  • Which engine versions do you support, and do you provide tested images?
  • What's the GPU-to-GPU interconnect inside a node, and the network between nodes?
  • How are failed GPUs detected and replaced, and how fast?
  • Can I run a short paid trial on the exact instance type before committing?

#Common mistakes

  • Comparing spec sheets instead of goodput at your latency target.
  • Reusing NVIDIA FP8 checkpoints without checking that the engine handles the format correctly on AMD, and that quality holds.
  • Benchmarking an old ROCm build and concluding AMD is slow; kernel improvements arrive frequently.
  • Porting the serving layer but not the operations layer (dashboards, alerts, autoscaling, runbooks).

#FAQ

Is MI300X faster than H100 for LLM inference? On paper, for memory-bound decode, yes: about 1.6 times the bandwidth and 2.4 times the memory. In practice, the result depends on kernel maturity for your model and engine version. Benchmark it.

Can I use the same Docker images? No. You need ROCm builds of your engine; the serving code and API stay the same.

Does MI300X support FP4? No. FP4 and FP6 arrive with the MI350-series GPUs. On MI300X, FP8 is the lowest native floating-point format (FP8 vs INT4 vs FP4).

#Go deeper

Accelerators beyond NVIDIA compares AMD, Google TPU and other accelerators for inference, and GPU architecture for inference explains which hardware features matter and why. Both are part of the Inference Engineering course.

amdrocmgpushardwareinference-engineering

Found this useful?

Send it to someone who is learning the same thing.

Share this article

Next: learn it step by step, free

VRAM math

Weights, KV cache and overhead, worked out for real models, so you can size any machine. A free lesson with step-through diagrams and a quiz.

Get new articles by email

One short email when a new guide is out. Unsubscribe any time.