Running a Trillion-Parameter MoE Model Without a GPU: A Memory-First Practice
This article examines how a server with no discrete GPU, a 40-core third-generation Xeon Scalable processor, and discontinued Intel Optane Persistent Memory 200 series modules configured in App Direct mode ran a roughly 2.8-trillion-parameter Mixture-of-Experts model through llama.cpp. It explains why memory capacity, bandwidth, and access latency replace compute as the bottleneck, compares Memory Mode with App Direct, offers capacity and throughput estimation logic, sets realistic performance expectations, and covers thermal risks and engineering practices for offline workloads.
1. The Engineering Problem Behind the Setup
A widely shared community case is representative: an older server with no discrete GPU installed, equipped only with a 40-core third-generation Intel Xeon Scalable processor, ran a Mixture-of-Experts (MoE) model with roughly 2.8 trillion parameters. It relied not on video memory but on Intel’s discontinued Optane Persistent Memory 200 series, with up to 512GB per module, configured in App Direct mode so programs could read and write it directly as memory. It did not use Memory Mode, where persistent memory acts as a disk cache managed by the system. On the software side, the setup used a general-purpose CPU inference framework such as llama.cpp.
What makes this case worth discussing is not the appeal of “an old machine can run a large model.” It puts a frequently overlooked engineering fact on the table: once a model is too large to fit in any consumer-grade video memory pool, the inference bottleneck shifts from compute to memory capacity, memory bandwidth, and access latency. Understanding that shift is more valuable than memorizing a specific number.
2. Why Trillion-Parameter Models Have to Take the Memory Route
1. Parameter Count and the Hard Capacity Constraint
Take 2.8 trillion parameters as an example. Even at 1-bit quantization, the weights occupy hundreds of gigabytes; with the more common 8-bit or 16-bit representation, the size balloons to several terabytes. A consumer motherboard fully populated with memory modules cannot reach that capacity, and the video memory ceiling of consumer GPUs is an order of magnitude lower. The conclusion is straightforward: for this class of model, the first hurdle is fitting it in memory, not computing fast.
2. The MoE Architecture Changes the Compute Requirement
This model activates only about 104 billion parameters per token, and its official model card states a context length of 1.04 million tokens. The point of MoE is that total parameters determine the capacity threshold, while activated parameters determine the compute per token. This means you cannot bypass the capacity problem by “only computing the activated part”: all weights must still reside in addressable memory, and each forward pass simply reads a subset of them. That is the fundamental reason memory capacity is the first constraint while compute is relatively abundant.
3. Long Context Amplifies the Capacity Demand a Second Time
A 1.04-million-token context means the KV Cache alone can occupy tens of gigabytes or more, growing linearly with concurrency and sequence length. Capacity planning must account for three items together: weights, KV Cache, and runtime overhead. Estimating capacity from weight size alone is a common pitfall.
3. The Key Variable: Two Modes of Persistent Memory
Persistent memory has two typical uses in engineering, with completely different performance characteristics:
- Memory Mode: Persistent memory acts as an extension of DRAM, with the system migrating data in the background and the program unaware. The advantage is simple integration; the drawback is that you do not control the scheduling of hot and cold data, so a workload like inference, which reads the full weight set randomly, is prone to jitter.
- App Direct mode: Persistent memory is exposed to the application as a separate address space, and the program reads and writes it directly, bypassing the kernel’s file system and page cache path. In the case, 1-bit quantization delivered 0.85 token/s, and disabling DAX (direct access) raised it to 1.5 token/s, which shows that who moves the data can affect throughput by nearly a factor of two.
The capacity and throughput estimation logic can be written as pseudocode for rough sizing during selection:
weight_bytes = params * bits / 8kv_bytes = 2 * layers * kv_heads * head_dim * ctx_len * bytes_per_elem * batchtotal_bytes = weight_bytes + kv_bytes + runtime_overheadtokens_per_sec ≈ effective_bandwidth / bytes_read_per_token
Here bytes_read_per_token is roughly proportional to the activated parameter count rather than the total parameter count in an MoE model, which is the structural advantage of MoE over dense models in memory-constrained scenarios.
4. Performance Expectations: Accepting the Order of Magnitude
The numbers in the case need to be read correctly: about 0.75 token/s at 3-bit quantization, which means roughly 18.5 hours to generate 50,000 tokens; 0.85 to 1.5 token/s at 1-bit, which means waiting several minutes for a few hundred words. This is not a tuning failure but an inevitable result of memory latency dominance: the bottleneck of CPU inference is that every forward pass must move activated weights from persistent memory to the compute units, and bandwidth and latency together set the ceiling.
The reasonable positioning for this kind of setup is therefore latency-insensitive scenarios: offline batch processing, long-document summarization, corpus generation, algorithm validation, and model architecture research. It is not suited to interactive chat, code completion, or real-time customer service, which have explicit first-token latency requirements. Expectations only hold up when placed in the right scenarios.
5. Power and Cooling: The Commonly Underestimated Failure Point
Persistent memory is quite sensitive to temperature. Publicly available information puts the per-module power ceiling for this generation at about 18 watts, with throttling starting at a media temperature of 83 degrees Celsius and protective shutdown triggered at 85 degrees Celsius. With multiple modules fully populated, thermal density inside the chassis rises quickly, and insufficient airflow design can cause long-running jobs to throttle or even abort after a few hours. Engineering practice calls for three things: ensure chassis airflow and fan speed policies, add media temperature and power metrics to the monitoring and alerting system, and design checkpointing and resume capability for long jobs.
6. Engineering Recommendations
- Do the capacity math before choosing hardware: Estimate weights, KV Cache, and runtime overhead together, and leave more than 20% headroom.
- Set quantization bit width by task: 1-bit suits architecture validation, 3-bit to 4-bit is a compromise between capacity and quality, and each step down in bit width reduces capacity pressure but requires measured evaluation of output quality.
- Validate the memory access path first: Direct access mode and disabling unnecessary cache layers often yield more than switching CPU models.
- Treat long jobs as batch engineering: Task queues, checkpoints, failure retries, logging services, and monitoring alerts are all required.
- Cloud alternatives: If elasticity and low latency are the goal, general-purpose high-performance compute instances and container platforms can load model weights from object storage, with auto scaling to handle peaks, instead of filling a single machine’s memory all at once.
7. Conclusion
Running a trillion-parameter model without a GPU is not magic; it is a sound engineering solution under a specific combination of constraints: capacity first, bandwidth limited, latency negotiable. Its value lies in validating the structure and behavior of very large models at very low cost, at the price of an order-of-magnitude drop in throughput and extra investment in cooling design. Deciding whether to take this route comes down to one question: can your workload accept response times measured in hours? If yes, an older server plus large-capacity persistent memory is a genuinely viable path. If not, elastic compute, more aggressive quantization, and designs with fewer activated parameters are the main line.
