Hugging Face and AMD have been quietly building something that matters for anyone tired of NVIDIA’s grip on AI hardware. For about a year, the two companies have worked to make AMD’s accelerators — Instinct GPUs, Radeon GPUs, EPYC and Ryzen CPUs, and Ryzen AI NPUs — first-class citizens across the Hugging Face platform. The latest result: full support for AMD Instinct MI300 GPUs, including on Azure ND MI300x V5 virtual machines, with no code changes required whether you’re using transformers, text-generation-inference (TGI), or other Hugging Face libraries.
The engineering work went deeper than just compatibility. Hugging Face migrated its CI/CD infrastructure to a managed Kubernetes cluster that schedules GitHub workflows on hardware-specific pods, meaning the same test pipeline now runs across MI250 and MI300 GPUs without developers having to think about the underlying silicon. Tens of thousands of unit tests now validate transformers and TGI on AMD hardware regularly — a signal that this isn’t a one-off announcement but a maintained commitment.
On the inference side, Hugging Face engineers worked with AMD to optimize TGI’s modeling layer for the Meta Llama family on MI300. The work centered on Flash Attention v2, Paged Attention, GPTQ and AWQ compression techniques, PyTorch’s ROCm TunableOp, and optimized fused kernels. TunableOp, which landed in PyTorch 2.3, is particularly interesting — it searches for the most efficient kernel configurations at runtime, which matters on a platform as fresh as MI300 where optimal settings aren’t yet common knowledge.
The standard NVIDIA-centric AI stack has been the default for so long that genuine alternatives often get dismissed. But Hugging Face’s approach here is pragmatic: they’re not asking developers to learn a new framework or rewrite inference code. They’re making the hardware disappear behind the same APIs people already use. If AMD can keep closing the performance gap — and Hugging Face keeps validating it with actual test suites rather than marketing slides — the economics of AI inference could shift faster than many expect.