Cube Studio: A Comprehensive Analysis of Tencent's Open-Source Cloud-Native AI Platform

Cube Studio is Tencent Music's open-source cloud-native AI platform covering full MLOps and LLM workflows.
Cube Studio is Tencent Music's open-source cloud-native AI platform (~5,000 GitHub stars), built on Kubernetes, covering the entire MLOps lifecycle from data labeling, Notebook development, Pipeline orchestration, and distributed training to inference deployment. It supports mainstream frameworks like DeepSpeed and vLLM, offers LLM SFT fine-tuning, RLHF training, and RAG application capabilities, and adapts to domestic hardware ecosystems like Huawei Ascend—ideal for enterprise teams with AI engineering and domestic substitution needs.
Project Overview
Cube Studio is a cloud-native, one-stop machine learning/deep learning/large model AI platform open-sourced by Tencent Music. It has garnered nearly 5,000 stars on GitHub. Built primarily with Python, the project delivers a comprehensive platform covering the entire MLOps lifecycle—from data labeling and model training to inference deployment—enabling end-to-end AI engineering capabilities.
MLOps (Machine Learning Operations) is an engineering practice that applies DevOps principles to the machine learning domain, aiming to solve the "last mile" problem of moving models from the lab to production environments. In traditional ML development, experiments completed by data scientists in Jupyter Notebooks are often difficult to deploy directly. Issues such as chaotic model version management, irreproducible training, and manual deployment processes are pervasive. MLOps addresses these challenges by standardizing data management, automating training pipelines, implementing model version control, continuous integration/continuous deployment (CI/CD), and model monitoring with feedback loops—transforming machine learning into a repeatable, traceable, and scalable system engineering discipline. Cube Studio is a complete implementation of this philosophy.
In the era of large models, enterprise demands for AI infrastructure have become increasingly complex. Cube Studio provides small and medium-sized enterprises and development teams with a feature-complete, out-of-the-box AI platform solution, helping teams rapidly build their own AI R&D systems.

