Saved in:
Bibliographic Details
Main Authors: Macario, Davide, Seferoglu, Hulya, Koyuncu, Erdem
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2505.18164
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912391752581120
author Macario, Davide
Seferoglu, Hulya
Koyuncu, Erdem
author_facet Macario, Davide
Seferoglu, Hulya
Koyuncu, Erdem
contents We introduce Model-Distributed Inference for Large-Language Models (MDI-LLM), a novel framework designed to facilitate the deployment of state-of-the-art large-language models (LLMs) across low-power devices at the edge. This is accomplished by dividing the model into multiple partitions, which are then assigned to different devices/nodes within the network. These nodes exchange intermediate activation vectors via device-to-device links, enabling collaborative computation. To enhance the efficiency of this process, we propose the "recurrent pipeline parallelism" technique, which reduces idle time on each device and facilitates parallel inference during the generation of multiple text sequences. By leveraging the combined computational resources of multiple edge devices, MDI-LLM enables the deployment of LLMs that exceed the memory capacity of individual devices, making it possible to perform inference on low-cost hardware. Furthermore, as the number of participating devices increases, MDI-LLM boosts token generation throughput and reduces memory consumption per device.
format Preprint
id arxiv_https___arxiv_org_abs_2505_18164
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Model-Distributed Inference for Large Language Models at the Edge
Macario, Davide
Seferoglu, Hulya
Koyuncu, Erdem
Machine Learning
Artificial Intelligence
We introduce Model-Distributed Inference for Large-Language Models (MDI-LLM), a novel framework designed to facilitate the deployment of state-of-the-art large-language models (LLMs) across low-power devices at the edge. This is accomplished by dividing the model into multiple partitions, which are then assigned to different devices/nodes within the network. These nodes exchange intermediate activation vectors via device-to-device links, enabling collaborative computation. To enhance the efficiency of this process, we propose the "recurrent pipeline parallelism" technique, which reduces idle time on each device and facilitates parallel inference during the generation of multiple text sequences. By leveraging the combined computational resources of multiple edge devices, MDI-LLM enables the deployment of LLMs that exceed the memory capacity of individual devices, making it possible to perform inference on low-cost hardware. Furthermore, as the number of participating devices increases, MDI-LLM boosts token generation throughput and reduces memory consumption per device.
title Model-Distributed Inference for Large Language Models at the Edge
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2505.18164