📄 other.md

← Vault

Axolotl - Other

Pages: 26


Mixed Precision Training

URL: https://docs.axolotl.ai/docs/mixed_precision.html

Contents:

- Image

- Tags format

This section describes the different Docker images that are released by AxolotlAI at Docker Hub.

For Blackwell GPUs, please use the tags with PyTorch 2.7.1 and CUDA 12.8.

The base image is the most minimal image that can install Axolotl. It is based on the nvidia/cuda image. It includes python, torch, git, git-lfs, awscli, pydantic, and more.

The main image is the image that is used to run Axolotl. It is based on the axolotlai/axolotl-base image and includes the Axolotl codebase, dependencies, and more.

There may be some extra tags appended to the image, like -vllm which installs those packages.

The cloud image is the image that is used to run Axolotl in the cloud. It is based on the axolotlai/axolotl image and sets ENV variables like HuggingFace cache directories for volume mounts, tmux, and more for different cloud providers.

Jupyter lab is run by default. Set JUPYTER_DISABLE=1 in the environment variables to disable it.

This uses the same tags as the main image.

We recommend mounting volumes to /workspace/data for data persistence. /workspace/axolotl contains the source code and is ephemeral.

This is the same as the cloud image but without tmux.

The naming may be a bit confusing as it has -term appended to the end.

This uses the same tags as the cloud image.

Examples:

Example 1 (unknown):

`unknown

axolotlai/axolotl-base

`

Example 2 (bash):

`bash

main-base-py{python_version}-cu{cuda_version}-{pytorch_version}

`

Example 3 (unknown):

`unknown

axolotlai/axolotl

`

Example 4 (bash):

`bash

on push to main

main-py{python_version}-cu{cuda_version}-{pytorch_version}

latest main (currently torch 2.6.0, python 3.11, cuda 12.4)

main-latest

nightly build

{branch}-{date_in_YYYYMMDD}-py{python_version}-cu{cuda_version}-{pytorch_version}

tagged release

{version}

`