Training 1.8T Parameters Without NVLink: 3D Parallelism on RTX PRO 6000 Blackwell

How MeeDoo-OnE trains a 1.8 trillion parameter model on PCIe-only RTX PRO 6000 Blackwell GPUs without NVLink, using 3D parallelism, FP8 optimizer states, and CPU offloading.

Abstract

Training a 1.8-trillion-parameter language model is a formidable engineering challenge under any circumstances. Doing so on GPUs without NVLink — relying solely on PCIe Gen5 interconnects that offer approximately 128 GB/s versus NVLink 900 GB/s — seems at first glance to be impractical. This article details how MeeDoo-OnE overcomes the PCIe bandwidth bottleneck through careful 3D parallelism design, FP8 optimizer states leveraging Blackwell-native support, CPU optimizer offloading, and Ring Attention for long-context training. The result: a viable training configuration on 86 RTX PRO 6000 Blackwell GPUs across 11 nodes, completing a 15 trillion token training run in approximately 58 days.

The Hardware: RTX PRO 6000 Blackwell

The RTX PRO 6000 Blackwell is a workstation-class GPU based on the Blackwell architecture. Its specifications are impressive for a PCIe card:

Specification Value
Memory96 GB GDDR7
Memory Bandwidth~1800 GB/s
CUDA Cores~18,240
FP8 SupportNative (E4M3 + E5M2)
FP4 SupportNative
InterconnectPCIe Gen5 (~128 GB/s) — NO NVLink

The critical limitation is the absence of NVLink. In a typical H100-based cluster, NVLink provides 900 GB/s of GPU-to-GPU bandwidth, making tensor parallelism efficient. With PCIe Gen5 at 128 GB/s, the interconnect is 7x slower. This fundamentally changes the parallelism strategy: we must minimize inter-GPU communication volume and structure the communication pattern to match the PCIe topology.

The 3D Parallelism Strategy

MeeDoo-OnE uses a 4-dimensional parallelism configuration: Tensor Parallelism (TP), Pipeline Parallelism (PP), Expert Parallelism (EP), and Data Parallelism (DP). The configuration is TP=2 x PP=14 x EP=48 x DP=auto, designed specifically to work within PCIe constraints.

Tensor Parallelism: TP=2

Tensor parallelism splits each matrix multiplication across GPUs, requiring an all-reduce after every attention and feed-forward layer. With NVLink, this all-reduce is fast; with PCIe, it is the primary bottleneck. By setting TP=2 (the minimum viable), we pair GPUs that share a PCIe switch (same node, minimal hop count), keeping all-reduce traffic localized. The all-reduce volume per layer is proportional to the hidden dimension (7168 * batch * seq), which at TP=2 is manageable over PCIe.

Pipeline Parallelism: PP=14

Pipeline parallelism splits the 84 layers across 14 stages, giving 6 layers per stage. PP communication is point-to-point (sending activations between consecutive stages), which maps well to PCIe: each stage sends its output to the next, and the communication volume is just the hidden state (7168 * batch * seq). This is far less communication than TP all-reduce. With 14 stages, we use 14 GPUs for the pipeline dimension, and the bubble overhead from pipeline filling is mitigated by micro-batching.

Expert Parallelism: EP=48

Expert parallelism is where the MoE architecture becomes an advantage for PCIe-only clusters. With 48 routed experts and EP=48, each GPU holds exactly 1 expert. This has two profound benefits:

  • No expert weight replication: each expert exists on exactly one GPU, eliminating the memory overhead of replicating expert weights across GPUs.
  • Sporadic all-to-all: the all-to-all communication for expert routing only happens during the MoE layers, not during attention. The communication volume is proportional to the number of tokens routed to each expert, not the full hidden state. Since only 12/48 experts are activated per token, the all-to-all is sparse.

Data Parallelism: DP=auto

With 86 total GPUs and TP=2 x PP=14 = 28 GPUs per model replica, we get 86 / 28 = 3 data-parallel groups (with 2 GPUs leftover for redundancy or gradient accumulation buffers). Data parallelism requires an all-reduce of gradients, but this can be overlapped with the backward computation and uses NCCL over PCIe within a node and TCP/RDMA across nodes.

