Skip to content

Commit 445f1aa

Browse files
zhihaoshan-googleZhihao Shan
andauthored
Change the default message for requester.py and move mlperf 4.1 install (#136)
for proxy version support. using a more positive default message for requester.py. Co-authored-by: Zhihao Shan <zhihaoshan@google.com>
1 parent 93de590 commit 445f1aa

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

jetstream/tools/proxy_dev/base.Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@ 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
2625
RUN apt -y update && apt-get -y install python3-dev && apt-get -y install build-essential
27-
RUN pip install ./inference_mlperf4.1/loadgen
2826
RUN pip install \
2927
transformers==4.31.0 \
3028
nltk==3.8.1 \

jetstream/tools/proxy_dev/dev.Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ ENV JAX_BACKEND_TARGET=grpc://localhost:38681
1111
# Copy all files from local workspace into docker container
1212
COPY JetStream ./JetStream
1313
COPY maxtext ./maxtext
14-
COPY inference_mlperf4.1 ./inference_mlperf4.1
1514

1615
RUN pip install ./JetStream
1716
RUN pip install -r ./maxtext/requirements.txt

jetstream/tools/requester.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
_SERVER = flags.DEFINE_string("server", "0.0.0.0", "server address")
2828
_PORT = flags.DEFINE_string("port", "9000", "port to ping")
29-
_TEXT = flags.DEFINE_string("text", "Today is a good day", "The message")
29+
_TEXT = flags.DEFINE_string("text", "My dog is cute", "The message")
3030
_MAX_TOKENS = flags.DEFINE_integer(
3131
"max_tokens", 3, "Maximum number of output/decode tokens of a sequence"
3232
)

0 commit comments

Comments
 (0)