Skip to content

Commit ad8ad66

Browse files
authored
feat: Shrink the ai-dynamo wheel by 35 MiB (#1918)
Remove http and llmctl binaries. They have been unused for a while.
1 parent 480b41d commit ad8ad66

File tree

20 files changed

+1
-624
lines changed

20 files changed

+1
-624
lines changed

.devcontainer/post-create.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,6 @@ cargo doc --no-deps
5555
# create symlinks for the binaries in the deploy directory
5656
mkdir -p $HOME/dynamo/deploy/sdk/src/dynamo/sdk/cli/bin
5757
ln -sf $HOME/dynamo/.build/target/debug/dynamo-run $HOME/dynamo/deploy/sdk/src/dynamo/sdk/cli/bin/dynamo-run
58-
ln -sf $HOME/dynamo/.build/target/debug/http $HOME/dynamo/deploy/sdk/src/dynamo/sdk/cli/bin/http
59-
ln -sf $HOME/dynamo/.build/target/debug/llmctl $HOME/dynamo/deploy/sdk/src/dynamo/sdk/cli/bin/llmctl
6058

6159
# install the python bindings
6260
cd $HOME/dynamo/lib/bindings/python && retry maturin develop

Cargo.lock

Lines changed: 0 additions & 67 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515

1616
[workspace]
1717
members = [
18-
"components/http",
1918
"components/metrics",
2019
"components/router",
2120
"launch/*",

Earthfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,7 @@ dynamo-build:
120120
# Remove existing symlinks
121121
rm -f /workspace/deploy/sdk/src/dynamo/sdk/cli/bin/* && \
122122
# Create new symlinks pointing to the correct location
123-
ln -sf /workspace/target/release/dynamo-run /workspace/deploy/sdk/src/dynamo/sdk/cli/bin/dynamo-run && \
124-
ln -sf /workspace/target/release/http /workspace/deploy/sdk/src/dynamo/sdk/cli/bin/http && \
125-
ln -sf /workspace/target/release/llmctl /workspace/deploy/sdk/src/dynamo/sdk/cli/bin/llmctl
123+
ln -sf /workspace/target/release/dynamo-run /workspace/deploy/sdk/src/dynamo/sdk/cli/bin/dynamo-run
126124

127125

128126
RUN cd /workspace/lib/bindings/python && \

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,6 @@ Otherwise, to develop locally, we recommend working inside of the container
172172

173173
cargo build --release
174174
mkdir -p /workspace/deploy/sdk/src/dynamo/sdk/cli/bin
175-
cp /workspace/target/release/http /workspace/deploy/sdk/src/dynamo/sdk/cli/bin
176-
cp /workspace/target/release/llmctl /workspace/deploy/sdk/src/dynamo/sdk/cli/bin
177175
cp /workspace/target/release/dynamo-run /workspace/deploy/sdk/src/dynamo/sdk/cli/bin
178176

179177
uv pip install -e .

components/http/Cargo.toml

Lines changed: 0 additions & 34 deletions
This file was deleted.

components/http/src/main.rs

Lines changed: 0 additions & 73 deletions
This file was deleted.

container/Dockerfile.none

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ ENV CARGO_TARGET_DIR=/workspace/target
4949
RUN cargo build --release --locked && \
5050
cargo doc --no-deps && \
5151
cp target/release/dynamo-run /usr/local/bin && \
52-
cp target/release/http /usr/local/bin && \
53-
cp target/release/llmctl /usr/local/bin && \
5452
cp target/release/metrics /usr/local/bin && \
5553
cp target/release/mock_worker /usr/local/bin
5654

container/Dockerfile.sglang

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,8 +367,6 @@ RUN mkdir -p /opt/dynamo/bindings/wheels && \
367367
cp target/release/libdynamo_llm_capi.so /opt/dynamo/bindings/lib/. && \
368368
cp -r lib/bindings/c/include /opt/dynamo/bindings/. && \
369369
cp target/release/dynamo-run /usr/local/bin && \
370-
cp target/release/http /usr/local/bin && \
371-
cp target/release/llmctl /usr/local/bin && \
372370
cp target/release/metrics /usr/local/bin && \
373371
cp target/release/mock_worker /usr/local/bin
374372

container/Dockerfile.sglang-deepep

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,6 @@ ENV CARGO_BUILD_JOBS=${CARGO_BUILD_JOBS:-16}
132132

133133
RUN cargo build --release
134134
RUN mkdir -p deploy/sdk/src/dynamo/sdk/cli/bin
135-
RUN cp target/release/http deploy/sdk/src/dynamo/sdk/cli/bin
136-
RUN cp target/release/llmctl deploy/sdk/src/dynamo/sdk/cli/bin
137135
RUN cp target/release/dynamo-run deploy/sdk/src/dynamo/sdk/cli/bin
138136

139137
RUN cd lib/bindings/python && pip install --break-system-packages -e . && cd ../../..

0 commit comments

Comments
 (0)