Introducing the AMD 5th Gen EPYC™ CPU
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.
Related posts
- AMD + 🤗: Large Language Models Out-of-the-Box Acceleration with AMD GPU
Hugging Face easyNoviceHugging 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. Text Generation Inference gains initial MI210/MI250 support through a ROCm Docker image, with GeMM kernel tuning to reach performance parity. Benchmarks show one MI250 (two 64 GB ROCm devices) delivering over 2.33x the decode throughput and half the prefill latency of an A100 at large batch sizes. Its 128 GB memory also fits Llama 70B workloads that run out of memory on two A100-80GBs.
- Benchmarking Language Model Performance on 5th Gen Xeon at GCP
Hugging Face mediumAdeptOn 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. C4 costs about 1.3x more per hour, which works out to a 7x–19x TCO advantage for embedding and 1.7x–2.9x for generation. The post gives reproducible setup steps using optimum-benchmark with the optimum-intel IPEX backend in bfloat16, including NUMA binding and OpenMP settings. It argues that lightweight agentic AI pipelines built on small language models could run entirely on CPUs.
- Hugging Face on AMD Instinct MI300 GPU
Hugging Face easyNoviceHugging 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. TGI optimizations for MI300 include Flash Attention v2, Paged Attention, GPTQ/AWQ kernels, fused kernels, and PyTorch's ROCm TunableOp. TunableOp tunes GEMMs during server warmup and gives an 8-10% decode latency gain on small inputs. On Llama 3 70B, MI300X on Azure delivers 2-3x faster time to first token and 2x faster decoding than MI250, and roughly 2x faster LoRA fine-tuning. Its 192 GB HBM3 also fits the full ~140 GB fp16 model on a single GPU.
- Fast Inference on Large Language Models: BLOOMZ on Habana Gaudi2 Accelerator
Hugging Face mediumAdeptBLOOMZ (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. In batch-1 greedy generation of 100 tokens, Gaudi2 is 1.42x faster than an 8x A100 80GB setup on the 176B model (3.1 s vs 4.4 s) and 2.89x faster on BLOOMZ-7B. Unlike A100, Gaudi2 benefits from model parallelism on the 7B model. First-gen Gaudi (AWS DL1, about $13/hr) offers better price-performance than A100 for the 7B checkpoint, and the post includes commands to reproduce the benchmark or run generation over any Hugging Face dataset.
- Accelerate StarCoder with 🤗 Optimum Intel on Xeon: Q8/Q4 and Speculative Decoding
Hugging Face hardMasterCombining 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. INT8 static quantization gives roughly 2.2x on both time to first token and per-token latency. Groupwise 4-bit weight-only RTN gives 3.35x on per-token latency but slows the first token to 0.84x, because dequantization adds compute where the prefill phase is compute-bound while decoding is memory-bandwidth-bound. For assisted generation, an INT8 164M-parameter draft model that fits in CPU cache plus an INT8 target model works better than 4-bit, since verifying K tokens in parallel shifts the bottleneck back to compute. The resulting models load through optimum-intel's IPEXModelForCausalLM.