Parallelism NVLink (H100) PCIe (Blackwell) PCIe Strategy
Tensor Parallel (TP)TP=8 (fast all-reduce)TP=2 (minimize all-reduce)Pair on same PCIe switch
Pipeline Parallel (PP)PP=4-8PP=14 (6 layers/stage)P2P activation passing, PCIe-efficient
Expert Parallel (EP)EP=8-16EP=48 (1 expert/GPU)No replication, sporadic all-to-all
Data Parallel (DP)DP=16-64DP=3Gradient all-reduce, overlapped
FSDPPreferred for denseNot used (MoE + EP better)FSDP all-gather too expensive on PCIe

FP8 Optimizer States

Standard Adam optimizer maintains three states per parameter in FP32: the master weight, the first moment (momentum), and the second moment (variance), for a total of 12 bytes per parameter. MeeDoo-OnE leverages Blackwell-native FP8 to reduce this to 6 bytes per parameter.

The FP8 optimizer configuration is:

  • Master weights: FP32 (4 bytes) — preserved for numerical stability of weight updates
  • First moment (m): FP8 E4M3 (1 byte) — momentum has lower precision requirements
  • Second moment (v): FP8 E5M2 (1 byte) — variance benefits from E5M2 wider dynamic range
  • Total: 6 bytes/param (vs 12 bytes for standard Adam) — 2x reduction
# FP8 Adam optimizer
# Standard Adam: 12 bytes/param (FP32 master + m + v)
# FP8 Adam:      6 bytes/param  (FP32 master + FP8 m + FP8 v)

class FP8Adam:
    def __init__(self, params, lr=1e-4, betas=(0.9, 0.95)):
        self.lr = lr
        self.beta1, self.beta2 = betas
        self.state = {}
        for p in params:
            self.state[p] = {
                "master": p.data.clone().float(),  # FP32
                "m": torch.zeros_like(p.data, dtype=torch.float8_e4m3fn),  # FP8 E4M3
                "v": torch.zeros_like(p.data, dtype=torch.float8_e5m2),    # FP8 E5M2
            }

    def step(self, param, grad):
        s = self.state[param]
        s["m"] = (self.beta1 * s["m"].float() + (1 - self.beta1) * grad).to(torch.float8_e4m3fn)
        s["v"] = (self.beta2 * s["v"].float() + (1 - self.beta2) * grad**2).to(torch.float8_e5m2)
        m_hat = s["m"].float() / (1 - self.beta1**self.t)
        v_hat = s["v"].float() / (1 - self.beta2**self.t)
        s["master"] -= self.lr * m_hat / (v_hat.sqrt() + 1e-8)
        param.data = s["master"].to(param.dtype)

The choice of E4M3 for momentum and E5M2 for variance is deliberate. Momentum values are typically O(1e-3 to 1e-1) and benefit from E4M3 higher mantissa precision. Variance values span a wider dynamic range (1e-6 to 1e+1) and benefit from E5M2 wider exponent range. This mixed FP8 format strategy preserves optimizer stability while halving memory.

CPU Optimizer Offload

Even with FP8 optimizer states, fitting a 1.8T model on 96 GB GPUs requires careful memory budgeting. The strategy is to keep model weights and gradients on GPU (needed for forward and backward passes) while offloading optimizer states to CPU RAM.

The per-GPU memory budget is as follows:

  • Model weights (BF16): ~42 GB — 1.8T params / 86 GPUs = ~21B params/GPU, at 2 bytes = ~42 GB
  • Gradients (BF16): ~42 GB — same size as weights, needed during backward pass
  • Activations: ~12 GB — with selective activation checkpointing (50% layers recomputed)
  • Total GPU: ~96 GB — fills the 96 GB GPU with zero margin

On the CPU side:

  • Optimizer states (FP8): 6 bytes/param * 21B params = ~126 GB per GPU
  • Per node (8 GPUs): 126 GB * 8 = ~1008 GB, realistically ~981 GB with overhead
Component Per GPU Per Node (8 GPUs)
Weights (BF16)42 GB336 GB
Gradients (BF16)42 GB336 GB
Activations12 GB96 GB
GPU Total96 GB768 GB
Optimizer (FP8, CPU)126 GB1008 GB
CPU RAM Needed~126 GB~981 GB

