paper-with-me

Papers

Optimizing LLMs Using Quantization for Mobile Execution

2025-12-06 · Agatsya Yadav, Renta Chintala Bhargavi arxiv

Large Language Models (LLMs) offer powerful capabilities, but their significant size and computational requirements hinder deployment on resource-constrained mobile devices. This paper investigates Post-Training Quantization (PTQ) for compressing LLMs for mobile execution. We apply 4-bit PTQ using the BitsAndBytes library with the Hugging Face Transformers framework to Meta's Llama 3.2 3B model. The quantized model is converted to GGUF format using llama.cpp tools for optimized mobile inference. The PTQ workflow achieves a 68.66% reduction in model size through 4-bit quantization, enabling the Llama 3.2 3B model to run efficiently on an Android device. Qualitative validation shows that the 4-bit quantized model can perform inference tasks successfully. We demonstrate the feasibility of running the quantized GGUF model on an Android device using the Termux environment and the Ollama framework. PTQ, especially at 4-bit precision combined with mobile-optimized formats like GGUF, provides a practical pathway for deploying capable LLMs on mobile devices, balancing model size and performance.

📄 PDF Abstract BibTeX arXiv:2512.06490

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

LLMPi: Optimizing LLMs for High-Throughput on Raspberry Pi

2025-04-02 · Mahsa Ardakani, Jinendra Malekar, Ramtin Zand

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…

Computational EfficiencyQuantization

MobileQuant: Mobile-friendly Quantization for On-device Language Models

2024-08-25 · Fuwen Tan, Royson Lee, Łukasz Dudziak, Shell Xu Hu 외

Large language models (LLMs) have revolutionized language processing, delivering outstanding results across multiple applications. However, deploying LLMs on edge devices poses several challenges with respect to memory, …

Quantization

PalmBench: A Comprehensive Benchmark of Compressed Large Language Models on Mobile Platforms

2024-10-05 · Yilong Li, Jingyu Liu, Hao Zhang, M Badri Narayanan 외

Deploying large language models (LLMs) locally on mobile devices is advantageous in scenarios where transmitting data to remote cloud servers is either undesirable due to privacy concerns or impractical due to network co…

BenchmarkingGPUQuantization

Hardware optimization on Android for inference of AI models

2025-11-17 · Iulius Gherasim, Carlos García Sánchez arxiv

The pervasive integration of Artificial Intelligence models into contemporary mobile computing is notable across numerous use cases, from virtual assistants to advanced image processing. Optimizing the mobile user experi…

Image ClassificationObject Detection

MELTing point: Mobile Evaluation of Language Transformers

2024-03-19 · Stefanos Laskaridis, Kleomenis Katevas, Lorenzo Minto, Hamed Haddadi

Transformers have revolutionized the machine learning landscape, gradually making their way into everyday tasks and equipping our computers with "sparks of intelligence". However, their runtime requirements have prevente…

BenchmarkingQuantization