DeepSeek Elastic Compute (DSec): A Sandbox Infrastructure for Effective Agentic Training at Scale

📅 2026-09-19
📈 Citations: 0
✨ Influential: 0
📄 PDF
🤖 AI Summary
本文介绍DeepSeek Elastic Compute (DSec),一种用于大规模代理训练的弹性计算平台,通过统一SDK提供多种沙箱后端,优化资源管理和执行效率。
📝 Abstract
Large-scale agentic training and evaluation with large language models (LLMs) rely on isolated, stateful execution environments in which models inspect repositories, invoke tools, execute commands, and interact with task-specific services. These workloads create sandboxes in large bursts, span heterogeneous functionality and isolation requirements, retain state across long interactions, and draw from large image corpora with limited reuse. Supporting them therefore requires an elastic execution platform rather than a single sandbox runtime. This report presents DeepSeek Elastic Compute (DSec), a production sandbox platform that exposes FnCall, container, microVM, and full-VM sandbox backends through a unified SDK. DSec coordinates placement and lifecycle management across the cluster, composes environments from independently versioned layers, combines memory sharing, reclamation, and CPU scheduling for high-density execution, and loads image data on demand from Fire-Flyer File System (3FS), a cluster-wide distributed filesystem. DSec is co-designed with the reinforcement learning (RL) framework, decouples stateful rollout execution from preemptible GPU training, coordinates sandbox lifecycle with training to preserve rollout state while reclaiming idle resources, and mitigates agent misbehavior such as reward hacking. A single production-scale unit of DSec spans around 160 nodes, serving about 3 million sandboxes per day; in production, it supports over 380,000 concurrent sandboxes and sustains over 5,000 sandbox creations per second. Our evaluation and deployment experience show that these mechanisms reduce environment setup and image-distribution overhead, improve memory efficiency, and preserve latency-sensitive performance under high-density overcommit.
Problem

Research questions and friction points this paper is trying to address.

Large-scale agentic training
Isolated execution environments
Elastic execution platform
Sandbox infrastructure
Innovation

Methods, ideas, or system contributions that make the work stand out.

Elastic Execution Platform
Unified SDK
Sandbox Backends
High-Density Execution
Reinforcement Learning Framework
🔎 Similar Papers
No similar papers found.
J
Jialiang Huang
Tsinghua University
H
Hongxuan Tang
DeepSeek-AI
Jingchang Chen
Jingchang Chen
Harbin Institute of Technology
ReasoningLarge Language Model
Y
Yuxuan Liu
DeepSeek-AI
Y
Yixiao Chen
DeepSeek-AI
Y
Yuan Cheng
DeepSeek-AI
Y
Yi Tao
DeepSeek-AI
J
Jingli Zhou
DeepSeek-AI
Y
Yupeng Chen
DeepSeek-AI
H
Haoyu Chen
DeepSeek-AI
J
Jiarui Wang
DeepSeek-AI
Shengkai Lin
Shengkai Lin
Shanghai Jiao Tong University
Network SystemNetwork virtualizationRDMA
C
Chuqi Zhang
DeepSeek-AI
B
Bryan Lee Teng
DeepSeek-AI
L
Lian Guo
DeepSeek-AI
Z
Zhe Fu
DeepSeek-AI
W
Wenjun Gao
DeepSeek-AI
Y
Yisong Wang
DeepSeek-AI
L
Liang Zhao
DeepSeek-AI
Z
Zehao Wang
DeepSeek-AI
Z
Ziwei Xie
DeepSeek-AI
Y
Yongqiang Guo
DeepSeek-AI
P
Peixin Cong
DeepSeek-AI
Z
Ziyi Gao
DeepSeek-AI
S
Shuiping Yu
DeepSeek-AI