█

AI/TLDR

मुझे पिलाएं कॉफ़ी
मुझे एक कॉफ़ी पिलाएँ

Cube Studio

एक सेल्फ़-होस्टेड, Kubernetes-native MLOps प्लेटफ़ॉर्म, जो नोटबुक, ड्रैग-एंड-ड्रॉप पाइपलाइन, डिस्ट्रिब्यूटेड ट्रेनिंग, हाइपरपैरामीटर सर्च और मॉडल सर्विंग को एक ही web console में उपलब्ध कराता है

GPU & Compute CloudsOpen core
भाषा
Python
लाइसेंस
MIT
$git clone https://github.com/data-infra/cube-studio.git
संक्षेप में

Cube Studio क्या है?

Cube Studio एक सेल्फ़-होस्टेड, Kubernetes-native MLOps प्लेटफ़ॉर्म, जो नोटबुक, ड्रैग-एंड-ड्रॉप पाइपलाइन, डिस्ट्रिब्यूटेड ट्रेनिंग, हाइपरपैरामीटर सर्च और मॉडल सर्विंग को एक ही web console में उपलब्ध कराता है. यह Models & Inference टूल्स की GPU & Compute Clouds श्रेणी में आता है; ओपन सोर्स है, Python में लिखा गया है और MIT लाइसेंस के तहत है।

सारांश

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 एक वन-स्टॉप AI प्लेटफ़ॉर्म है, जिसे कोई संस्था अपने ही Kubernetes cluster पर डिप्लॉय करती है और डेटा से लेकर चलते हुए मॉडल तक का पूरा सफ़र कवर करती है: नोटबुक में ऑनलाइन डेवलपमेंट, ड्रैग-एंड-ड्रॉप पाइपलाइन ऑर्केस्ट्रेशन, मल्टी-नोड मल्टी-GPU डिस्ट्रिब्यूटेड ट्रेनिंग, हाइपरपैरामीटर सर्च, और मॉडल को inference services के रूप में प्रकाशित करना। यह क्लासिक मशीन लर्निंग, डीप लर्निंग और large models को कवर करता है, और LLM fine-tuning जोड़ता है (LLaMA-Factory के ज़रिए SFT, reward models और reinforcement learning), मल्टी-नोड vLLM और MindIE inference, एक LLM gateway, प्राइवेट knowledge bases और एक model market। इस प्रोजेक्ट की शुरुआत Tencent Music Entertainment Group ने tencentmusic/cube-studio के तहत की थी; उस repository के README में दर्ज है कि उसे 2026-05-18 को archive कर दिया गया था, और development 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 ↗

यह प्लेटफ़ॉर्म Kubernetes पर चलता है और कई clusters तथा resource groups में CPUs और accelerators का शेड्यूलिंग करता है। NVIDIA और AMD के अलावा यह चीनी accelerators को भी मैनेज करता है — Huawei Ascend NPUs, Hygon DCUs, Cambricon MLUs, Moore Threads, MetaX, Baidu Kunlun और Biren — जिनमें whole-card, shared और vGPU allocation, InfiniBand या RoCE पर RDMA, और प्लेटफ़ॉर्म components के लिए ARM64 images शामिल हैं। मल्टी-टेनेंसी, RBAC वाले project groups, OIDC या LDAP से SSO, प्रति-प्रोजेक्ट और प्रति-यूज़र quotas, metering और daily billing इसे internal compute-rental service के रूप में उपयोगी बनाते हैं, और README बताता है कि यह Kubernetes, Rancher, KubeSphere, KubeEdge, K3s या TKEStack पर चलता है, जिसमें पूरी तरह offline intranet deployments भी शामिल हैं।

