upgrade deepspeed to 0.13.1 for mixtral fixes (#1189) [skip ci]
Browse files* upgrade deepspeed to 0.13.1 for mixtral fixes
* move deepspeed-kernels install to setup.py
- docker/Dockerfile-base +1 -1
- requirements.txt +1 -1
- setup.py +2 -1
docker/Dockerfile-base
CHANGED
@@ -29,7 +29,7 @@ ENV PATH="/root/miniconda3/envs/py${PYTHON_VERSION}/bin:${PATH}"
|
|
29 |
WORKDIR /workspace
|
30 |
|
31 |
RUN python3 -m pip install --upgrade pip && pip3 install packaging && \
|
32 |
-
python3 -m pip install --no-cache-dir -U torch==${PYTORCH_VERSION}+cu${CUDA}
|
33 |
|
34 |
RUN git lfs install --skip-repo && \
|
35 |
pip3 install awscli && \
|
|
|
29 |
WORKDIR /workspace
|
30 |
|
31 |
RUN python3 -m pip install --upgrade pip && pip3 install packaging && \
|
32 |
+
python3 -m pip install --no-cache-dir -U torch==${PYTORCH_VERSION}+cu${CUDA} --extra-index-url https://download.pytorch.org/whl/cu$CUDA
|
33 |
|
34 |
RUN git lfs install --skip-repo && \
|
35 |
pip3 install awscli && \
|
requirements.txt
CHANGED
@@ -5,7 +5,7 @@ transformers==4.37.0
|
|
5 |
tokenizers==0.15.0
|
6 |
bitsandbytes>=0.41.1
|
7 |
accelerate==0.26.1
|
8 |
-
deepspeed
|
9 |
addict
|
10 |
fire
|
11 |
PyYAML>=6.0
|
|
|
5 |
tokenizers==0.15.0
|
6 |
bitsandbytes>=0.41.1
|
7 |
accelerate==0.26.1
|
8 |
+
deepspeed>=0.13.1
|
9 |
addict
|
10 |
fire
|
11 |
PyYAML>=6.0
|
setup.py
CHANGED
@@ -56,7 +56,8 @@ setup(
|
|
56 |
"fused-dense-lib @ git+https://github.com/Dao-AILab/flash-attention@v2.3.3#subdirectory=csrc/fused_dense_lib",
|
57 |
],
|
58 |
"deepspeed": [
|
59 |
-
"deepspeed",
|
|
|
60 |
],
|
61 |
"mamba-ssm": [
|
62 |
"mamba-ssm==1.0.1",
|
|
|
56 |
"fused-dense-lib @ git+https://github.com/Dao-AILab/flash-attention@v2.3.3#subdirectory=csrc/fused_dense_lib",
|
57 |
],
|
58 |
"deepspeed": [
|
59 |
+
"deepspeed>=0.13.1",
|
60 |
+
"deepspeed-kernels",
|
61 |
],
|
62 |
"mamba-ssm": [
|
63 |
"mamba-ssm==1.0.1",
|