Janas: Breakthrough in Large LLM Streaming from SSD ๐
Janas-LLM achieves remarkable performance with Qwen3-Next-80B model on a 32 GB laptop, showcasing SSD streaming capabilities over traditional approaches.
Introduction to Janas-LLM
Janas-LLM, a tool designed by Maurizio 'camauri' Cammalleri, enables the execution of large language models (LLMs) on standard computers. It streams the necessary model components from an SSD, allowing for the processing of models larger than the available RAM. This innovation is a significant leap forward in LLM accessibility and performance.
Performance Metrics
In tests conducted on a 32 GB laptop, Janas-LLM achieved an impressive 37 tokens per second (tok/s) with the Qwen3-Next-80B model, which has 48 GB of parameters. This is a stark contrast to llama.cpp, which managed only 2.8 tok/s. Reading speeds were also notably higher at 62 tok/s for Janas-LLM compared to 16 tok/s for llama.cpp.
Comparison with llama.cpp
Janas-LLM outperformed llama.cpp on all 13 models tested in the Q4_K_M comparison. The exception was the 3-bit Qwen3-30B model, which read prompts slower than llama.cpp but wrote three times as fast. This highlights the versatility of Janas-LLM across different model types.
Hardware Requirements
The testing was conducted on a Debian 13 Linux system with an Intel Core Ultra 9 185H processor, its integrated Arc GPU, and an NVMe SSD. The performance was consistent across both Linux and Windows 11 environments, with similar speeds observed on the Qwen3-4B and Qwen3-30B-A3B models.
Efficiency and Memory Management
Janas-LLM stores model weights on disk and streams the required tokens from an SSD. This approach allows for the efficient use of memory, as only the most frequently accessed tokens are kept in memory. The tool also includes a cache feature that limits memory usage to a specified amount, ensuring that the system remains stable even with large models.
โ'Janas-LLM allows for the processing of large LLMs on standard computers, breaking the traditional memory constraints.'โ
โ Maurizio 'camauri' Cammalleri
By Chaos Lab ยท ๅฆ็ญๆ็AI