Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change the default message for requester.py and remove mlperf 4.1 install for proxy version support. #136

Merged
merged 1 commit into from
Sep 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions jetstream/tools/proxy_dev/base.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ RUN pip install setuptools==58 fastapi==0.103.2 uvicorn

RUN pip install ./JetStream

COPY inference_mlperf4.1 ./inference_mlperf4.1
RUN apt -y update && apt-get -y install python3-dev && apt-get -y install build-essential
RUN pip install ./inference_mlperf4.1/loadgen
RUN pip install \
transformers==4.31.0 \
nltk==3.8.1 \
Expand Down
1 change: 0 additions & 1 deletion jetstream/tools/proxy_dev/dev.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ ENV JAX_BACKEND_TARGET=grpc://localhost:38681
# Copy all files from local workspace into docker container
COPY JetStream ./JetStream
COPY maxtext ./maxtext
COPY inference_mlperf4.1 ./inference_mlperf4.1

RUN pip install ./JetStream
RUN pip install -r ./maxtext/requirements.txt
Expand Down
2 changes: 1 addition & 1 deletion jetstream/tools/requester.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

_SERVER = flags.DEFINE_string("server", "0.0.0.0", "server address")
_PORT = flags.DEFINE_string("port", "9000", "port to ping")
_TEXT = flags.DEFINE_string("text", "Today is a good day", "The message")
_TEXT = flags.DEFINE_string("text", "My dog is cute", "The message")
_MAX_TOKENS = flags.DEFINE_integer(
"max_tokens", 3, "Maximum number of output/decode tokens of a sequence"
)
Expand Down
Loading