---
title: AI Runtime
description: AI Runtime is serverless GPU compute for training, fine-tuning, and batch inference on A10 and H100 GPUs from the CLI, notebooks, jobs, or Ray.
canonical_url: https://docs.databricks.com/aws/en/machine-learning/ai-runtime/
---

# AI Runtime

AI Runtime is a fully managed, serverless GPU compute offering on Databricks for training, fine-tuning, and other deep learning workloads. It is for ML engineers and data scientists who want GPUs without provisioning clusters. For classic compute with Databricks Runtime ML, see [Databricks Runtime for Machine Learning](https://docs.databricks.com/aws/en/machine-learning/databricks-runtime-ml.md).

* **Serverless GPUs**: On-demand A10s and H100s, accessible through the Databricks CLI, notebooks, jobs, and Ray.
* **Managed environments**: pre-built environments and dataloaders ready for training and fine-tuning, or bring your own Docker container.
* **Built-in observability**: experiment tracking via MLflow, logging, and debugging agents.
* **Orchestration**: schedule your GPU workloads and use them in CI/CD pipelines.

## Get started

Learn about AI Runtime and run your first workload.

| Get started                                                                                     | Description                                                                                    |
| ----------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
| [🚀 Quickstart](https://docs.databricks.com/aws/en/machine-learning/ai-runtime/quickstart.md)   | Run your first workload on AI Runtime from your terminal.                                      |
| [🧭 Overview](https://docs.databricks.com/aws/en/machine-learning/ai-runtime/overview.md)       | Learn the key things about AI Runtime: what GPUs are available, how it works, and limitations. |
| [💡 Examples](https://docs.databricks.com/aws/en/machine-learning/ai-runtime/examples/index.md) | Browse notebook tutorials and runnable Databricks CLI recipes organized by task.               |

## Connect to GPUs

Access GPUs through the Databricks CLI, notebooks, Jobs, or via Ray.

| Feature                                                                                                         | Description                                                                              |
| --------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
| [Databricks CLI](https://docs.databricks.com/aws/en/machine-learning/ai-runtime/connecting/cli/index.md)        | Submit and manage distributed GPU training jobs from your laptop using YAML job configs. |
| [Notebooks](https://docs.databricks.com/aws/en/machine-learning/ai-runtime/connecting/notebooks.md#gpu-compute) | Attach a notebook to AI Runtime and develop interactively, with no cluster setup.        |
| [Jobs](https://docs.databricks.com/aws/en/machine-learning/ai-runtime/connecting/notebook-jobs.md)              | Schedule a notebook on AI Runtime as a recurring job.                                    |
| [Ray](https://docs.databricks.com/aws/en/machine-learning/ai-runtime/develop-workloads/ray.md)                  | Run Ray Core, Ray Data, Ray Train, and Ray Tune on AI Runtime.                           |

## Manage environments

Run workloads in a managed environment or in your own Docker image.

| Feature                                                                                                                   | Description                                                                                             |
| ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
| [Pre-built environments](https://docs.databricks.com/aws/en/machine-learning/ai-runtime/develop-workloads/environment.md) | Start from a minimal Standard environment or a Databricks AI environment pre-loaded with ML frameworks. |
| [Custom Docker images](https://docs.databricks.com/aws/en/machine-learning/ai-runtime/connecting/cli/docker-images.md)    | Bring your own Docker image when your workload requires custom system libraries or dependencies.        |

## Develop workloads

Load data efficiently and develop workloads with coding agents.

| Feature                                                                                                                  | Description                                                                                             |
| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------- |
| [Load data into GPUs](https://docs.databricks.com/aws/en/machine-learning/ai-runtime/develop-workloads/dataloading.md)   | Stream data from Unity Catalog volumes with fault-tolerant loaders built for high GPU utilization.      |
| [Coding agents](https://docs.databricks.com/aws/en/machine-learning/ai-runtime/develop-workloads/coding-agents/index.md) | Use Genie Code and the `databricks-ai-runtime` agent skill to create, submit, and manage GPU workloads. |

## Monitor, debug, and deploy

Track experiments, inspect logs, diagnose failures, and schedule production workloads.

| Feature                                                                                                                                            | Description                                                                                                          |
| -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
| [MLflow for debugging](https://docs.databricks.com/aws/en/machine-learning/ai-runtime/monitor-deploy/tracking-observability.md#mlflow-integration) | Track experiments, metrics, and runs with MLflow.                                                                    |
| [View logs](https://docs.databricks.com/aws/en/machine-learning/ai-runtime/monitor-deploy/tracking-observability.md#viewing-logs)                  | View training output, monitor GPU resource usage while your code runs, and debug with Genie Code.                    |
| [Schedule workloads](https://docs.databricks.com/aws/en/machine-learning/ai-runtime/monitor-deploy/productionizing-training-workloads.md)          | Deploy training code with Declarative Automation Bundles, schedule runs, and build multi-task GPU and CPU workflows. |
| [Serve trained models](https://docs.databricks.com/aws/en/machine-learning/model-serving/custom-models.md)                                         | Log, register, and deploy models trained on AI Runtime to Model Serving endpoints on CPU or GPU compute.             |

## Guides

Explore migration guides, tutorials and technical resources for AI Runtime.

| Resource                                                                                                                                  | Description                                                                                                  |
| ----------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ |
| [Why use AI Runtime](https://docs.databricks.com/aws/en/machine-learning/ai-runtime/guides/why-ai-runtime.md)                             | Compare AI Runtime with classic compute and Databricks Runtime ML for cost, developer experience, and scale. |
| [Migrate from Slurm](https://docs.databricks.com/aws/en/machine-learning/ai-runtime/guides/migrate-from-slurm.md)                         | Map your Slurm batch scripts, distributed launchers, and shared storage onto the Databricks CLI.             |
| [Migrate classic GPU workloads](https://docs.databricks.com/aws/en/machine-learning/ai-runtime/guides/migrate-classic-workloads.md)       | Move an existing deep learning workload from a classic Databricks cluster to AI Runtime.                     |
| [Optimize your workload performance](https://docs.databricks.com/aws/en/machine-learning/ai-runtime/guides/performance-and-resiliency.md) | Improve training throughput and make long-running jobs more resilient to failures.                           |
