From cf61f14bff6b98fd9bfdc74e1fd3ae1d90f4313b Mon Sep 17 00:00:00 2001 From: NanoCode012 Date: Wed, 31 May 2023 10:28:49 +0900 Subject: [PATCH 1/2] FIx(readme): Fix torch missing from readme --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e1391e39b..23d3c68e9 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ ## Quickstart ⚡ -**Requirements**: Python 3.9. +**Requirements**: Python 3.9 and Pytorch 2.0. ```bash git clone https://github.com/OpenAccess-AI-Collective/axolotl @@ -58,7 +58,9 @@ accelerate launch scripts/finetune.py examples/lora-openllama-3b/config.yml \ - Conda/Pip venv 1. Install python **3.9** - 2. Install python dependencies with ONE of the following: + 2. Install pytorch https://pytorch.org/get-started/locally/ + + 3. Install python dependencies with ONE of the following: - `pip3 install -e .` (recommended, supports QLoRA, no gptq/int4 support) - `pip3 install -e .[gptq]` (next best if you don't need QLoRA, but want to use gptq) - `pip3 install -e .[gptq_triton]` From bdc4bd7d4e2a71a72c15b18151a431267a866576 Mon Sep 17 00:00:00 2001 From: NanoCode012 Date: Wed, 31 May 2023 13:24:28 +0900 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 23d3c68e9..77b2711cd 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ accelerate launch scripts/finetune.py examples/lora-openllama-3b/config.yml \ - Conda/Pip venv 1. Install python **3.9** - 2. Install pytorch https://pytorch.org/get-started/locally/ + 2. Install pytorch stable https://pytorch.org/get-started/locally/ 3. Install python dependencies with ONE of the following: - `pip3 install -e .` (recommended, supports QLoRA, no gptq/int4 support)