█

AI/TLDR

Buy me a coffee
Buy me a coffee

Cube Studio

A self-hosted, Kubernetes-native MLOps platform that puts notebooks, drag-and-drop pipelines, distributed training, hyperparameter search and model serving behind one web console

GPU & Compute CloudsOpen core
Language
Python
License
MIT
$git clone https://github.com/data-infra/cube-studio.git
IN SHORT

What is Cube Studio?

Cube Studio is a self-hosted, Kubernetes-native MLOps platform that puts notebooks, drag-and-drop pipelines, distributed training, hyperparameter search and model serving behind one web console. It sits in the GPU & Compute Clouds category of the Models & Inference tools and is open-source, written in Python and licensed MIT. To get started: get the install scripts.

Overview

Cube Studio pipeline editor with the template list on the left, a drag-and-drop DAG from data import through training, evaluation, registration and deployment in the middle, and task parameters on the right
The drag-and-drop pipeline editor: template list, DAG canvas and per-task configurationCube Studio README ↗

Cube Studio is a one-stop AI platform that an organisation deploys on its own Kubernetes cluster to cover the whole path from data to a running model: online development in notebooks, drag-and-drop pipeline orchestration, multi-node multi-GPU distributed training, hyperparameter search, and model publishing as inference services. It spans classic machine learning, deep learning and large models, and adds LLM fine-tuning (SFT, reward models and reinforcement learning via LLaMA-Factory), multi-node vLLM and MindIE inference, an LLM gateway, private knowledge bases and a model market. The project was started by Tencent Music Entertainment Group under tencentmusic/cube-studio; that repository's README records it was archived on 2026-05-18, and development continues at data-infra/cube-studio.

Cube Studio architecture diagram: compute management, data assets, online development, training, inference and agent modules above distributed frameworks and heterogeneous accelerators on Kubernetes
Platform architecture, from Kubernetes and heterogeneous compute up to training, serving and agent modulesCube Studio README ↗

The platform sits on Kubernetes and schedules CPUs and accelerators across multiple clusters and resource groups. Besides NVIDIA and AMD it manages Chinese accelerators — Huawei Ascend NPUs, Hygon DCUs, Cambricon MLUs, Moore Threads, MetaX, Baidu Kunlun and Biren — with whole-card, shared and vGPU allocation, RDMA over InfiniBand or RoCE, and ARM64 images for the platform components. Multi-tenancy, project groups with RBAC, SSO via OIDC or LDAP, per-project and per-user quotas, metering and daily billing make it usable as an internal compute-rental service, and the README states it runs on Kubernetes, Rancher, KubeSphere, KubeEdge, K3s or TKEStack, including fully offline intranet deployments.

Under the web console the install pulls together well-known open-source pieces: Argo for workflow scheduling, the Kubeflow training operator for distributed jobs, Volcano for batch scheduling, Istio as the ingress gateway, MinIO for object storage, and Prometheus plus Grafana for monitoring. The open-source edition is MIT-licensed and free for commercial use; the project's site also sells a commercial edition, with fees charged only for features exclusive to it, and some built-in pipeline templates are marked as enterprise-edition.

What it does

Three online IDEs running in Cube Studio: a JupyterLab notebook with a plot, VS Code with a terminal, and a Matlab session showing a 3D surface
Online development in JupyterLab, VS Code and MatlabCube Studio README ↗
  • Online development: JupyterLab and VS Code (plus RStudio and Matlab) in the browser, with multiple Python, R and Julia environments, SSH remote access, Git and TensorBoard, image saving, and whole-card, virtual or shared GPU allocation
Hyperparameter search results with a parallel-coordinates chart of batch size, hidden size, learning rate and momentum against the metric, and a list of trial jobs
Hyperparameter search trials plotted against the target metricCube Studio README ↗
  • Drag-and-drop pipelines built from a template library (data import, feature processing, classic ML, distributed deep learning, model evaluation, registration and deployment), with scheduled runs, backfill, concurrency limits, timeouts and visualised task output; any code image can be registered as a reusable template
  • Distributed training on TensorFlow, PyTorch, PaddlePaddle, MindSpore and MXNet with DeepSpeed, Megatron, Colossal-AI, Horovod or MPI acceleration, plus single-machine or distributed hyperparameter search driven by NNI
  • LLM work: DeepSeek, ChatGLM, Qwen and Llama LoRA fine-tuning, LLaMA-Factory SFT, reward-model and RL training, OpenCompass evaluation, quantization and pruning
  • Zero-code serving for ML, TensorFlow, PyTorch, TensorRT and ONNX models, and single- or multi-node vLLM and MindIE inference behind an OpenAI-compatible LLM gateway with keys, rate limits and token quotas; autoscaling, traffic splitting and mirroring, rolling upgrades and rollback
  • Data and labelling: SQLLab querying over MySQL, PostgreSQL, ClickHouse, Hive and Presto, dataset management, and a labelling platform with model-assisted auto-labelling for image, text, audio and multimodal data; an AIHub market of 400+ pre-trained models that deploy, open in a notebook or fine-tune in one click