Web console के पीछे इंस्टॉल में जाने-माने open-source हिस्से एक साथ जुड़े होते हैं: workflow scheduling के लिए Argo, distributed jobs के लिए Kubeflow training operator, batch scheduling के लिए Volcano, ingress gateway के रूप में Istio, object storage के लिए MinIO, और monitoring के लिए Prometheus व Grafana। Open-source संस्करण MIT लाइसेंस के तहत है और commercial use के लिए मुफ़्त है; प्रोजेक्ट की साइट एक commercial संस्करण भी बेचती है, जिसमें केवल उसी के लिए खास features पर फ़ीस ली जाती है, और कुछ built-in pipeline templates को enterprise-edition के रूप में चिह्नित किया गया है।

यह क्या करता है

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 ↗
  • ऑनलाइन डेवलपमेंट: browser में JupyterLab और VS Code (साथ में RStudio और Matlab), कई Python, R और Julia environments, SSH remote access, Git और TensorBoard, image saving, और whole-card, virtual या 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 ↗
  • ड्रैग-एंड-ड्रॉप पाइपलाइन, जो एक template library से बनती हैं (data import, feature processing, classic ML, distributed deep learning, model evaluation, registration और deployment), scheduled runs, backfill, concurrency limits, timeouts और विज़ुअलाइज़ किए गए task output के साथ; कोई भी code image दोबारा इस्तेमाल होने वाले template के रूप में register किया जा सकता है
  • TensorFlow, PyTorch, PaddlePaddle, MindSpore और MXNet पर distributed training, DeepSpeed, Megatron, Colossal-AI, Horovod या MPI acceleration के साथ, साथ ही NNI द्वारा संचालित single-machine या distributed hyperparameter search
  • LLM काम: DeepSeek, ChatGLM, Qwen और Llama का LoRA fine-tuning, LLaMA-Factory SFT, reward-model और RL training, OpenCompass evaluation, quantization और pruning
  • ML, TensorFlow, PyTorch, TensorRT और ONNX models के लिए zero-code serving, और single- या multi-node vLLM व MindIE inference, जो keys, rate limits और token quotas वाले OpenAI-compatible LLM gateway के पीछे चलते हैं; autoscaling, traffic splitting और mirroring, rolling upgrades और rollback
  • Data और labelling: MySQL, PostgreSQL, ClickHouse, Hive और Presto पर SQLLab querying, dataset management, और image, text, audio तथा multimodal data के लिए model-assisted auto-labelling वाला labelling platform; एक AIHub market जिसमें 400+ pre-trained models हैं, जिन्हें एक क्लिक में deploy किया, notebook में खोला या fine-tune किया जा सकता है
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 ↗

शुरू करें

Cube Studio repository की install/kubernetes डायरेक्टरी की scripts से किसी मौजूदा Kubernetes cluster पर इंस्टॉल होता है। Wiki में Kubernetes 1.25–1.31 (1.28 अनुशंसित), Docker 1.19+, Ubuntu 20.04/22.04/24.04 या CentOS 7.9/8, और कम से कम 16 CPU cores व 32 GB RAM वाली control machine की सूची दी गई है। Kubernetes में नए लोग पहले install/kubernetes/rancher/readme.md के अनुसार Rancher से cluster खड़ा कर सकते हैं।

Install scripts प्राप्त करें

Repository को clone करें और Kubernetes install डायरेक्टरी से काम करें। कई machines वाले setup के लिए पहले हर node पर shared storage (NFS, Ceph) को /data/k8s पर mount करें; एक ही machine हो तो इसे छोड़ सकते हैं। GPU machines को उनके vendor drivers और nvidia-docker2 चाहिए।

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

Cluster का kubeconfig दें

Cluster का kubeconfig install/kubernetes/config में कॉपी करें। Dual-NIC machine पर current-context को internal-network connection पर स्विच करें। IPVS-mode cluster के लिए install/kubernetes/cube/overlays/config/config.py में K8S_NETWORK_MODE को ipvs सेट करें, और containerd runtime के लिए CONTAINER_CLI को nerdctl सेट करें।

bashbash
cp ~/.kube/config config

Internal IP के साथ installer चलाएँ

