From 6c9a87c8ee6da36901dbe301d95580c46106164d Mon Sep 17 00:00:00 2001 From: Wing Lian Date: Sun, 30 Jul 2023 22:20:06 -0400 Subject: [PATCH] pin accelerate so it works with llama2 (#330) --- docker/Dockerfile | 4 ---- requirements.txt | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 6a275472d..590cff664 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -11,10 +11,6 @@ RUN apt-get update && \ WORKDIR /workspace -RUN pip3 install --force-reinstall "peft @ git+https://github.com/huggingface/peft.git@main" \ - "accelerate @ git+https://github.com/huggingface/accelerate.git@main" \ - "transformers @ git+https://github.com/huggingface/transformers.git@main" - RUN git clone --depth=1 https://github.com/OpenAccess-AI-Collective/axolotl.git # If AXOLOTL_EXTRAS is set, append it in brackets RUN cd axolotl && \ diff --git a/requirements.txt b/requirements.txt index fbb454436..98a57c66a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ peft @ git+https://github.com/huggingface/peft.git transformers @ git+https://github.com/huggingface/transformers.git bitsandbytes>=0.39.0 -accelerate==0.21.0 +accelerate @ git+https://github.com/huggingface/accelerate@2a289f6108e77a77a4efffb3f6316bc98538413b addict fire PyYAML==6.0