Notebook Online Development & Pipeline Orchestration
Cube Studio provides a Notebook online development environment, allowing developers to conduct algorithm development and debugging directly without configuring local environments. Even more noteworthy is its drag-and-drop task flow Pipeline orchestration capability—users can visually chain together data processing, feature engineering, model training, model evaluation, and other steps into complete workflows, significantly lowering the barrier to MLOps adoption.
This design philosophy is similar to Kubeflow Pipelines, but Cube Studio builds upon it with additional localization and usability optimizations, enabling non-specialist operations personnel to quickly construct complex AI workflows. Kubeflow Pipelines is Google's open-source Kubernetes-based ML workflow orchestration system and one of the de facto standards for cloud-native ML platforms. It allows users to define ML workflows as Directed Acyclic Graphs (DAGs), where each node is a containerized processing step. The core value of Pipeline orchestration lies in achieving experiment reproducibility—parameters, data, and code versions for each run are fully recorded, facilitating traceability and comparison. Cube Studio's localization optimizations on top of this primarily manifest in a more user-friendly Chinese interface, lower usage barriers, and deep integration with commonly used domestic frameworks and toolchains.
Distributed Training Capabilities in Detail
In terms of distributed training, Cube Studio demonstrates exceptional compatibility and flexibility:
- Deep Learning Framework Support: Compatible with mainstream frameworks including PyTorch, TensorFlow, MXNet, and PaddlePaddle
- Distributed Training Solutions: Supports multiple solutions including DeepSpeed, ColossalAI, Horovod, Ray, and Volcano
- Hardware Adaptation: Supports multi-node multi-GPU training with RDMA high-speed network compatibility
- Hyperparameter Search: Built-in automated hyperparameter search functionality to improve model tuning efficiency
To understand the differences and value of these distributed training solutions, it's worth examining their respective technical characteristics. DeepSpeed is Microsoft's open-source deep learning optimization library, whose core innovation—ZeRO (Zero Redundancy Optimizer) technology—shards model states (parameters, gradients, optimizer states) across multiple GPUs, breaking through single-card memory limitations and making training of hundred-billion-parameter models possible. ColossalAI is a large model training system open-sourced by NUS's HPC-AI Lab, providing a unified abstraction for multi-dimensional parallelism (data parallelism, tensor parallelism, pipeline parallelism, sequence parallelism). Horovod, open-sourced by Uber, implements efficient data-parallel training based on the Ring-AllReduce algorithm. Ray is a distributed computing framework from UC Berkeley, whose Ray Train module supports elastic distributed training. Volcano is a CNCF project focused on batch processing and high-performance computing task scheduling on Kubernetes.
It's worth specifically highlighting RDMA (Remote Direct Memory Access) technology—it allows computers in a network to directly access remote memory, bypassing the operating system kernel, reducing network latency to the microsecond level. It is critical infrastructure for high-speed inter-GPU communication in large-scale distributed training. In training clusters with thousands of GPUs, network communication efficiency is often the bottleneck determining overall training speed, making RDMA support crucial for large model training scenarios.
This broad ecosystem compatibility means teams can flexibly choose optimal training solutions based on actual scenarios without worrying about platform-level limitations.
Large Model Training & Inference Deployment
Keeping pace with the large model wave, Cube Studio provides comprehensive support for large model scenarios:
Training-Side Capabilities
Supports SFT fine-tuning, reward model training, and reinforcement learning (RLHF) training for large models like DeepSeek, covering the complete large model alignment workflow.
The large model alignment training involved here is one of the most critical technical processes in the current AI field. SFT (Supervised Fine-Tuning) is the first step of large model alignment, fine-tuning pretrained models with high-quality instruction-response data pairs to teach them to follow human instructions. RLHF (Reinforcement Learning from Human Feedback) is the core technology employed by OpenAI in ChatGPT, consisting of three stages: first performing SFT fine-tuning, then training a Reward Model to learn human preference rankings, and finally using reinforcement learning algorithms like PPO (Proximal Policy Optimization) to optimize the language model's outputs using the reward model's scores as signals. DeepSeek has further introduced innovative algorithms like GRPO (Group Relative Policy Optimization) to enhance alignment effectiveness. The engineering implementation of this complete workflow requires substantial compute scheduling and data management capabilities, which is precisely the core value of platforms like Cube Studio.
Inference-Side Capabilities
Integrates mainstream large model inference engines including vLLM, Ollama, and MindIE, supports multi-node inference deployment, and provides VGPU virtualization capabilities for fine-grained GPU resource management and efficient utilization.
These inference engines each have their own focus and technical innovations. vLLM is a high-performance large model inference engine open-sourced by UC Berkeley, whose core innovation—PagedAttention technology—borrows the paged memory management concept from operating system virtual memory, managing KV Cache (key-value cache) by pages. This solves the memory waste caused by fragmentation in traditional inference, improving throughput by several to tens of times compared to HuggingFace Transformers. Ollama is a lightweight large model runtime framework designed for local deployment, known for its minimalist command-line experience. It supports quantized formats like GGUF, lowering the barrier for running large models locally. MindIE (Mind Inference Engine) is the inference engine for Huawei's Ascend ecosystem, deeply optimized for Ascend NPUs.
VGPU virtualization technology allows a single physical GPU to be partitioned into multiple virtual GPU instances, each with independent memory and compute quotas, enabling fine-grained GPU resource sharing across multiple tasks or users. In actual production environments, average GPU utilization is often below 30%. VGPU technology can dramatically improve this figure, significantly reducing compute costs.
Application-Side Capabilities
Built-in private knowledge base functionality supports enterprise-grade large model application scenarios such as RAG (Retrieval-Augmented Generation), helping enterprises quickly deploy AI applications.
RAG (Retrieval-Augmented Generation) is the mainstream technical approach for addressing large model "hallucination" issues and knowledge timeliness problems. Its working principle is: when a user poses a question, the system first retrieves relevant document fragments from an enterprise private knowledge base, then feeds the retrieved results as context along with the user's question into the large model, enabling the model to generate answers based on real data. This process involves document parsing, text chunking, vector embedding, vector database storage and retrieval, prompt engineering, and other steps. Compared to directly fine-tuning models, RAG's advantages lie in updating knowledge without retraining and traceability of answers to specific data sources, making it better suited to enterprise scenarios that demand accuracy and explainability.
Domestic Ecosystem & Ascend Adaptation
Cube Studio explicitly supports domestic CPUs/GPUs/NPUs, particularly the Huawei Ascend ecosystem. Against the backdrop of domestic technology substitution, this feature makes it an important choice for Chinese enterprises building self-controlled AI infrastructure. For government/enterprise customers and organizations with Xinchuang (信创) requirements, Cube Studio provides validated domestic hardware adaptation solutions.
Huawei Ascend is Huawei's AI computing architecture, encompassing a complete technology stack including Ascend processors (NPUs), CANN (Compute Architecture for Neural Networks) heterogeneous computing architecture, and the MindSpore deep learning framework. High-end AI processors like Ascend 910B/910C are positioned to compete with NVIDIA A100/H100, playing a core role in domestic substitution scenarios. Xinchuang (Information Technology Application Innovation) is China's national strategy to promote self-controlled IT infrastructure in critical sectors, covering the full stack from chips and operating systems to databases, middleware, and application software. Against the backdrop of US-China tech competition, with NVIDIA high-end GPU exports to China restricted, domestic AI chip adaptation capability has become a key competitive differentiator for AI platforms. Cube Studio's support for the Ascend ecosystem means it has completed full-chain adaptation verification from low-level operators to upper-level frameworks—a matter of significant strategic importance for government/enterprise customers with compliance requirements.
Compute Management & Edge Computing
Cube Studio provides compute rental platform capabilities, supporting unified management and scheduling of computing resources. It also covers edge computing scenarios, enabling model deployment to edge devices to meet special business requirements such as low latency and offline inference.
Data Labeling & Automation
The platform features built-in automated labeling functionality, combined with AI-assisted labeling capabilities, significantly improving data labeling efficiency while reducing manual costs. The complete pipeline from data preparation to model deployment can be completed within a single platform, avoiding efficiency losses from switching between multiple tools.
Cloud-Native Technical Architecture
Cube Studio is designed on a cloud-native architecture, fully leveraging Kubernetes' container orchestration capabilities:
- Elastic Scaling: Dynamic allocation of training and inference resources based on K8s resource scheduling
- Multi-Tenant Isolation: Resource isolation and security through containerization
- Modular Extension: Support for on-demand component expansion, flexibly adapting to different scales
- Model Marketplace: Built-in AI model marketplace promoting model asset reuse and sharing
Cloud Native is a methodology for building and running applications, with core technologies including containerization, microservices architecture, declarative APIs, and immutable infrastructure. Kubernetes (K8s), as the de facto standard for container orchestration, provides AI platforms with critical capabilities such as resource scheduling, service discovery, auto-scaling, and fault self-healing. In AI scenarios, K8s value is particularly prominent: managing heterogeneous hardware resources like GPUs/NPUs through the Device Plugin mechanism, managing distributed training task lifecycles through the Operator pattern, and implementing multi-tenant resource isolation through Namespaces and ResourceQuotas. Building on K8s means Cube Studio inherently possesses cross-cloud deployment capability—whether in public cloud, private cloud, or hybrid cloud environments, it can be deployed and managed through standardized K8s interfaces, avoiding vendor lock-in risks.
Applicable Scenarios
Cube Studio is particularly suited for the following scenarios:
- Medium to large enterprises building unified AI R&D platforms
- Government/enterprise customers with domestic technology substitution requirements
- Teams looking to rapidly establish large model training and inference infrastructure
- Organizations needing unified compute resource management and scheduling
- Startups building MLOps systems from scratch
Summary
As an open-source project with nearly 5,000 stars, Cube Studio represents a high level of AI platform engineering in China. It not only covers the entire traditional MLOps lifecycle but also keeps pace with large model era demands, providing complete capabilities from fine-tuning training to inference deployment. Combined with strong support for domestic hardware, Cube Studio is a worthy option for teams seeking open-source AI platform solutions to evaluate and try in depth.
Related articles
Product ReviewsThe Programmer's Desk Setup Guide: Building a Workspace That Feels Like Home
Discover how programmers build productive, comfortable workspaces. From multi-monitor setups to ergonomic design, explore the desk philosophy that drives focus and flow.
Product ReviewsQoder vs Cursor Real-World Comparison: Which $20/Month AI IDE Is Better?
Hands-on comparison of Qoder vs Cursor AI IDEs: Agent autonomy, human interaction count, and architecture decisions. Qoder needed only 2 interactions vs Cursor's 8.
Product ReviewsCursor Cloud Agent Demo: Eliminating Bottlenecks Across the Entire Software Development Lifecycle
Deep analysis of Cursor's Cloud Agent demo showing how cloud VMs, automated test artifacts, and a full-chain control plane systematically eliminate human bottlenecks across the software development lifecycle.