From a99936c9b952370c84d142f1c2e21b4508d14b94 Mon Sep 17 00:00:00 2001 From: James Melvin Date: Sat, 30 Mar 2024 12:28:50 +0530 Subject: [PATCH 1/2] Added pip install ninja to accelerate installation of flash-attn --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 027c476c3..3e9722b17 100644 --- a/README.md +++ b/README.md @@ -109,6 +109,7 @@ git clone https://github.com/OpenAccess-AI-Collective/axolotl cd axolotl pip3 install packaging +pip3 install ninja pip3 install -e '.[flash-attn,deepspeed]' ``` @@ -1305,6 +1306,7 @@ git clone https://github.com/OpenAccess-AI-Collective/axolotl cd axolotl pip3 install packaging +pip3 install ninja pip3 install -e '.[flash-attn,deepspeed]' pip3 install -r requirements-dev.txt -r requirements-tests.txt From fbe4a11fea93a16208a48f6e50ba5f1fc890bf57 Mon Sep 17 00:00:00 2001 From: James Melvin Date: Sat, 30 Mar 2024 21:25:02 +0530 Subject: [PATCH 2/2] doc: cleanup --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 3e9722b17..ca0828490 100644 --- a/README.md +++ b/README.md @@ -108,8 +108,7 @@ Get started with Axolotl in just a few steps! This quickstart guide will walk yo git clone https://github.com/OpenAccess-AI-Collective/axolotl cd axolotl -pip3 install packaging -pip3 install ninja +pip3 install packaging ninja pip3 install -e '.[flash-attn,deepspeed]' ``` @@ -1305,8 +1304,7 @@ Please run below to setup env git clone https://github.com/OpenAccess-AI-Collective/axolotl cd axolotl -pip3 install packaging -pip3 install ninja +pip3 install packaging ninja pip3 install -e '.[flash-attn,deepspeed]' pip3 install -r requirements-dev.txt -r requirements-tests.txt