Skip to content

Commit 8060d05

Browse files
authored
update images (#113)
1 parent 46c152f commit 8060d05

2 files changed

Lines changed: 14 additions & 13 deletions

File tree

jetstream/tools/proxy_dev/base.Dockerfile

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,20 @@ COPY maxtext ./maxtext
1818
RUN cd maxtext/ && \
1919
pip install -r requirements.txt
2020

21-
RUN pip install setuptools==58 fastapi==0.103.2 uvicorn nltk evaluate
21+
RUN pip install setuptools==58 fastapi==0.103.2 uvicorn
2222

2323
RUN pip install ./JetStream
2424

25+
COPY inference_mlperf4.1 ./inference_mlperf4.1
26+
RUN apt-get -y install python3-dev && apt-get -y install build-essential
27+
RUN pip install ./inference_mlperf4.1/loadgen
28+
RUN pip install \
29+
transformers==4.31.0 \
30+
nltk==3.8.1 \
31+
evaluate==0.4.0 \
32+
absl-py==1.4.0 \
33+
rouge-score==0.1.2 \
34+
sentencepiece==0.1.99 \
35+
accelerate==0.21.0
36+
2537
ENTRYPOINT ["bash"]

jetstream/tools/proxy_dev/dev.Dockerfile

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,6 @@ COPY JetStream ./JetStream
1313
COPY maxtext ./maxtext
1414

1515
RUN pip install ./JetStream
16-
17-
COPY inference_mlperf4.1 ./inference_mlperf4.1
18-
RUN apt-get -y install python3-dev && apt-get -y install build-essential
19-
RUN pip install ./inference_mlperf4.1/loadgen
20-
RUN pip install \
21-
transformers==4.31.0 \
22-
nltk==3.8.1 \
23-
evaluate==0.4.0 \
24-
absl-py==1.4.0 \
25-
rouge-score==0.1.2 \
26-
sentencepiece==0.1.99 \
27-
accelerate==0.21.0
16+
RUN pip install -r ./maxtext/requirements.txt
2817

2918
ENTRYPOINT ["bash"]

0 commit comments

Comments
 (0)