Janas: Breakthrough in Streaming LLMs from SSD
Janas-LLM achieves 37 tok/s on a 32 GB laptop, surpassing llama.cpp on all 13 models, marking a significant advancement in large language model streaming from SSD.
Introduction to Janas-LLM
Janas-LLM, developed by Maurizio 'camauri' Cammalleri, is a groundbreaking tool that allows large language models (LLMs) to run on ordinary computers, with or without a GPU. It achieves this by streaming the necessary experts from an SSD, keeping the weights on disk. This innovative approach enables running models larger than the available RAM, which is a significant leap in the field of LLMs.
Performance on a 32 GB Laptop
On a 32 GB laptop, Janas-LLM demonstrated remarkable performance with the Qwen3-Next-80B model, achieving 37 tokens per second (tok/s). This is notably faster than llama.cpp's 2.8 tok/s for the same model. The reading speed was also impressive, with 62 tok/s compared to llama.cpp's 16 tok/s.
Comparison with llama.cpp
Janas-LLM outperformed llama.cpp on all 13 models compared in the Q4_K_M benchmark. This includes the 3-bit Qwen3-30B, which, despite reading prompts slower than llama.cpp, writes three times as fast. The comparison was conducted on a Debian 13 Linux system with an Intel Core Ultra 9 185H processor and its integrated Arc GPU.
Platform Compatibility
Janas-LLM is compatible with Linux x86-64 (Ubuntu 22.04, Debian 12 and later) and Windows 10 (1903 or later) and 11, x86-64. Users can download and run the tool on these platforms without requiring additional dependencies beyond the C library.
Efficiency and Memory Management
The tool efficiently manages memory by keeping the weights on disk and streaming the necessary experts from an NVMe SSD. This approach allows for running large models like the 80-billion parameter model on a laptop with only 32 GB of RAM. The memory usage can be further controlled using the --cache option, which sets a hard limit on the memory it takes.
“Janas-LLM is a groundbreaking tool that allows large language models to run on ordinary computers, with or without a GPU.”
— Maurizio 'camauri' Cammalleri