LLMPi: Optimizing LLMs for High-Throughput on Raspberry Pi

Mahsa Ardakani, Jinendra Malekar, Ramtin Zand
4/2/2025
cs.LGcs.AI

No confident code implementation found for this paper.

Abstract

Deploying Large Language Models (LLMs) on resource-constrained edge devices like the Raspberry Pi presents challenges in computational efficiency, power consumption, and response latency. This paper explores quantization-based optimization techniques to enable high-throughput, energy-efficient execution of LLMs on low-power embedded systems. Our approach leverages k-quantization, a Post-Training Quantization (PTQ) method designed for different bit-widths, enabling efficient 2-bit, 4-bit, 6-bit, and 8-bit weight quantization. Additionally, we employ ternary quantization using Quantization-Aware Training (QAT) for BitNet models, allowing for more effective adaptation to lower-bit representations while preserving accuracy. Our findings highlight the potential of quantized LLMs for real-time conversational AI on edge devices, paving the way for low-power, high-efficiency AI deployment in mobile and embedded applications. This study demonstrates that aggressive quantization strategies can significantly reduce energy consumption while maintaining inference quality, making LLMs practical for resource-limited environments.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{ardakani2025llmpi,
  title  = {LLMPi: Optimizing LLMs for High-Throughput on Raspberry Pi},
  author = {Mahsa Ardakani and Jinendra Malekar and Ramtin Zand},
  year   = {2025},
  eprint = {2504.02118},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.02118v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2504.02118.svg)](https://codeofpaper.com/paper/2504.02118)

Discussion