Copyright © 2026 Authors retain the copyright of this article. This article is an open access article distributed under the Creative Commons Attribution License which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
@article{208335,
author = {Digvijay Phutane},
title = {Disk-Streamed Layerwise Inference of Frontier Language Models on Memory-Constrained Hardware},
journal = {International Journal of Innovative Research in Technology},
year = {2026},
volume = {13},
number = {4},
pages = {2625-2637},
issn = {2349-6002},
url = {https://ijirt.org/article?manuscript=208335},
abstract = {The localized execution of frontier large language models (LLMs) featuring 70 billion or more parameters is heavily bottlenecked by consumer-grade random-access memory (RAM) ceilings. This paper introduces digvijay_llm, an open-source Python library designed to facilitate the execution of 70B-class generative architectures on host systems restricted to 16 GB of volatile memory. By implementing an explicit disk-backed weight streaming framework, the library bypasses the requirement of maintaining the complete network topology within system memory. Instead, individual transformer layers are sequentially loaded from non-volatile storage (SSD/HDD) into RAM immediately prior to their respective forward mathematical passes and are purged directly afterward. The framework offers two distinct decoupled execution backends: a GGUF format engine that integrates memory-mapped configurations wrapping the llama.cpp runtime via llama-cpp-python, and a native safetensors streaming architecture built using low-level tensor dispatch hooks. To simplify deployment, an automated execution budget planner and hardware parameter detector are provided. Experimental validation demonstrates that while disk input/output (I/O) introduces predictable transaction costs, the framework ensures absolute process stability, systematically eliminating out-of-memory (OOM) faults and democratizing access to frontier-grade open AI weights on commodity devices.},
keywords = {Large Language Models, Disk Offloading, Memory-Mapped File I/O, Network Quantization, Low-Resource Systems.},
month = {September},
}
Submit your research paper and those of your network (friends, colleagues, or peers) through your IPN account, and receive 800 INR for each paper that gets published.
Join NowNational Conference on Sustainable Engineering and Management - 2024 Last Date: 15th March 2024
Submit inquiry