Skip to content

Commit

Permalink
ad einops for supporting falcon models (deepjavalibrary#792)
Browse files Browse the repository at this point in the history
  • Loading branch information
lanking520 authored and KexinFeng committed Aug 16, 2023
1 parent 411f76a commit 6585880
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion serving/docker/deepspeed.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -yq libaio-dev libopenmpi-dev && \
pip3 install torch==${torch_version} torchvision==${torch_vision_version} --extra-index-url https://download.pytorch.org/whl/cu117 \
${deepspeed_wheel} transformers==${transformers_version} \
triton==2.0.0.dev20221202 mpi4py sentencepiece accelerate==${accelerate_version} bitsandbytes==${bitsandbytes_version}\
triton==2.0.0.dev20221202 mpi4py sentencepiece einops accelerate==${accelerate_version} bitsandbytes==${bitsandbytes_version}\
diffusers[torch]==${diffusers_version} opencv-contrib-python-headless && \
scripts/install_aitemplate.sh && \
scripts/patch_oss_dlc.sh python && \
Expand Down
2 changes: 1 addition & 1 deletion serving/docker/fastertransformer.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ RUN apt-get update && apt-get install -y wget git libnuma-dev zlib1g-dev rapidjs
cd ../../ && rm -rf ompi && \
scripts/install_python.sh ${python_version} && \
pip3 install ${torch_wheel} ${ft_wheel} ${tb_wheel} && \
pip3 install transformers==${transformers_version} accelerate==${accelerate_version} bitsandbytes==${bitsandbytes_version} && \
pip3 install transformers==${transformers_version} accelerate==${accelerate_version} bitsandbytes==${bitsandbytes_version} einops && \
pip3 install cmake sentencepiece && \
pip3 cache purge && \
apt-get clean -y && rm -rf /var/lib/apt/lists/* && \
Expand Down

0 comments on commit 6585880

Please sign in to comment.