---
title: Experiment Management
description: >-
  LitLogger is the experiment tracker built into Lightning AI. It supports
  standalone scripts, the new dict-style Experiment API, Lightning/Fabric...
canonical: 'https://lightning.ai/docs/platform/train/experiment-management'
---
# Experiment Management {#experiment-management}

LitLogger is the experiment tracker built into Lightning AI. It supports standalone scripts, the new dict-style [`Experiment`](/docs/platform/train/experiment-management/api.md#litlogger.experiment.Experiment) API, Lightning/Fabric integration, files, media, models, and retrieval workflows.

![Comparing experiment metrics with charts](https://media.lightning.ai/litlogger/experiment_comparison_charts.png)

These docs are organized as a narrative:

- tutorials to get from zero to a working flow
- guides for specific workflows and API patterns
- runnable examples from the repository
- an API reference for the public surface

## Start Here {#start-here}

Use this path if you are new to LitLogger:

1. [Installation](/docs/platform/train/experiment-management/install.md)
2. [Quickstart](/docs/platform/train/experiment-management/tutorials/quickstart.md)
3. [Files, Media, Models](/docs/platform/train/experiment-management/tutorials/file_media_model.md)
4. [Lightning Tutorial](/docs/platform/train/experiment-management/tutorials/lightning.md)
5. [Complete Workflow](/docs/platform/train/experiment-management/tutorials/complete_workflow.md)

## Supported Workflows {#supported-workflows}

LitLogger currently supports these main workflows:

- standalone logging with the dict-style [`Experiment`](/docs/platform/train/experiment-management/api.md#litlogger.experiment.Experiment) API
- legacy module-level logging helpers for existing scripts
- Lightning and Fabric integration through upstream [`lightning.pytorch.loggers.LitLogger`](/docs/pytorch/stable/extensions/generated/lightning.pytorch.loggers.LitLogger#lightning.pytorch.loggers.LitLogger)
- file, image, text, and model logging through [`File`](/docs/platform/train/experiment-management/api.md#litlogger.media.File), [`Image`](/docs/platform/train/experiment-management/api.md#litlogger.media.Image), [`Text`](/docs/platform/train/experiment-management/api.md#litlogger.media.Text), and [`Model`](/docs/platform/train/experiment-management/api.md#litlogger.media.Model)
- experiment resume and later retrieval by name through [`litlogger.init.init()`](/docs/platform/train/experiment-management/api.md#litlogger.init.init)
- inference logging from a LitServe endpoint

## Quick Example {#quick-example}

```python
import litlogger
from litlogger import File, Text

experiment = litlogger.init(name="quickstart")

experiment["model"] = "resnet50"
experiment["notes"] = Text("first run")

for step in range(10):
    experiment["train/loss"].append(1.0 / (step + 1), step=step)

experiment["config"] = File("config.yaml")
experiment.finalize()
```

## Documentation Map {#documentation-map}

[Tutorials](#tutorials) provide end-to-end, task-oriented walkthroughs.

[Guides](#guides) explain workflows, migration paths, and logging patterns in more depth.

[Examples](#examples) include every runnable example currently shipped in the repository.

The [API reference](#api-reference) documents the public classes, functions, and enums.

## Start {#start}

- [Installation](/docs/platform/train/experiment-management/install.md)

## Tutorials {#tutorials}

- [Quickstart](/docs/platform/train/experiment-management/tutorials/quickstart.md)
- [Files, Media, Models](/docs/platform/train/experiment-management/tutorials/file_media_model.md)
- [Lightning Tutorial](/docs/platform/train/experiment-management/tutorials/lightning.md)
- [Complete Workflow](/docs/platform/train/experiment-management/tutorials/complete_workflow.md)
- [LitServe Tutorial](/docs/platform/train/experiment-management/tutorials/litserve.md)

## Guides {#guides}

- [Standalone Usage](/docs/platform/train/experiment-management/guide/standalone.md)
- [Lightning Integration](/docs/platform/train/experiment-management/guide/lightning.md)
- [Logging Artifacts](/docs/platform/train/experiment-management/guide/artifacts.md)
- [Logging Media](/docs/platform/train/experiment-management/guide/media.md)
- [Workflows](/docs/platform/train/experiment-management/guide/workflows.md)
- [Examples](/docs/platform/train/experiment-management/guide/examples.md)

## Examples {#examples}

See [Examples](/docs/platform/train/experiment-management/guide/examples.md) for the full list of runnable repository examples.

## API Reference {#api-reference}

- [API Reference](/docs/platform/train/experiment-management/api.md)

---

**Navigation**

- Parent: [Train](/docs/platform/train.md)
- Children:
  - [Installation](/docs/platform/train/experiment-management/install.md)
  - [API Reference](/docs/platform/train/experiment-management/api.md)
  - [Guide](/docs/platform/train/experiment-management/guide.md)
  - [Tutorials](/docs/platform/train/experiment-management/tutorials.md)
