ZICQ
中 Log in / Sign up
ZICQ Info LLMs & Foundation Models #Janas #Open-Source Model #LLM Inference #SSD Streaming #Memory Optimization

Janas Open-Sourced: Stream Experts from SSD to Run LLMs Beyond RAM Limits

Avatar of Mr.Xu

By Mr.Xu Community Post

Published:

中文阅读 (Chinese) English Version

Summary:Janas, an open-source project by Prabanta Dev, addresses the high memory consumption issue in Large Language Model (LLM) inference by streaming model experts from SSD to RAM on-demand. This approach allows running models larger than the available system memory, leveraging a novel expert streaming architecture that reduces memory requirements while maintaining high inference efficiency. This breakthrough offers a new solution for LLM deployment in resource-constrained environments.


Technical Mechanism Analysis

The core mechanism of Janas involves dynamically streaming expert modules of Large Language Models (LLMs) from Solid State Drives (SSDs) to RAM, enabling inference of models larger than the available system memory. The key technical features include:

  1. Expert Streaming: Janas divides the model into multiple expert modules, each loaded dynamically based on inference requirements. This approach avoids the high memory demand of loading the entire model into RAM at once.

  2. SSD and RAM Collaboration: By leveraging efficient I/O scheduling, Janas maintains inference speed while expanding the effective memory capacity using the storage advantages of SSDs.

  3. Dynamic Scheduling and Cache Optimization: Janas employs an intelligent scheduling algorithm to predict and preload the required expert modules, and uses caching to reduce delays from repeated loading.

Engineering Trade-offs and Performance

While Janas enables LLM inference beyond RAM limits, it also involves certain engineering trade-offs:

  • Latency vs. Throughput: Although streaming reduces memory usage, frequent I/O operations may introduce latency. Janas mitigates this with caching and preloading, but further optimization is needed for high-concurrency scenarios.

  • SSD Durability and Performance: Frequent read/write operations can impact SSD lifespan. Janas extends SSD longevity through optimized read/write strategies and load balancing, but hardware wear remains a concern under extreme loads.

In tests, Janas' inference speed was only about 15% slower than traditional methods when handling models exceeding RAM capacity by 50%, and it showed significant performance advantages in memory-constrained environments.

Developer Deployment and Recommendations

For developers, Janas offers a flexible and efficient LLM inference solution, particularly suitable for the following scenarios:

  • Resource-Constrained Environments: In devices with limited memory but requiring large models, Janas can significantly reduce memory demand.

  • Edge Computing and IoT: Deploying LLMs on edge devices, Janas' streaming mechanism effectively utilizes limited hardware resources.

  • Cost-Effective Deployment: For users with budget constraints but needing high-performance LLM inference, Janas provides a low-cost, high-efficiency solution.

Developers are advised to adjust caching strategies and preloading parameters based on specific application scenarios for optimal performance. Additionally, monitoring SSD read/write load is recommended to prevent hardware overwear.


Source: GitHub Projects via Hacker News (2026-10-12)

— END —

Tags: #Janas #Open-Source Model #LLM Inference #SSD Streaming #Memory Optimization

Editorial & Fact-Checking Note: This article is compiled from primary research, official release documentation, and source papers by the ZICQ Newsroom pipeline with automated entity verification and human editorial review. If you notice any technical inaccuracy, please submit a correction via our corrections policy or email our editorial desk directly.

Community Comments

Loading live comments and annotations…