LLM System

The deployment of Large Language Models (LLMs) poses significant challenges on cost and design complexity, as training and serving LLMs demand vast computational throughput and enormous memory capacity. Our group conducted research on identifying performance bottlenecks for LLM workloads, integrating heterogeneous hardware components including CPUs, GPUs, FPGAs, and CXL devices into design, targeting on cost-efficient and high-performance LLM systems.

As Large Language Models continue to grow -- now encompassing billions of parameters -- scaling them with GPU-only clusters becomes both costly and power-hungry. Yet in most deployments, CPUs, main memory, and network interfaces remain under-leveraged. By matching different stages of the LLM workload with the hardware best suited to its computational characteristic, we extract far greater efficiency. For instance, Intel’s introduction of Advanced Matrix Extension (AMX) units unlock high-throughput matrix operations directly on the CPU, enabling selective offload of smaller computation kernels from the GPU. Meanwhile, to tackle the huge memory requirements of LLMs, CXL memory expanders are leveraged to increase capacity and bandwidth. In concert, these heterogeneous building blocks yield an LLM framework that not only meets escalating compute and capacity demands but does so with significantly lower cost and power footprints.

CPU-GPU Cooperative LLM Inference

The Architecture of Advanced Matrix Extension (AMX) Unit in CPU.

With the introduction of Intel AMX units starting from 4th Gen Intel® Xeon® Scalable processors, the matrix operations can be completed efficiently on multi-core CPUs. We first provide a comprehensive characterization of AMX, comparing it with Advanced Vector Extension (AVX) units on CPU, NVIDIA P100, V100, A100, and H100 GPU (Kim et al., 2024 ), providing valuable insights on the integration of AMX units in LLM system design.

Building on our characterization results, we propose a cost-effective LLM inference system that leverages a single CPU and a single GPU. By pinpointing data transfer between the CPU and GPU as the primary bottleneck in existing SoTA setups, we aim to offload more computation onto the CPU’s AMX units, thereby minimizing PCIe traffic. A performance model, incorporating GPU and AMX compute throughputs, PCIe bandwidth, and memory bandwidth, determines the optimal offloading strategy. This AMX-aware framework extends Intel® Extension for PyTorch (IPEX) to enable seamless, cooperative CPU–GPU inference (Kim et al., 2025 ).

References

2025

  1. LIA: A single-GPU LLM inference acceleration with cooperative AMX-enabled CPU-GPU computation and CXL offloading
    Hyungyo Kim, Nachuan Wang, Qirong Xia, Jinghan Huang, Amir Yazdanbakhsh, and Nam Sung Kim
    IEEE/ACM International Symposium on Computer Architecture (ISCA) , Jun 2025

2024

  1. CAL
    Exploiting Intel® Advanced Matrix Extensions (AMX) for Large Language Model Inference
    Hyungyo Kim, Gaohan Ye, Nachuan Wang, Amir Yazdanbakhsh, and Nam Sung Kim
    IEEE Computer Architecture Letters , Jun 2024