Cube Studio labelling platform: a gallery of labelling task types beside an image-annotation screen with model pre-labelled object boxes and class scores
Labelling task templates and model-assisted auto-labellingCube Studio README ↗

Getting started

Cube Studio installs onto an existing Kubernetes cluster from the scripts in the repository's install/kubernetes directory. The wiki lists Kubernetes 1.25–1.31 (1.28 recommended), Docker 1.19+, Ubuntu 20.04/22.04/24.04 or CentOS 7.9/8, and a control machine with at least 16 CPU cores and 32 GB of RAM. Newcomers to Kubernetes can first stand up a cluster with Rancher following install/kubernetes/rancher/readme.md.

Get the install scripts

Clone the repository and work from the Kubernetes install directory. For a multi-machine setup, mount shared storage (NFS, Ceph) at /data/k8s on every node first; a single machine can skip it. GPU machines need their vendor drivers and nvidia-docker2.

bashbash
git clone https://github.com/data-infra/cube-studio.git
cd cube-studio/install/kubernetes

Hand it your cluster's kubeconfig

Copy the cluster's kubeconfig into install/kubernetes/config. On a dual-NIC machine, switch current-context to the internal-network connection. For an IPVS-mode cluster set K8S_NETWORK_MODE to ipvs, and for a containerd runtime set CONTAINER_CLI to nerdctl, in install/kubernetes/cube/overlays/config/config.py.

bashbash
cp ~/.kube/config config

Run the installer with the internal IP

Run start.sh on a Kubernetes worker machine, passing the machine's internal (not public) IP. It labels the node, creates namespaces, and deploys MySQL, Redis, Prometheus, Istio, Argo, Volcano and the Cube Studio web front end and back end.

bashbash
# run on a k8s worker machine
sh start.sh xx.xx.xx.xx

Open the console and troubleshoot

The entry point is the istio-ingressgateway service in the istio-system namespace, on port 80 by default; change that service to NodePort to use another port. If the page does not come up, check that the node carries the platform labels, that PVs and PVCs are bound, and that CoreDNS is healthy.

bashbash
kubectl get nodes --show-labels

Optional: serve it on a domain

Replace the * in the hosts field of install/kubernetes/virtual.yaml with your domain and re-apply it. Notebooks, internal services and inference services need a clean restart afterwards.

bashbash
kubectl apply -f virtual.yaml

Commands and code are distilled from the project's own documentation — always check the official repo for the latest.

When to use it

The AIHub model market in Cube Studio showing vision model cards with develop, train and deploy-web actions
AIHub model market: develop, fine-tune or deploy a pre-trained model from its cardCube Studio README ↗
  • Reach for it when a company wants a single self-hosted console where data scientists get notebooks, pipelines, training jobs and inference services on shared GPUs instead of each team running its own scripts
  • Reach for it when you must run AI workloads on-premises or fully offline and schedule Chinese accelerators such as Ascend, Hygon, Cambricon or MetaX alongside NVIDIA GPUs
  • Reach for it when you need to fine-tune open LLMs with LLaMA-Factory and publish them through multi-node vLLM or MindIE behind a key-managed, rate-limited gateway
  • Reach for it when you are running a compute pool as an internal service and need project quotas, metering and billing on top of Kubernetes

How Cube Studio compares

Cube Studio alongside other open-source gpu & compute clouds tools AI/TLDR tracks, ranked by GitHub stars.

ToolStarsWhat it does
Ray★ 44.4kA distributed computing framework that scales Python and ML workloads for training, tuning, data processing, and serving.
Prefect★ 24.3kA Python-native workflow orchestration tool for scheduling, running, and monitoring data and ML pipelines.
Dagster★ 16.5kA data and ML pipeline orchestrator with a declarative asset model, built-in lineage, and observability.
Kubeflow★ 16kA Kubernetes toolkit that brings together pipelines, notebooks, and training operators for running ML workflows at scale.
Kedro★ 11.1kPython framework for production-ready data engineering and data science pipelines, hosted by the LF AI & Data Foundation: a project template, a Data Catalog of connectors, and a dependency-resolving pipeline abstraction.
SkyPilot★ 10.9kA framework that runs AI jobs across clouds and Kubernetes, automatically finding and provisioning the cheapest available GPUs.
Metaflow★ 10.4kA Python framework from Netflix for building and running data science and ML workflows that scale from laptop to cloud.
Cube Studio★ 2.6kA self-hosted, Kubernetes-native MLOps platform that puts notebooks, drag-and-drop pipelines, distributed training, hyperparameter search and model serving behind one web console