Practical overview
When it fits
Use MLCube when a machine-learning workload needs a packaged, repeatable execution path across computing environments, or when exploring the documented local Docker workflow.
Who it is for
- Machine-learning practitioners who want to package projects for repeatable runs.
- Teams demonstrating or moving workloads across cloud and on-premises infrastructure.
- Developers exploring container-based execution of model examples.
Documented uses
- Package a machine-learning project as a cube.
- Inspect the tasks exposed by a cube and run selected tasks through a runner.
- Override task parameters and reconfigure a cube after changing implementation files.
Requirements & limits
- The documented Hello World path requires Python 3.8 and a usable Docker runtime.
- Runner integrations are installed as separate Python packages.
- The documentation marks GCP, Kubernetes, Kubeflow and SSH runners as early-stage.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Run the documented Hello World cube with Docker
Install the Docker runner, inspect the example cube’s tasks, and run its hello and bye tasks locally.
Before you start
- Python 3.8 in a Conda or virtual environment
- The MLCube Docker runner
- A Docker runtime available to the user
- The mlcommons/mlcube_examples repository
Steps
Create and activate a Python 3.8 environment, then install the runner with the command below.
pip install mlcube-dockerCheck the runner with
mlcube config --get runnersand view local runner settings withmlcube config --list.Clone the examples repository and change into
mlcube_examples/hello_world.Use
mlcube describeto show available tasks, then runmlcube run --mlcube=. --platform=docker --task=helloand repeat with--task=bye.Read
workspace/chats/chat_with_alice.txtto view the example output.
Expected outcome
The example runs its hello and bye tasks and writes a chat transcript to the workspace file.
Guide limitations
- Docker must be installed and usable by the current user.
- The first run may take time while the Docker image is downloaded or built.
- Local Docker executable, proxy, or build settings may need adjustment.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 21 November 2026

