{"id":{"repo_id":"chicago","oai_identifier":"oai:knowledge.uchicago.edu:d037a-62j32"},"canonical_url":"https://search.ndltd.org/etd/chicago/oai:knowledge.uchicago.edu:d037a-62j32","repository":{"repo_id":"chicago","name":"University of Chicago","base_url":"https://knowledge.uchicago.edu/oai2d"},"display":{"title":"A Scalable Approach to Distributed Large Language Model Inference","abstract":"As the use of large language models (LLMs) expands rapidly, so does the intensity and scale of the workloads required to query LLMs. Thus, the requirements for serving LLMs evolve beyond single-instance deployment to large-scale distributed deployment. As most of today's LLM serving system optimizations focus only on speeding up a single serving instance, key techniques for distributed LLM deployments are still missing. The key contribution of this dissertation is the design and implementation of an efficient system for distributed LLM serving engine deployment. Our thesis is that by decoupling the inference states (KV caches) from the LLM serving engine, the performance of distributed LLM inference can be substantially improved. Unlike prior work, which treats the LLM serving engine as a black box and builds global orchestrators for serving engines, our approach uses a separate module to transfer, store, and share the KV caches across different serving engines. To prove this thesis, this dissertation provides a suite of techniques to address the follow- ing fundamental challenges. First, we need to offload the KV caches from serving engines and insert them back without impacting the LLM's runtime performance. Second, we need an efficient way to store, transmit, and compose KV caches across the whole distributed cluster. Third, we need a scalable way to manage the serving engines and schedule the requests to maximize the utilization of computing resources. Our key insight is that many KV caches can be reused across serving engines in the large-scale distributed setup. With the reused KV cache, the LLM can skip computationally intensive prefills and start generating outputs immediately. Based on the insight, we develop LMStack, an end-to-end software stack for distributed LLM deployment that can fully realize the potential of KV cache reuse. We have shown that our solution can substantially reduce the computational cost on real-world workloads, as well as provide better production-ready guarantees, including easy-deployment, automatic scaling, and fault tolerance. We have fully open-sourced LMStack at https://github.com/LMCache/LMCache and https://github.com/vllm-project/production-stack, where the former implements the KV cache offloading, storage, and transmission component and the latter includes the distributed cluster management.","abstract_html":"As the use of large language models (LLMs) expands rapidly, so does the intensity and scale of the workloads required to query LLMs. Thus, the requirements for serving LLMs evolve beyond single-instance deployment to large-scale distributed deployment. As most of today&#x27;s LLM serving system optimizations focus only on speeding up a single serving instance, key techniques for distributed LLM deployments are still missing. The key contribution of this dissertation is the design and implementation of an efficient system for distributed LLM serving engine deployment. Our thesis is that by decoupling the inference states (KV caches) from the LLM serving engine, the performance of distributed LLM inference can be substantially improved. Unlike prior work, which treats the LLM serving engine as a black box and builds global orchestrators for serving engines, our approach uses a separate module to transfer, store, and share the KV caches across different serving engines. To prove this thesis, this dissertation provides a suite of techniques to address the follow- ing fundamental challenges. First, we need to offload the KV caches from serving engines and insert them back without impacting the LLM&#x27;s runtime performance. Second, we need an efficient way to store, transmit, and compose KV caches across the whole distributed cluster. Third, we need a scalable way to manage the serving engines and schedule the requests to maximize the utilization of computing resources. Our key insight is that many KV caches can be reused across serving engines in the large-scale distributed setup. With the reused KV cache, the LLM can skip computationally intensive prefills and start generating outputs immediately. Based on the insight, we develop LMStack, an end-to-end software stack for distributed LLM deployment that can fully realize the potential of KV cache reuse. We have shown that our solution can substantially reduce the computational cost on real-world workloads, as well as provide better production-ready guarantees, including easy-deployment, automatic scaling, and fault tolerance. We have fully open-sourced LMStack at https://github.com/LMCache/LMCache and https://github.com/vllm-project/production-stack, where the former implements the KV cache offloading, storage, and transmission component and the latter includes the distributed cluster management.","abstract_has_math":false,"creators":["Cheng, Yihua"],"institution":"University of Chicago","degree_name":null,"degree_level":null,"degree_discipline":null,"degree_department":null,"school":null,"contributors":[],"advisors":["Jiang, Junchen"],"committee_chairs":[],"committee_members":[],"year":2025,"date_issued":"2025-03","date_published":"2025-03","updated_at":"2026-11-26T07:07:37Z","subjects":["Large Language Model","Distrbuted System","Computer Science"],"languages":["eng"],"rights":["Distribution License","© 2025 Yihua Cheng"],"rights_urls":["http://rightsstatements.org/vocab/InC/1.0/"],"identifier_entries":[{"key":"datacite:relatedidentifier.type","label":"Datacite Relatedidentifier Type","values":["DOI","URL"],"render_values":[{"text":"DOI","href":null,"code":true},{"text":"URL","href":null,"code":true}]},{"key":"dc:identifier.other","label":"Dc Identifier Other","values":["oai:knowledge.uchicago.edu:d037a-62j32","oai:uchicago.tind.io:14559"],"render_values":[{"text":"oai:knowledge.uchicago.edu:d037a-62j32","href":null,"code":true},{"text":"oai:uchicago.tind.io:14559","href":null,"code":true}]}],"person_identifier_entries":[{"key":"person:identifier.orcid","label":"ORCID","values":["0009-0006-3924-6886"],"render_values":[{"text":"0009-0006-3924-6886","href":"https://orcid.org/0009-0006-3924-6886","code":true}]}]},"links":{"outbound_url":"https://doi.org/10.6082/uchicago.14559","outbound_label":"DOI","outbound_source":"dc:identifier.doi","record_url":"https://doi.org/10.6082/uchicago.14559","record_label":"Repository record","record_kind":"doi","record_source":"dc:identifier.doi","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Achicago%3Aoai%3Aknowledge.uchicago.edu%3Ad037a-62j32","prefix":"oai_dc"},"source_record":{"url":"https://knowledge.uchicago.edu/oai2d?verb=GetRecord&metadataPrefix=datacite&identifier=oai%3Aknowledge.uchicago.edu%3Ad037a-62j32","prefix":"datacite"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.other","label":"Dc Contributor Other","values":["Pei, Kexin","Zhang, Hui"]},{"key":"dc:contributor.supervisor","label":"Supervisor","values":["Jiang, Junchen"]},{"key":"dc:creator","label":"Author","values":["Cheng, Yihua"]},{"key":"person:familyname","label":"Person Familyname","values":["Cheng","Jiang","Pei","Zhang"]},{"key":"person:givenname","label":"Person Givenname","values":["Yihua","Junchen","Kexin","Hui"]},{"key":"person:identifier.orcid","label":"ORCID","values":["0009-0006-3924-6886"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.issued","label":"Date","values":["2025-03"]},{"key":"dc:date.published","label":"Dc Date Published","values":["2025"]},{"key":"dc:date.updated","label":"Dc Date Updated","values":["2026-09-30"]},{"key":"dc:publisher","label":"Institution","values":["University of Chicago"]},{"key":"dc:relation.ispartof","label":"Dc Relation Ispartof","values":["https://knowledge.uchicago.edu/communities/physical-sciences-division/","https://knowledge.uchicago.edu/communities/uchicago-dissertations/"]},{"key":"dc:relation.isversionof","label":"Dc Relation Isversionof","values":["10.6082/39pfa-3jg65"]},{"key":"dc:type.datacite","label":"Dc Type Datacite","values":["Dissertation"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Large Language Model","Distrbuted System","Computer Science"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language","label":"Dc Language","values":["eng"]},{"key":"dc:rights","label":"Dc Rights","values":["Distribution License","© 2025 Yihua Cheng"]},{"key":"dc:rights.uri","label":"Rights URI","values":["http://rightsstatements.org/vocab/InC/1.0/"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.doi","label":"DOI","values":["10.6082/uchicago.14559"]},{"key":"dc:identifier.other","label":"Dc Identifier Other","values":["oai:knowledge.uchicago.edu:d037a-62j32","oai:uchicago.tind.io:14559"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"datacite:nametype","label":"Datacite Nametype","values":["Personal"]},{"key":"datacite:relatedidentifier.type","label":"Datacite Relatedidentifier Type","values":["DOI","URL"]},{"key":"dc:description.abstract","label":"Abstract","values":["As the use of large language models (LLMs) expands rapidly, so does the intensity and scale of the workloads required to query LLMs. Thus, the requirements for serving LLMs evolve beyond single-instance deployment to large-scale distributed deployment. As most of today's LLM serving system optimizations focus only on speeding up a single serving instance, key techniques for distributed LLM deployments are still missing. The key contribution of this dissertation is the design and implementation of an efficient system for distributed LLM serving engine deployment. Our thesis is that by decoupling the inference states (KV caches) from the LLM serving engine, the performance of distributed LLM inference can be substantially improved. Unlike prior work, which treats the LLM serving engine as a black box and builds global orchestrators for serving engines, our approach uses a separate module to transfer, store, and share the KV caches across different serving engines. To prove this thesis, this dissertation provides a suite of techniques to address the follow- ing fundamental challenges. First, we need to offload the KV caches from serving engines and insert them back without impacting the LLM's runtime performance. Second, we need an efficient way to store, transmit, and compose KV caches across the whole distributed cluster. Third, we need a scalable way to manage the serving engines and schedule the requests to maximize the utilization of computing resources. Our key insight is that many KV caches can be reused across serving engines in the large-scale distributed setup. With the reused KV cache, the LLM can skip computationally intensive prefills and start generating outputs immediately. Based on the insight, we develop LMStack, an end-to-end software stack for distributed LLM deployment that can fully realize the potential of KV cache reuse. We have shown that our solution can substantially reduce the computational cost on real-world workloads, as well as provide better production-ready guarantees, including easy-deployment, automatic scaling, and fault tolerance. We have fully open-sourced LMStack at https://github.com/LMCache/LMCache and https://github.com/vllm-project/production-stack, where the former implements the KV cache offloading, storage, and transmission component and the latter includes the distributed cluster management."]},{"key":"dc:title","label":"Title","values":["A Scalable Approach to Distributed Large Language Model Inference"]},{"key":"mods:affiliation","label":"Mods Affiliation","values":["University of Chicago"]}]}],"canonical_facts":{"datacite:nametype":["Personal"],"datacite:relatedidentifier.type":["DOI","URL"],"dc:contributor.other":["Pei, Kexin","Zhang, Hui"],"dc:contributor.supervisor":["Jiang, Junchen"],"dc:creator":["Cheng, Yihua"],"dc:date.issued":["2025-03"],"dc:date.published":["2025"],"dc:date.updated":["2026-09-30"],"dc:description.abstract":["As the use of large language models (LLMs) expands rapidly, so does the intensity and scale of the workloads required to query LLMs. Thus, the requirements for serving LLMs evolve beyond single-instance deployment to large-scale distributed deployment. As most of today's LLM serving system optimizations focus only on speeding up a single serving instance, key techniques for distributed LLM deployments are still missing. The key contribution of this dissertation is the design and implementation of an efficient system for distributed LLM serving engine deployment. Our thesis is that by decoupling the inference states (KV caches) from the LLM serving engine, the performance of distributed LLM inference can be substantially improved. Unlike prior work, which treats the LLM serving engine as a black box and builds global orchestrators for serving engines, our approach uses a separate module to transfer, store, and share the KV caches across different serving engines. To prove this thesis, this dissertation provides a suite of techniques to address the follow- ing fundamental challenges. First, we need to offload the KV caches from serving engines and insert them back without impacting the LLM's runtime performance. Second, we need an efficient way to store, transmit, and compose KV caches across the whole distributed cluster. Third, we need a scalable way to manage the serving engines and schedule the requests to maximize the utilization of computing resources. Our key insight is that many KV caches can be reused across serving engines in the large-scale distributed setup. With the reused KV cache, the LLM can skip computationally intensive prefills and start generating outputs immediately. Based on the insight, we develop LMStack, an end-to-end software stack for distributed LLM deployment that can fully realize the potential of KV cache reuse. We have shown that our solution can substantially reduce the computational cost on real-world workloads, as well as provide better production-ready guarantees, including easy-deployment, automatic scaling, and fault tolerance. We have fully open-sourced LMStack at https://github.com/LMCache/LMCache and https://github.com/vllm-project/production-stack, where the former implements the KV cache offloading, storage, and transmission component and the latter includes the distributed cluster management."],"dc:identifier.doi":["10.6082/uchicago.14559"],"dc:identifier.other":["oai:knowledge.uchicago.edu:d037a-62j32","oai:uchicago.tind.io:14559"],"dc:language":["eng"],"dc:publisher":["University of Chicago"],"dc:relation.ispartof":["https://knowledge.uchicago.edu/communities/physical-sciences-division/","https://knowledge.uchicago.edu/communities/uchicago-dissertations/"],"dc:relation.isversionof":["10.6082/39pfa-3jg65"],"dc:rights":["Distribution License","© 2025 Yihua Cheng"],"dc:rights.uri":["http://rightsstatements.org/vocab/InC/1.0/"],"dc:subject":["Large Language Model","Distrbuted System","Computer Science"],"dc:title":["A Scalable Approach to Distributed Large Language Model Inference"],"dc:type.datacite":["Dissertation"],"mods:affiliation":["University of Chicago"],"person:familyname":["Cheng","Jiang","Pei","Zhang"],"person:givenname":["Yihua","Junchen","Kexin","Hui"],"person:identifier.orcid":["0009-0006-3924-6886"]},"updated_at":"2026-11-26T07:07:37Z"}