upgrade deepspeed to 0.13.1 for mixtral fixes (#1189) [skip ci]

* upgrade deepspeed to 0.13.1 for mixtral fixes

* move deepspeed-kernels install to setup.py
This commit is contained in:
Wing Lian
2024-01-24 14:26:40 -05:00
committed by GitHub
parent 5bce45f800
commit 8a49309489
3 changed files with 4 additions and 3 deletions

View File

@@ -29,7 +29,7 @@ ENV PATH="/root/miniconda3/envs/py${PYTHON_VERSION}/bin:${PATH}"
WORKDIR /workspace WORKDIR /workspace
RUN python3 -m pip install --upgrade pip && pip3 install packaging && \ RUN python3 -m pip install --upgrade pip && pip3 install packaging && \
python3 -m pip install --no-cache-dir -U torch==${PYTORCH_VERSION}+cu${CUDA} deepspeed-kernels --extra-index-url https://download.pytorch.org/whl/cu$CUDA python3 -m pip install --no-cache-dir -U torch==${PYTORCH_VERSION}+cu${CUDA} --extra-index-url https://download.pytorch.org/whl/cu$CUDA
RUN git lfs install --skip-repo && \ RUN git lfs install --skip-repo && \
pip3 install awscli && \ pip3 install awscli && \

View File

@@ -5,7 +5,7 @@ transformers==4.37.0
tokenizers==0.15.0 tokenizers==0.15.0
bitsandbytes>=0.41.1 bitsandbytes>=0.41.1
accelerate==0.26.1 accelerate==0.26.1
deepspeed deepspeed>=0.13.1
addict addict
fire fire
PyYAML>=6.0 PyYAML>=6.0

View File

@@ -56,7 +56,8 @@ setup(
"fused-dense-lib @ git+https://github.com/Dao-AILab/flash-attention@v2.3.3#subdirectory=csrc/fused_dense_lib", "fused-dense-lib @ git+https://github.com/Dao-AILab/flash-attention@v2.3.3#subdirectory=csrc/fused_dense_lib",
], ],
"deepspeed": [ "deepspeed": [
"deepspeed", "deepspeed>=0.13.1",
"deepspeed-kernels",
], ],
"mamba-ssm": [ "mamba-ssm": [
"mamba-ssm==1.0.1", "mamba-ssm==1.0.1",