File tree Expand file tree Collapse file tree
jetstream/tools/proxy_dev Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,8 +18,20 @@ COPY maxtext ./maxtext
1818RUN cd maxtext/ && \
1919pip 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
2323RUN 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+
2537ENTRYPOINT ["bash" ]
Original file line number Diff line number Diff line change @@ -13,17 +13,6 @@ COPY JetStream ./JetStream
1313COPY maxtext ./maxtext
1414
1515RUN 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
2918ENTRYPOINT ["bash" ]
You can’t perform that action at this time.
0 commit comments