AI Hot BriefingThis issue · All issues
HOTQbitAISep 30, 13:18China🇨🇳 China

DeepSeek Unveils DSec for V4.1 Agent Training

DeepSeek introduces its sandbox infrastructure, DSec, for efficient large-scale agent training, enhancing AI development capabilities.

AI TrainingDeepSeekDSecSandbox Infrastructure
DeepSeek Unveils DSec for V4.1 Agent Training
Image linked from the original article · © original publisher

Introduction to DSec

DeepSeek has released a technical article on Zhihu, detailing its DeepSeek Elastic Compute (DSec), a sandbox infrastructure for the training, evaluation, and data preprocessing of DeepSeek-V4 agents. The article is based on a technical report co-published by DeepSeek and Tsinghua University, involving a team of over 130 authors.

DSec's Role in Agent Training

DSec supports the training of reliable agent large models by allowing them to repeatedly test and learn in real-world environments. This involves reading code, modifying files, installing dependencies, executing tests, and running services, all of which change the environment and require the sandbox to maintain its state across multiple interactions.

Design Considerations for DSec

DSec is designed to handle load characteristics such as pulsating and sudden sandbox creation requests, idle CPU most of the time with sustained memory needs, diverse execution environments with low base image reuse rates, and long task execution times that may be interrupted by resource contention.

Execution Backends and SDK

DSec supports four execution backends: FnCall, Container, MicroVM, and Full VM, all accessible via a unified Python SDK (libdsec). FnCall is used for short tasks like online evaluations, Containers for general software engineering and tool calls, MicroVM for secure tasks, and Full VM for complete OS environments.

Environment Management

DSec breaks down the sandbox environment into base images, workspaces, and toolkits, managing updates and versioning separately. It uses EROFS for storage, which supports metadata and data separation and cross-image deduplication, and OverlayFS to combine layers on sandbox creation.

“DSec is designed to handle the unique challenges of large-scale agent training, providing a robust and efficient platform for AI development.”

— DeepSeek Team
TAKEAWAYDSec enhances AI training efficiency and security, laying the groundwork for advanced agent-based models.
Source: QbitAI · always refer to the original article
AI-curated from public sources for informational purposes only; images are hotlinked originals and copyright belongs to their respective publishers.
By Chaos Lab · 妙答星球AI