Santa Clara University
Accelerating LLM Inference with Smart NIC Tokenization and Caching
Abstract
dc:description.abstractTokenization is a critical preprocessing step in machine learning pipelines, particularly for generative AI models such as large language models (LLMs). Despite significant advances in training and inference technologies, tokenization continues to be a notable performance bottleneck due to its CPU-bound nature and limited acceleration support. This thesis proposes NetTokenizer, a system designed to offload tokenization from CPUs to network data planes. Utilizing software frameworks such as the Data Plane Development Kit (DPDK) and hardware-based SmartNIC solutions, NetTokenizer substantially improves inference efficiency. Experimental evaluations demonstrate up to a 95.9% reduction in tail latency and a 5.73x throughput increase compared to conventional CPU-based methods. This research provides a comprehensive analysis and practical foundation for deploying in-network tokenization solutions to enhance ML inference pipelines.
Degree
thesis:*- Name thesis:degree_name
- Master of Science (MS)
- Level thesis:degree_level
- Thesis
- Discipline thesis:degree_discipline
- Computer Science and Engineering
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Mehta, Sudarshan
- Contributors dc:contributor
-
- Sean Choi
Subjects
dc:subject × 2Identifiers
dc:identifier.*- Repository record dc:identifier
- https://scholarcommons.scu.edu/cseng_mstr/52