File size: 397 Bytes
b5fe063
a31746b
2634689
73450d9
990bec6
2634689
17345c8
2634689
 
990bec6
 
 
 
2634689
3b4b476
 
7576d85
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
ARG BASE_TAG=main-base
FROM winglian/axolotl-base:$BASE_TAG

ARG TORCH_CUDA_ARCH_LIST="7.0 7.5 8.0 8.6+PTX"

RUN apt-get update && \
    apt-get install -y vim

WORKDIR /workspace

# The base image ships with `pydantic==1.8.2` which is not working
RUN python3 -m pip install -U --no-cache-dir pydantic

ARG REF=main
RUN mkdir axolotl
COPY . axolotl/
RUN cd axolotl && \
    pip install -e .[int4]