Skip to content

Commit

Permalink
fix: bloomz cpu req
Browse files Browse the repository at this point in the history
Signed-off-by: Keming <kemingyang@tensorchord.ai>
  • Loading branch information
kemingy committed Jul 21, 2023
1 parent fe6685c commit 60f1968
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions images/bloomz-560m/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,10 @@ RUN update-alternatives --install /usr/bin/python python ${ENVD_PREFIX}/python 1
update-alternatives --install /usr/bin/pip pip ${ENVD_PREFIX}/pip 1 && \
update-alternatives --install /usr/bin/pip3 pip3 ${ENVD_PREFIX}/pip3 1

COPY requirements.txt /
COPY requirements-cpu.txt /

RUN pip install -r requirements.txt
RUN pip install torch --extra-index-url https://download.pytorch.org/whl/cpu
RUN pip install -r requirements-cpu.txt

RUN mkdir -p /workspace

Expand Down
2 changes: 1 addition & 1 deletion requirements-cpu.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
msgpack
mosec
torch --extra-index-url https://download.pytorch.org/whl/cpu
torch
transformers
llmspec
falcon
Expand Down

0 comments on commit 60f1968

Please sign in to comment.