Running Trillion-Parameter Models Without a GPU: A Persistent Memory Approach

    This article explains how a server without a dedicated GPU can run an extremely large mixture-of-experts model (2.8 trillion total parameters) by combining low-bit quantization with large-capacity persistent memory. It breaks down the storage requirements, the role of persistent memory, measured inference speeds, power and thermal considerations, and why this approach suits validation and offline experiments rather than interactive use. The goal is to help readers understand the separate constraints of capacity, bandwidth, latency, and compute when deploying giant models on CPU-only hardware.

    Why a GPU Is Not Strictly Required for Large-Model Inference

    Most people assume that running a large model requires high-end GPUs, large VRAM, and complex accelerator clusters. From an engineering perspective, however, a GPU is not the only condition for inference. As long as the computing device has sufficient storage capacity, memory bandwidth, and compatible inference software, a model can theoretically be loaded and executed on the CPU using system memory.

    Recently, a developer used an older server with a 40-core processor and no discrete GPU to load a mixture-of-experts model with 2.8 trillion total parameters. The key was not the server’s raw compute power but its use of high-capacity persistent memory, configured as directly accessible memory space for the application.

    This demonstrates that deploying a large model is first a capacity problem, and only secondarily a compute problem. If the model weights cannot fully fit into memory, even the most powerful CPU cannot run inference correctly. Once the model is loaded, CPU performance, memory bandwidth, and data access paths determine the final speed.

    2.8 Trillion Parameters Does Not Mean All Are Used Every Time

    The model uses a mixture-of-experts (MoE) architecture. Unlike dense models, an MoE model contains multiple expert modules, and a routing mechanism selects only a subset of them based on the input.

    The model has 2.8 trillion total parameters, but each input token activates only about 104 billion parameters. This design keeps a large model capacity while lowering the computation required per inference step.

    However, “activating only some parameters” does not mean only the activated weights need to be stored. To handle different inputs, the complete weight set must still reside in memory, or at least be accessible on demand. MoE mainly reduces compute overhead; it does not fully solve the memory footprint problem.

    Additionally, the model supports context lengths beyond one million tokens. The longer the context, the more key-value caches and intermediate data grow. In practice, memory usage is composed of:

    1. Model weights
    2. Token embedding and output layer parameters
    3. Key-value caches
    4. Inference framework runtime overhead
    5. OS and file-mapping space
    6. Temporary buffers and thread scheduling space

    Even with very low-bit quantization, deploying a huge model still requires hundreds of gigabytes or more of memory.

    Low-Bit Quantization Is a Core Enabler

    If stored in traditional high-precision formats, 2.8 trillion parameters would occupy several terabytes, which is impractical for most servers. Quantization reduces the number of bits per parameter, trading accuracy for much lower memory requirements.

    A rough estimate:

    • 16-bit precision: ~2 bytes per parameter
    • 8-bit quantization: ~1 byte per parameter
    • 4-bit quantization: ~0.5 bytes per parameter
    • 3-bit quantization: ~0.375 bytes per parameter
    • 1-bit quantization: ~0.125 bytes per parameter

    Even at 1-bit quantization, the weights alone could require hundreds of gigabytes. Actual usage is also affected by grouping scale factors, metadata, alignment, and runtime caches, so you cannot plan solely from the theoretical parameter count.

    Quantization is not just “compressing a file.” It affects model accuracy, memory access efficiency, and the compute pipeline. Lower bit widths often lead to degraded output quality, increased factual errors, and reduced stability over long contexts. For local experiments, 1-bit or 3-bit quantization can significantly lower the entry barrier; for production tasks, the acceptable error tolerance must be evaluated.

    Persistent Memory as a Partial Alternative to Conventional DRAM

    The practice uses a type of high-capacity persistent memory that sits between traditional DRAM and storage. Unlike regular RAM, it retains data after power loss; unlike SSDs, it can be accessed directly via the memory bus.

    Persistent memory typically supports two operation modes.

    System-Managed Mode

    In this mode, persistent memory can be combined with regular memory and managed by the operating system as a single large memory pool. The OS coordinates data placement and scheduling.

    This mode is easy to deploy, but the application cannot precisely control where data resides. For large-model inference that depends on contiguous memory bandwidth, frequent data migration can introduce latency.

    Application-Direct Access Mode

    Here, persistent memory is partitioned into an address space that the application can directly access. The inference program uses memory mapping (or similar mechanisms) to load model weights, avoiding extra filesystem and cache layers.

    This was the approach used in the practice. The inference program treated persistent memory as large-capacity RAM, not as a disk cache. The benefit is that capacity is easier to meet for giant models; the trade-off is that access latency and bandwidth are significantly worse than conventional DRAM.

    It is important to note that persistent memory does not change CPU compute capabilities. It solves the “can the model fit” problem, but not the “is the model fast enough” problem.

    Measured Speeds Reveal the Real Bottleneck

    At 1-bit quantization, the system generated about 0.85 tokens per second. When direct-access optimizations were disabled, the speed increased to about 1.5 tokens per second. With 3-bit quantization, the speed was about 0.75 tokens per second.

    These numbers highlight several key conclusions.

    First, the bottleneck is not purely arithmetic computation. The model is huge; the CPU must continuously read massive parameter sets for each generated token. Because persistent memory has high access latency and limited bandwidth, the CPU often waits for data.

    Second, lower quantization does not always yield linear speedups. Fewer bits reduce data size, but decoding, repacking, and integer operations add overhead. If the software stack is not well optimized for a particular quantization format, theoretical bandwidth savings may not translate into actual performance.

    Third, the impact of direct-access configuration depends on the specific data path. In some cases, reducing cache layers and extra copies speeds things up; but if access patterns are not sequential, or if the system lacks optimizations for huge mapped regions, the benefit may be small or even inconsistent.

    This Setup Suits Validation, Not Daily Use

    At 0.75 tokens per second, generating a few hundred characters requires several minutes. For 50,000 tokens, the wait could reach about 18.5 hours.

    Such speed is still useful for:

    • Verifying that model files are complete
    • Testing whether low-bit quantization works correctly
    • Researching CPU inference and memory-mapping mechanisms
    • Running architecture experiments and performance analysis
    • Completing basic offline tasks in environments without accelerators

    But it is not suitable for interactive chat, online Q&A, or high-concurrency services. Users typically expect a short first-token latency and a steady generation rate. A system generating fewer than two tokens per second will feel severely limited even if the model runs.

    Therefore, when evaluating a deployment plan, separate three metrics:

    1. Loadability: Can the model fit into available memory?
    2. Runnability: Can the system produce results continuously?
    3. Usability: Do speed, stability, and cost meet real needs?

    Many experiments prove only the first two; they do not automatically confirm the third.

    Power and Thermal Considerations Are Not Negligible

    High-capacity persistent memory is not free. A single module can draw up to 18 watts. With multiple modules installed, the total memory subsystem power consumption climbs quickly.

    Temperature management is especially critical. The media may start throttling at around 83°C, and a protective mechanism may trigger at around 85°C. For a server running large-model inference continuously, memory is not a passive storage component but a core component under sustained high load.

    In real deployment, pay attention to:

    • Whether the chassis has a continuous airflow path
    • Whether sufficient spacing exists between memory modules
    • Whether fan speeds adjust automatically based on temperature
    • Whether the data center ambient temperature is stable
    • Whether module temperature, ECC events, and throttling status can be logged
    • Whether performance degrades gradually during long-running workloads

    If frequent throttling occurs due to temperature, short test speeds will not represent long-term performance. In severe cases, you may see process interruptions, model access errors, or system reboots.

    Why This Kind of Hardware Is Becoming a “Historic Window”

    Persistent memory was once expected to create a new layer between DRAM and storage. However, due to cost, ecosystem, software adaptation, bandwidth, and market demand, these products did not achieve broad general-purpose adoption.

    Several years ago, the relevant product line began winding down, with significant inventory write-offs, and no successor generation was released. This means that the large-capacity modules available today come mainly from second-hand or leftover inventory, leading to wide variations in firmware versions and compatibility.

    When purchasing or deploying such equipment, do not focus only on capacity. Confirm:

    • Whether the motherboard and CPU support the corresponding memory mode
    • Whether the firmware can identify the target capacity
    • Whether the OS supports application-direct access
    • Whether mixing multiple modules causes compatibility issues
    • Whether the used devices have a history of write endurance or thermal problems
    • Whether spare parts are available if failures occur

    Without full hardware and software support, simply buying large-capacity modules does not guarantee successful model operation.

    Deployment Advice for Ordinary Users

    If your goal is to run a large model rather than conduct hardware research, plan in the following order.

    First, determine the actual weight size and quantization format of the model, estimate the minimum memory requirement, and add an extra 20-30% headroom. Do not treat theoretical capacity as usable capacity.

    Second, distinguish between model weights and context caches. Even if weights fit, long contexts can quickly consume the remaining memory.

    Third, prioritize compute devices with higher bandwidth and a more mature ecosystem. Adding capacity alone solves only the loading problem, not the inference speed.

    Fourth, for environments without accelerators, choose smaller models, distilled models, or layer-wise loading schemes. Reading only the necessary weights on demand is often more practical than forcing a giant model into slow memory.

    Fifth, run stability tests for at least several hours, recording token generation speed, first-token latency, memory usage, temperature, power draw, and error logs. The ability to start quickly does not imply the ability to run for long.

    Conclusion

    The case of a 40-core server running a trillion-parameter model is valuable not because it proves that ordinary hardware can replace high-performance accelerators, but because it illustrates a fundamental fact in large-model deployment: capacity, bandwidth, latency, and compute are independent constraints.

    With low-bit quantization and large-capacity persistent memory, a very large model can indeed be loaded and inferred without a GPU. However, this approach usually comes at the cost of extremely low generation speed, higher power consumption, and complex thermal management. It is more suitable for technical validation, offline experiments, and architecture research.

    For practical applications, reasonably scaling down the model, optimizing the quantization format, using higher-bandwidth memory, and combining with dedicated accelerators is often more valuable than simply “making the largest model run.”