Field noteNov 20, 20265 min read1 source

fabric-lib: RDMA Point-to-Point Communication for LLM Systems

In one minute

Perplexity has published fabric-lib, a library for RDMA point-to-point communication in LLM systems, including MoE dispatch and combine kernels, a transfer engine, and benchmark instructions. For teams running distributed MoE workloads on supported GPU and network hardware, it offers a concrete implementation and comparative measurements to evaluate against DeepEP.

What happened

Perplexity’s fabric-lib documentation describes two components: a point-to-point MoE dispatch/combine kernel and an RDMA TransferEngine library. The kernel supports NVIDIA ConnectX-7 and AWS Elastic Fabric Adapter (EFA), with the possibility of other RDMA NICs. It uses NVLink for data transfer within a node and RDMA between nodes. The documentation says the design is optimized for decode while also supporting prefill; dispatch and combine each split send and receive into separate stages to allow micro-batching. It also lists CUDA Graph support and says the RDMA transfer is SM-free.

The TransferEngine supports ConnectX-7 and EFA, aggregation of multiple NICs per GPU, and a reliable unordered transport protocol. The documented system requirements include Linux kernel 5.12 or higher as a recommendation for DMA-BUF support, CUDA 12.8 or higher, libfabric, libibverbs, GDRCopy, and a GPUDirect RDMA-capable network. Each GPU should have at least one dedicated RDMA NIC. The instructions also require Linux capabilities SYS_PTRACE and SYS_ADMIN for pidfd_getfd; the project suggests running as root, using sudo, or adding those capabilities to a Docker container.

Perplexity supplies commands to build and run a development Docker image, compile a fabric-debug network benchmark, install a Python wheel, and run an all-to-all benchmark across nodes. The fabric-debug server accepts GPU IDs and a NICs-per-GPU count; its client additionally takes the server address printed by the server. That makes the network test a separate step before a team adopts the Python package or evaluates a full inference integration.

The all-to-all example sets --world-size to eight GPUs per node, configures two network interfaces per GPU, and uses --nvlink=8. The documentation says to remove that flag for RDMA-only tests and to adjust --nets-per-gpu for the VM instance type. It also requires NUM_NODES, NODE_RANK, and MASTER_IP, so the published procedure is explicitly multi-node rather than a single-machine performance claim.

The documentation reports dispatch-and-combine latency results for decode at 128 tokens and prefill at 4096 tokens, comparing pplx-EFA and pplx-CX7 with DeepEP-CX7 across EP8, EP16, EP32, and EP64. In decode EP16, it reports 110.2 microseconds for pplx-CX7 and 123.9 microseconds for DeepEP-CX7 in one result column; at EP64, it reports 187.5 microseconds and 177.9 microseconds respectively. Results vary by configuration, and the tables include cases where the Perplexity figures are higher. The documentation links an MLSys 2026 research paper and says the library was inspired by MoonCake and its MoE kernel by DeepEP.

What the archive adds

New Runtime covered Sarvam’s enterprise knowledge fabric on 2026-10-26, a separate approach to structuring enterprise documents. That is not the same story: fabric-lib adds a network communication library for distributed LLM workloads, opening a new infrastructure thread.

Trend signal

This does not yet fit a pattern New Runtime tracks. fabric-lib concerns specialized inter-node communication and MoE performance; the published description does not establish a broader shift in how agent systems are built or integrated.

Why it matters

For teams operating MoE inference across multiple GPU nodes, communication latency is part of the system’s performance envelope, not just a networking detail. fabric-lib makes specific design choices visible—NVLink inside a node, RDMA across nodes, micro-batched send and receive stages, and an SM-free transfer path—and provides runnable benchmarks to compare configurations. That gives infrastructure teams a candidate to test against their current communication stack, including DeepEP.

The practical value is conditional. A team needs supported RDMA hardware, GPUDirect RDMA, compatible CUDA and Linux components, and enough operational access to grant the required capabilities. The benchmark numbers are not a general promise of faster inference: they vary by expert-parallelism setting and workload phase, and the tables show mixed comparisons. Teams should reproduce the test on their own hardware and workload before making deployment decisions.

This release is most useful where expert parallelism already forces communication across nodes. For a team without dedicated NICs per GPU, the setup requirements are a decision boundary rather than an installation footnote. For a team that does have that topology, the supplied benchmark switches make it possible to isolate a comparison between NVLink-assisted and RDMA-only paths before changing a production serving stack.

Limits and uncertainty

The documentation does not establish independent verification of the benchmark results or provide enough information here to assess measurement methodology, run-to-run variation, or whether all comparisons use equivalent settings. It reports latency figures for selected configurations, not end-to-end throughput, cost, production reliability, or model quality. Support is stated for ConnectX-7 and AWS EFA, with other RDMA NICs described as potential rather than confirmed.

Teams should validate compatibility and performance on their own systems; the documentation does not state a license, support commitment, or production service level. In particular, the reported dispatch-and-combine timings do not by themselves show the effect on a complete model request, where routing, compute, scheduling, and application traffic can change the bottleneck.

Skill to build now

Create a reproducible communication baseline before replacing an MoE transport layer. On a compatible multi-node cluster, first run fabric-debug with the actual GPU list and NIC count, then run the all-to-all benchmark with the same node count and network topology. Test both the documented --nvlink=8 configuration and the RDMA-only variant without that flag when the deployment can use either path. Record decode and prefill separately, because fabric-lib’s published tables treat those phases differently and show configuration-dependent results.

Reader takeaway

fabric-lib is worth evaluating if you run distributed MoE workloads on RDMA-equipped GPU infrastructure. Its documented capabilities and benchmark commands make a local comparison possible, but the mixed results and hardware requirements argue for testing against your own network, GPU topology, and decode/prefill mix rather than treating the published numbers as a universal win.

Evidence / sources

  1. 1raw.githubusercontent.com/perplexityai/pplx-garden/main/docs/fabric-lib.md
All Field Notes

Next reads

Read next

Open the graph
  1. 01topicInferenceExplore the inference topic hub.
  2. 02topicAi InfrastructureExplore the ai-infrastructure topic hub.
  3. 03topicComputeExplore the compute topic hub.
  4. 04archiveField NotesOpen the latest editorial analysis.
  5. 05sourcesSourcesSee the original sources this archive cites.
Who read this page?Machine requests, hidden until opened

Loading the privacy-safe route aggregate...

Open the JSON contract