# Determined

> Open-source platform for distributed deep learning training, tuning, and GPU scheduling

- Category: Models & Inference / GPU & Compute Clouds
- Language: Python
- Licence: Apache-2.0
- Repository: https://github.com/determined-ai/determined
- Website: https://www.determined.ai
- Canonical page: https://ai-tldr.dev/tools/determined/

## In short

Determined is an open-source deep learning platform that works with PyTorch and TensorFlow. It handles distributed training, hyperparameter tuning, GPU resource management, and experiment tracking, so teams can focus on their models instead of cluster plumbing. It sits in the GPU & Compute Clouds category of the Models & Inference tools and is open-source, written in Python and licensed Apache-2.0.

## Overview

Determined is an open-source deep learning platform that works with PyTorch and TensorFlow. It handles distributed training, hyperparameter tuning, GPU resource management, and experiment tracking, so teams can focus on their models instead of cluster plumbing.

It is aimed at machine learning engineers and researchers who train models on GPU clusters, whether on-premises or on cloud services like AWS and GCP. You adapt existing code through its Python class-based APIs or the lower-level Core API, then submit and manage experiments through a CLI and Web UI.

As a compute orchestration tool, Determined sits between your training code and the underlying hardware. It schedules trials across available GPUs, runs searches to find good hyperparameters, and records loss curves, configuration snapshots, and cluster utilization for analysis and reproducibility.

## What it does

- Distributed training across multiple GPUs without rewriting your training loop from scratch
- Built-in hyperparameter search, including the adaptive ASHA searcher, configured in YAML
- GPU cluster scheduling and resource management to reduce idle cloud GPU costs
- Experiment tracking with loss curves, code and config snapshots, and a model registry
- Works with PyTorch and TensorFlow via class-based APIs (e.g. PyTorchTrial) or the Core API
- Deploys locally, on AWS, GCP, Kubernetes, or Slurm/PBS through the det CLI

## Getting started

Install the CLI with pip, start a local cluster, then submit an experiment defined by a YAML config.

1. Install the CLI

   Install the Determined command line interface with pip.

```bash
pip install determined
```

2. Start a local cluster

   Use det deploy to bring up a Determined cluster on your machine. You can also target AWS, GCP, Kubernetes, or Slurm/PBS.

```bash
det deploy local cluster-up
```

3. Adapt your training code

   Make existing PyTorch or TensorFlow code compatible by organizing it into a class-based API such as PyTorchTrial, or use the Core API for finer control.

```python
from determined.pytorch import PyTorchTrial

class YourExperiment(PyTorchTrial):
  def __init__(self, context):
    ...
```

4. Create an experiment

   Define resources, hyperparameters, and the searcher in a YAML file, then submit it with the CLI.

```bash
det experiment create gpt.yaml .
```

## When to use it

- Training a model across many GPUs without managing distributed setup by hand
- Running a hyperparameter search to find good learning rates and other settings
- Sharing a GPU cluster across a team while keeping utilization high and cloud costs down
- Tracking experiments with reproducible config and code snapshots for later analysis
