File tree Expand file tree Collapse file tree 3 files changed +22
-4
lines changed
Expand file tree Collapse file tree 3 files changed +22
-4
lines changed Original file line number Diff line number Diff line change @@ -6,10 +6,10 @@ The E2E tests in GuideLLM use the [vLLM simulator by llm-d](https://llm-d.ai/doc
66docker build . -f tests/e2e/vllm-sim.Dockerfile -o type=local,dest=./
77```
88
9- On MacOS run :
9+ For MacOS native :
1010
1111``` shell
12- docker build . -f tests/e2e/vllm-sim.Dockerfile -o type=local,dest=./ --build-arg BUILDOS=darwin
12+ docker build . -f tests/e2e/vllm-sim-macos .Dockerfile -o type=local,dest=./
1313```
1414
1515Then to run the tests:
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ def test_over_saturated_benchmark(server: VllmSimServer):
3939 Another example test interacting with the server.
4040 """
4141 report_path = Path ("tests/e2e/over_saturated_benchmarks.json" )
42- rate = 100
42+ rate = 1
4343
4444 # Create and configure the guidellm client
4545 client = GuidellmClient (target = server .get_url (), output_path = report_path )
@@ -80,7 +80,7 @@ def test_over_saturated_benchmark_with_dict_config(server: VllmSimServer):
8080 Test over-saturation detection with dictionary configuration instead of boolean.
8181 """
8282 report_path = Path ("tests/e2e/over_saturated_benchmarks_dict.json" )
83- rate = 100
83+ rate = 1
8484
8585 # Create and configure the guidellm client
8686 client = GuidellmClient (target = server .get_url (), output_path = report_path )
Original file line number Diff line number Diff line change 1+ FROM golang AS base
2+
3+ WORKDIR /app
4+
5+ ARG BUILDOS
6+ ARG BUILDARCH
7+
8+ RUN apt-get update && \
9+ apt-get install -y libzmq3-dev pkg-config && \
10+ git clone https://github.com/llm-d/llm-d-inference-sim.git && \
11+ cd llm-d-inference-sim && \
12+ git checkout v0.3.0 && \
13+ GOOS=${BUILDOS} GOARCH=${BUILDARCH} make build
14+
15+ WORKDIR /app/llm-d-inference-sim
16+
17+ FROM scratch
18+ COPY --from=base /app/llm-d-inference-sim/bin /bin
You can’t perform that action at this time.
0 commit comments