---
title: "Introducing the AMD 5th Gen EPYC™ CPU"
description: "AMD's 5th-gen EPYC \"Turin\" server CPU (Zen5, up to 192 cores/384 threads) delivers roughly 2X the LLM decode throughput of the previous-gen Genoa in Hugging Face's benchmarks of Llama 3.1 8B Instruct."
url: "https://swe.quest/articles/introducing-the-amd-5th-gen-epyctm-cpu-6391410f34a61546"
canonical: "https://huggingface.co/blog/huggingface-amd-turin"
source: "Hugging Face"
published: "2024-10-10"
difficulty: "easy"
kind: "Announcement"
reading_minutes: 3
tags: ["inference","hardware","performance","llms"]
---

# Introducing the AMD 5th Gen EPYC™ CPU

A post on [Hugging Face](https://swe.quest/sources/hugging-face.md), published 2024-10-10, 3 min read, Announcement. Original: [https://huggingface.co/blog/huggingface-amd-turin](https://huggingface.co/blog/huggingface-amd-turin)

## Summary

AMD's 5th-gen EPYC "Turin" server CPU (Zen5, up to 192 cores/384 threads) delivers roughly 2X the LLM decode throughput of the previous-gen Genoa in Hugging Face's benchmarks of Llama 3.1 8B Instruct. The tests used bfloat16, ZenDNN 5.0 via the zentorch plugin as a torch.compile backend, and multi-instance setups with 32 physical cores per model instance, at batch sizes 16 and 32. Five workloads (summarization, chatbot, translation, essay writing, live captioning) were measured. An optimized Dockerfile and the benchmarking code built on optimum-benchmark are promised for later release.

Written by swe.quest, not by the author.

**Difficulty:** Easy: no special background needed; explains what something is and why it matters

## Topics

- [Inference & serving](https://swe.quest/tags/inference.md) (AI & ML)
- [Hardware](https://swe.quest/tags/hardware.md) (Infrastructure)
- [Performance engineering](https://swe.quest/tags/performance.md) (Reliability & operations)
- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)

## Prerequisites

- LLM inference basics ([easy posts on Inference & serving](https://swe.quest/tags/inference.md?difficulty=easy))
- PyTorch torch.compile

## Keywords

AMD EPYC Turin, AMD Genoa, ZenDNN, zentorch, torch.compile, Llama 3.1 8B, optimum-benchmark, Zen5

## Related posts

- [AMD + 🤗: Large Language Models Out-of-the-Box Acceleration with AMD GPU](https://swe.quest/articles/amd-large-language-models-out-of-the-box-acceleration-with-amd-gpu-fa18508c54402fa1.md): Hugging Face · 2023-12-05 · Easy · 7 min read · Inference & serving, Hardware, LLMs, Performance engineering
  Hugging Face Transformers now runs all models and tasks on AMD Instinct GPUs with no code changes versus NVIDIA, backed by ROCm support for Flash Attention v2, vLLM Paged Attention, DeepSpeed, GPTQ via AutoGPTQ, ONNX Runtime's ROCMExecutionProvider, and Optimum-Benchmark.
- [Benchmarking Language Model Performance on 5th Gen Xeon at GCP](https://swe.quest/articles/benchmarking-language-model-performance-on-5th-gen-xeon-at-gcp-7e85a320d2818cb1.md): Hugging Face · 2024-12-17 · Medium · 6 min read · Inference & serving, Performance engineering, Hardware, Cloud platforms, LLMs
  On Google Cloud, C4 instances (5th Gen Xeon Emerald Rapids with AMX) deliver 10x–24x higher throughput than N2 instances (3rd Gen Ice Lake, AVX-512 only) for text embedding with UAE-Large-V1, and 2.3x–3.6x higher throughput for Llama 3.2 3B text generation.
- [Hugging Face on AMD Instinct MI300 GPU](https://swe.quest/articles/hugging-face-on-amd-instinct-mi300-gpu-f116bf43c7c06916.md): Hugging Face · 2024-05-21 · Easy · 7 min read · Inference & serving, Hardware, LLMs, Performance engineering, Model training
  Hugging Face's transformers and text-generation-inference (TGI) now run on AMD Instinct MI300X GPUs with no code changes, backed by a Kubernetes-scheduled CI pipeline that runs tens of thousands of unit tests on MI250 and MI300 hardware.
- [Fast Inference on Large Language Models: BLOOMZ on Habana Gaudi2 Accelerator](https://swe.quest/articles/fast-inference-on-large-language-models-bloomz-on-habana-gaudi2-accelerator-b18b18c9b1b881f4.md): Hugging Face · 2023-03-28 · Medium · 8 min read · Inference & serving, LLMs, Hardware, Performance engineering
  BLOOMZ (176B parameters, 352 GB in 16-bit) runs inference on a single 8-HPU Habana Gaudi2 server using Optimum Habana with Habana's DeepSpeed-inference fork, HPU graphs and a KV cache.
- [Accelerate StarCoder with 🤗 Optimum Intel on Xeon: Q8/Q4 and Speculative Decoding](https://swe.quest/articles/accelerate-starcoder-with-optimum-intel-on-xeon-q8-q4-and-speculative-decoding-3e5a7bd24523d940.md): Hugging Face · 2024-01-30 · Hard · 9 min read · Inference & serving, LLMs, Performance engineering, Hardware, AI for coding
  Combining INT8 SmoothQuant quantization with assisted generation (speculative decoding) speeds up StarCoder-15B inference on 4th Gen Intel Xeon by about 7.3x in time per output token, with no loss on HumanEval pass@1.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
