From 327b4e48e9892b61497971097f1308a4a463d551 Mon Sep 17 00:00:00 2001 From: mhenrichsen Date: Wed, 2 Jul 2025 09:03:52 +0200 Subject: [PATCH] Add installation instructions for pip and Docker to README.md (#2854) * Add installation instructions for pip and Docker to README.md * Enhance README.md with Docker installation guidance for improved setup reliability. --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index e18220567..ec9fc9f7f 100644 --- a/README.md +++ b/README.md @@ -59,6 +59,8 @@ Features: ### Installation +#### Using pip + ```bash pip3 install -U packaging==23.2 setuptools==75.8.0 wheel ninja pip3 install --no-build-isolation axolotl[flash-attn,deepspeed] @@ -68,6 +70,13 @@ axolotl fetch examples axolotl fetch deepspeed_configs # OPTIONAL ``` +#### Using Docker + +Installing with Docker can be less error prone than installing in your own environment. +```bash +docker run --gpus '"all"' --rm -it axolotlai/axolotl:main-latest +``` + Other installation approaches are described [here](https://docs.axolotl.ai/docs/installation.html). ### Your First Fine-tune