Skip to content

vllm.platforms.zen_cpu

Classes:

  • ZenCpuPlatform –

    CPU platform with AMD Zen (ZenDNN/zentorch) optimizations.

ZenCpuPlatform

Bases: CpuPlatform

CPU platform with AMD Zen (ZenDNN/zentorch) optimizations.

Model-load time (dispatch_cpu_unquantized_gemm in layers/utils.py): - Routes linear ops to zentorch_linear_unary. - When VLLM_ZENTORCH_WEIGHT_PREPACK=1 (default), eagerly prepacks weights via zentorch_weight_prepack_for_linear.