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 @@ -5,7 +5,7 @@ FROM ubuntu:22.04
55
66ENV DEBIAN_FRONTEND=noninteractive
77
8- RUN apt -y update && apt install -y --no-install-recommends apt-transport-https ca-certificates gnupg git python3.10 python3-pip curl
8+ RUN apt -y update && apt install -y --no-install-recommends apt-transport-https ca-certificates gnupg git python3.10 python3-pip curl nano vim
99
1010RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.10 1
1111RUN echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main" | tee -a /etc/apt/sources.list.d/google-cloud-sdk.list && curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | gpg --dearmor -o /usr/share/keyrings/cloud.google.gpg && apt-get update -y && apt-get install google-cloud-sdk -y
Original file line number Diff line number Diff line change @@ -14,4 +14,16 @@ COPY maxtext ./maxtext
1414
1515RUN pip install ./JetStream
1616
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
28+
1729ENTRYPOINT ["bash" ]
You can’t perform that action at this time.
0 commit comments