The zero-margin GPU budget means that every byte matters. Activation checkpointing is essential, and gradient accumulation is used to keep the micro-batch size small enough that activation memory stays within the ~12 GB budget.

Ring Attention for 2M Context Training

Training on 2M token sequences is impossible on a single GPU due to activation memory. MeeDoo-OnE uses Ring Attention within the 14-GPU pipeline group: each GPU in the pipeline stage holds ~150K tokens, and KV blocks are passed around the ring during the attention computation. The online softmax algorithm ensures mathematically exact attention across all 2M tokens without materializing the full attention matrix.

The ring is formed from the 14 pipeline-parallel GPUs, which are already communicating point-to-point. Ring Attention reuses this topology, sending KV blocks along the same PCIe links. The latency of Ring Attention is proportional to the ring size (14 steps), but each step only communicates a 150K-token KV block, which is manageable over PCIe.

WSD Learning Rate Schedule

MeeDoo-OnE uses a WSD (Warmup-Stable-Decay) learning rate schedule, which has been shown to produce better models than pure cosine decay for large-scale training:

  • Warmup phase: 5,000 steps — linear ramp from 0 to peak LR
  • Stable phase: 395,000 steps — constant at peak LR (80% of total)
  • Decay phase: 100,000 steps — cosine decay to 10% of peak LR (20% of total)

The WSD schedule is advantageous because the stable phase allows the model to learn at full capacity for the majority of training, while the shorter decay phase at the end sharpens the final model quality. The 80/20 split between stable and decay is empirically optimal for models in the 1T+ parameter range.

Training Estimate

Metric Value
Total tokens15T
Global batch size4096
Sequence length per GPU16,384
Gradient accumulation256
Total GPUs86
Throughput (est.)~3500 tokens/sec/GPU
Estimated training time~58 days

The throughput estimate of 3500 tokens/sec/GPU accounts for the PCIe communication overhead, activation checkpointing (10% slowdown), and CPU optimizer offload (gradient transfer overhead). This is approximately 40-50% of what an equivalent NVLink cluster would achieve, but the hardware cost per GPU is significantly lower, making the total cost competitive.

Selective Activation Checkpointing

To fit activations within the 12 GB budget, MeeDoo-OnE uses selective activation checkpointing: 50% of layers have their activations recomputed during the backward pass, while the other 50% retain their activations. The selection alternates every other layer, so that the recomputed layers have access to the nearest checkpointed layer. This approach costs approximately 10% in training speed (the recomputation overhead) but saves 50% of activation memory, which is the difference between fitting and not fitting on 96 GB GPUs.

Checkpoint Storage

Each checkpoint stores the full model and optimizer state:

  • Model weights (BF16): 1.8T * 2 bytes = 3.57 TB
  • Optimizer states (FP8): 1.8T * 6 bytes = 10.8 TB — but stored as 1.8T * 4 bytes (FP32 master) = 7.15 TB if master is kept in FP32 on disk
  • Total per checkpoint: ~10.72 TB
  • Keeping 5 checkpoints: 53.6 TB of storage

Checkpointing is done every 2,000 steps (~3.5 hours), and the write bandwidth to NVMe storage must sustain ~10.72 TB / 3.5 hours = ~850 MB/s, which is achievable with a modest NVMe RAID array.

Conclusion

Training a 1.8-trillion-parameter model without NVLink is challenging but entirely viable with careful parallelism design. The key insights are: minimize tensor parallelism (TP=2) to reduce all-reduce traffic; maximize pipeline parallelism (PP=14) to leverage efficient point-to-point PCIe communication; use expert parallelism (EP=48) to exploit the MoE structure and eliminate expert weight replication; offload FP8 optimizer states to CPU to free GPU memory; and use selective activation checkpointing to fit activations within the remaining budget.

The RTX PRO 6000 Blackwell with 96 GB of GDDR7 and native FP8 support is a remarkably capable training GPU, and its lack of NVLink is not a disqualifier — it is a constraint that shapes the parallelism strategy. At approximately 58 days for a 15T token training run on 86 GPUs across 11 nodes, the total training cost is competitive with NVLink-based clusters, especially when accounting for the lower per-GPU cost. This demonstrates that frontier-scale model training is not exclusive to NVLink-equipped data center GPUs.

#training#distributed#blackwell#gpu#parallelism#fp8#meedoo-one