winglian commited on
Commit
92d800a
1 Parent(s): 2734e3f

build dependencies and aws-cli

Browse files
Files changed (2) hide show
  1. docker/Dockerfile +2 -1
  2. docker/Dockerfile-base +1 -1
docker/Dockerfile CHANGED
@@ -10,7 +10,8 @@ RUN apt-get update && \
10
  curl -L -O https://github.com/winglian/axolotl/raw/wheels/wheels/flash_attn-1.0.4-cp38-cp38-linux_x86_64.whl && \
11
  pip install deepspeed-0.9.2%2B7ddc3b01-cp38-cp38-linux_x86_64.whl && \
12
  pip install flash_attn-1.0.4-cp38-cp38-linux_x86_64.whl && \
13
- pip install "peft @ git+https://github.com/huggingface/peft.git@main" --force-reinstall --no-dependencies
 
14
 
15
  WORKDIR /workspace
16
  ARG REF=main
 
10
  curl -L -O https://github.com/winglian/axolotl/raw/wheels/wheels/flash_attn-1.0.4-cp38-cp38-linux_x86_64.whl && \
11
  pip install deepspeed-0.9.2%2B7ddc3b01-cp38-cp38-linux_x86_64.whl && \
12
  pip install flash_attn-1.0.4-cp38-cp38-linux_x86_64.whl && \
13
+ pip install "peft @ git+https://github.com/huggingface/peft.git@main" --force-reinstall --no-dependencies && \
14
+ pip install awscli
15
 
16
  WORKDIR /workspace
17
  ARG REF=main
docker/Dockerfile-base CHANGED
@@ -13,7 +13,7 @@ ARG CUDA="cu118"
13
  ENV PYTHON_VERSION=$PYTHON_VERSION
14
 
15
  RUN apt-get update
16
- RUN apt-get install -y wget && rm -rf /var/lib/apt/lists/*
17
 
18
  RUN wget \
19
  https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh \
 
13
  ENV PYTHON_VERSION=$PYTHON_VERSION
14
 
15
  RUN apt-get update
16
+ RUN apt-get install -y wget git build-essential ninja-build git-lfs && rm -rf /var/lib/apt/lists/*
17
 
18
  RUN wget \
19
  https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh \