ZenDNN 6.1 Brings Performance-Qualified FP16 Inference to AMD EPYC CPUs
Home
Latest reporting
News
ZenDNN 6.1 introduces performance-qualified FP16 inference, DA8W4 quantization, and expanded vLLM compatibility for AMD 6th Gen EPYC CPUs.
ZenDNN 6.1, the latest release of AMD’s deep learning library, has introduced performance-qualified FP16 inference and DA8W4 quantization for AMD 6th Gen EPYC™ processors, codenamed “Venice.” Building on the foundational FP16 functional support introduced in ZenDNN 6.0, this update enhances inference performance, expands quantization capabilities, and integrates speculative decoding to reduce latency in autoregressive workloads.
Key Features and Enhancements
ZenDNN 6.1 delivers several advancements tailored for AMD EPYC CPUs:
FP16 Performance Qualification: FP16 inference moves from functional to performance-qualified status for operators such as MatMul, BatchMatMul, Embedding, Group MatMul (MoE), SDPA attention, RMS Norm, and Softmax. Custom kernels for FP16 Group MatMul and BatchMatMul optimization enhance performance on “Venice.”DA8W4 Quantization: Dynamic Activation 8-bit and Weight 4-bit quantization is now supported for dense and Mixture-of-Experts (MoE) models. This includes integration with the vLLM pipeline and support for fused MoE operations.Speculative Decoding: Added support for speculative decoding in vLLM, reducing latency for autoregressive inference tasks.Expanded Model Support: New use cases include RAG embedding models and audio models, which outperform vLLM without zentorch on AMD EPYC processors. Multimodal attention models like Whisper and Vision Transformer (ViT) also benefit from optimized Scaled Dot-Product Attention.Cache Optimization: FP8 KV cache and BF16/FP16 State Space Model (SSM) cache options improve memory efficiency for inference workloads.Sliding-Window Attention: Integrated in-kernel sliding-window SDPA with skip and shrink capabilities for long-context models.
vLLM Compatibility and Contributions
ZenDNN 6.1 extends compatibility with vLLM versions 0.27.0 through 0.31.0, contributing eight upstream pull requests. These include support for BF16 and INT8 MoE, DA8W4 dense and MoE layers, and W4A16 quantized Whisper models. The release also integrates distributed prefix caching via LMCache, enhancing multi-instance serving throughput.
Framework and Ecosystem Integration
The update supports PyTorch 2.13.0 and 2.14.1, TensorFlow 2.21.0, and Python versions 3.10 to 3.13. It also accelerates llama.cpp inference with Q8_0 (INT8) quantization and MoE model support via ZenDNN GroupGEMM. These integrations enable developers to leverage ZenDNN’s optimizations across a broad range of frameworks and workloads.
ZenDNN 6.1 marks a significant step forward in optimizing AI inference on AMD EPYC processors, providing developers with advanced tools for high-performance, low-latency workloads in data center environments.
