Research · Open source
SequenceLink is open source: an inference and network framework for robot policies
A robot that runs its policy on a remote GPU must receive each chunk of actions before the one it is executing runs out. SequenceLink, the open-source release of the inference and network layers of GS-WAN, treats that deadline as one budget. On one A100 it kept 24 robots on time, where answering them one by one kept 9.
Vision-language-action models such as π0.52 and GR00T N13 predict a chunk of future actions at a time, and a robot can keep executing the current chunk while the next one is computed4. When the policy runs on a GPU the robot does not carry, every request therefore has a deadline: the next chunk has to arrive before the robot runs out of the current one. Missing it is costly. In simulation, adding a fixed delay to each response cut π0.5's success on LIBERO-107 from 96% to 24%1.
Today we are releasing SequenceLink, the open-source implementation of the network and inference layers of GS-WAN, the system described in our technical report1. The code is at github.com/General-Sequences/sequence-ai; it is installed with pip install sequence-ai and works with openpi5, LeRobot6 and GR00T. This post summarizes the design and the measurements; every number below is taken from the report, which describes each method and setup in full.
The time budget of a request
A chunk holds N actions executed at h Hz. The robot sends its next request at step k, so the request has the N − k remaining actions, (N − k)/h seconds, to come back. Within that budget it must be uploaded, possibly wait for a batch, run through the model and be downloaded, with a margin to spare. What remains is the request's slack; a negative slack leaves the robot without actions (Figure 2).
General-purpose model servers spend this budget without knowing it. A policy's own server answers robots one at a time, so a GPU that could serve many robots on time serves a few. Batching servers such as Ray Serve8 and NVIDIA Triton's dynamic batcher9 hold each request for a fixed time, whether or not its robot can afford to wait, and by default accept every robot that connects.
GS Inference: answering robots together within their slack
The inference layer gives every request a countdown, its slack, and holds it only for as long as its robot can wait. Requests whose countdowns overlap are answered together in one pass of the model, so the GPU's work is shared without delaying any robot past its deadline; a robot that is far from the GPU and has little slack left is answered at once, alone. Before accepting a robot, the layer computes from measured batch times how many robots each replica can keep on time, its seats. A robot that does not fit is sent to another replica instead of making every robot on the full replica late (Figure 3).
Answering robots together raised the number of robots one GPU kept on time, with fewer than 5% of responses late, each policy at its own timing and each robot 20 ms from the GPU (Figure 4). On an NVIDIA A100-40GB, π0.5 rose from at least 6 robots to 12, GR00T N1.6 from 3 to 10, and GR00T N1.6 with CUDA graphs from at least 9 to 24. On an NVIDIA L4, GR00T N1.6 rose from 5 robots to 10, while π0.5 stayed at 2, because a single π0.5 request already keeps the L4 fully in use. Dividing the GPU's hourly price by the robots it served, the cost per robot-hour fell from $0.160 to $0.080 for GR00T N1.6 on an L4, and to $0.144 on an A100 with CUDA graphs1.
We also placed Ray Serve and Triton, each at its default wait and at 2 and 50 ms, in place of GS Inference, in front of a stand-in server that replays the batch times measured for π0.5 on an A100. With sixteen robots asking, more than one A100 can serve on time, every configuration of both accepted all sixteen and kept none on time, with more than 80% of responses late. GS Inference accepted eight, kept all eight on time and sent the others elsewhere (Figure 5). On the A100 itself, with the real model, Ray Serve at its default was late on 98% of responses, while GS Inference again kept its eight robots on time. End to end, openpi's own server kept four π0.5 robots on time on an A100 and was late on nearly every response once eight or more asked; GS-WAN accepted eight and kept every one of them on time1.
CUDA graphs with exact outputs
The denoiser of a diffusion or flow policy is called several times per inference with the same shapes, and in eager PyTorch each call launches its kernels one at a time, thousands per inference of GR00T, so the GPU spends much of each call waiting for the next launch. CUDA graphs10 remove this overhead by replaying recorded kernels with a single launch. SequenceLink chooses the module to capture automatically, from the submodules called repeatedly in each inference, and keeps a graph for a shape only if its output is exactly the eager output.
On GR00T N1.7 on an L4, replay made an inference call 1.54 times faster, with exactly the same outputs on new inputs, a new prompt and a larger batch; capture took a fraction of a second per shape and no extra GPU memory. torch.compile11 reached 1.45 and 1.53 times in its two modes, and both changed the outputs. On an A100 whose host processor was about half as fast per thread as the L4 machine's, the same replay ran three times faster than eager, again with exactly the same outputs (Figure 6).
GS Network: keeping the connection fast
A robot pauses between requests while it executes its chunk. When a pause lasts longer than the connection's retransmission timeout, the sender's congestion window is reduced12, and the robot's next upload, an observation of tens of kilobytes, takes two network round trips instead of one. SequenceLink's server sends small pings during these pauses, which keep the window open, so the upload after a pause takes a single round trip (Figure 7). Responses are written in a single write, compression is applied only where it saves time, and camera frames are streamed as low-latency H.264 video, which needs about a hundredth of the raw bytes1.
With one robot 20 ms from an NVIDIA L4, the time a request spent outside the server fell to 23.5 ms for π0.5 and 23.3 ms for GR00T N1.6: 2.7 and 4.5 times shorter than with each policy's own server (Figure 8).
Using SequenceLink
The server side is one command, and a robot connects with one call:
pip install sequence-ai
seq serve examples/quickstart_policy
import sequence_ai
policy = sequence_ai.connect("http://<server>:8000")
The inference components wrap an existing openpi, LeRobot or GR00T server, and on a robot that already uses openpi's client, the network components are one line, openpi.keep(policy). The repository's llms.txt describes every component for coding agents. The code, quick starts and documentation are at github.com/General-Sequences/sequence-ai, and the methods and every measurement are in the technical report1. The routing layer and fleet operations run on our hosted platform at generalsequences.com, which serves each policy on the closest GPU available.
References
- General Sequences, Y. Wang. Scaling Robot Policies over Wide-Area Networks. Technical report, 2026.
- Physical Intelligence, K. Black, N. Brown, et al. π0.5: a Vision-Language-Action Model with Open-World Generalization. 2025.
- NVIDIA, J. Bjorck, et al. GR00T N1: An Open Foundation Model for Generalist Humanoid Robots. 2025.
- K. Black, M. Y. Galliker, S. Levine. Real-Time Execution of Action Chunking Flow Policies. NeurIPS 2025.
- Physical Intelligence. openpi. 2024.
- R. Cadene, S. Alibert, A. Soare, et al. LeRobot: State-of-the-art Machine Learning for Real-World Robotics in PyTorch. 2024.
- B. Liu, Y. Zhu, C. Gao, et al. LIBERO: Benchmarking Knowledge Transfer for Lifelong Robot Learning. NeurIPS 2023 Datasets and Benchmarks.
- Ray. Ray Serve: Dynamic Request Batching.
- NVIDIA. Triton Inference Server: Batchers.
- NVIDIA. CUDA C++ Programming Guide: CUDA Graphs.
- J. Ansel, E. Yang, H. He, et al. PyTorch 2: Faster Machine Learning Through Dynamic Python Bytecode Transformation and Graph Compilation. ASPLOS 2024.
- G. Fairhurst, A. Sathiaseelan, R. Secchi. Updating TCP to Support Rate-Limited Traffic. RFC 7661, 2015.