Kubernetes worker machine पर start.sh चलाएँ और उस machine का internal (public नहीं) IP दें। यह node को label करता है, namespaces बनाता है, और MySQL, Redis, Prometheus, Istio, Argo, Volcano तथा Cube Studio के web front end और back end deploy करता है।

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

Console खोलें और समस्याएँ सुलझाएँ

Entry point istio-system namespace में istio-ingressgateway service है, जो डिफ़ॉल्ट रूप से port 80 पर होती है; किसी और port के लिए उस service को NodePort में बदलें। अगर पेज नहीं खुलता, तो जाँचें कि node पर platform labels हैं, PVs और PVCs bound हैं, और CoreDNS स्वस्थ है।

bashbash
kubectl get nodes --show-labels

वैकल्पिक: किसी domain पर चलाएँ

install/kubernetes/virtual.yaml के hosts field में * की जगह अपना domain लिखें और उसे दोबारा apply करें। इसके बाद notebooks, internal services और inference services को clean restart की ज़रूरत होती है।

bashbash
kubectl apply -f virtual.yaml

कमांड और कोड प्रोजेक्ट के अपने दस्तावेज़ों से लिए गए हैं — हमेशा जांचें आधिकारिक repo ताज़ा जानकारी के लिए।

कब इस्तेमाल करें

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 ↗
  • जब कंपनी चाहती है कि एक ही self-hosted console हो, जहाँ data scientists को shared GPUs पर नोटबुक, pipelines, training jobs और inference services मिलें, और हर टीम अपनी अलग scripts न चलाए, तब इसे आज़माएँ
  • जब AI workloads on-premises या पूरी तरह offline चलाने हों और NVIDIA GPUs के साथ Ascend, Hygon, Cambricon या MetaX जैसे चीनी accelerators को शेड्यूल करना हो, तब इसे आज़माएँ
  • जब LLaMA-Factory से open LLMs को fine-tune करना हो और उन्हें key-managed, rate-limited gateway के पीछे multi-node vLLM या MindIE के ज़रिए प्रकाशित करना हो, तब इसे आज़माएँ
  • जब compute pool को internal service के रूप में चलाना हो और Kubernetes के ऊपर project quotas, metering और billing की ज़रूरत हो, तब इसे आज़माएँ

How Cube Studio compares

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

टूलस्टारयह क्या करता है
Ray★ 44.4kएक ही फ्रेमवर्क से Python और ML वर्कलोड को लैपटॉप से क्लस्टर तक स्केल करें
Prefect★ 24.3kPython स्क्रिप्ट्स को शेड्यूल्ड, ऑब्ज़र्वेबल डेटा और ML पाइपलाइनों में बदलें
Dagster★ 16.5kdeclarative Python एसेट्स के रूप में डेटा और ML पाइपलाइन बनाएं, चलाएं और उन पर नज़र रखें
Kubeflow★ 16kKubernetes पर पूरे AI लाइफ़साइकल को चलाने के लिए एक ओपन सोर्स टूलकिट
Kedro★ 11.1kडेटा साइंस पाइपलाइन के लिए सॉफ़्टवेयर-इंजीनियरिंग अनुशासन — टेम्पलेट, डेटा कैटलॉग और पाइपलाइन एब्स्ट्रैक्शन
SkyPilot★ 10.9kकिसी भी cloud या Kubernetes पर AI jobs चलाएं और सबसे सस्ते उपलब्ध GPUs पर चलाएं
Metaflow★ 10.4kलैपटॉप से क्लाउड तक scale होने वाले data science और ML वर्कफ़्लो बनाएँ और चलाएँ
Cube Studio★ 2.6kएक सेल्फ़-होस्टेड, Kubernetes-native MLOps प्लेटफ़ॉर्म, जो नोटबुक, ड्रैग-एंड-ड्रॉप पाइपलाइन, डिस्ट्रिब्यूटेड ट्रेनिंग, हाइपरपैरामीटर सर्च और मॉडल सर्विंग को एक ही web console में उपलब्ध कराता है