OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Infrastructure & Serving

MLCube

MLCube is a framework for packaging machine-learning projects into portable, reproducible units called cubes and running their tasks through platform-specific runners.

Independent OpenViST project profile, based on linked sources.

MLCube — Portable, reproducible machine-learning workloads
OpenViST project illustration. See the linked sources for product details.
Understand the project

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.
Before you choose

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.

Source-based practical guide

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

  1. Create and activate a Python 3.8 environment, then install the runner with the command below.

    Documented command
    pip install mlcube-docker
  2. Check the runner with mlcube config --get runners and view local runner settings with mlcube config --list.

  3. Clone the examples repository and change into mlcube_examples/hello_world.

  4. Use mlcube describe to show available tasks, then run mlcube run --mlcube=. --platform=docker --task=hello and repeat with --task=bye.

  5. Read workspace/chats/chat_with_alice.txt to 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.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
21 November 2026