Skip to content

Commit 64966bc

Browse files
committed
chore: Rename dynamo.ingress to dynamo.frontend
We now start HTTP+pre-process+router like this: ``` python -m dynamo.frontend [--http-port 8080] ``` This fits the naming we agreed on. Previously the dynamo.frontend namespace was taken up by the examples, but those are gone now.
1 parent 3c6fc6f commit 64966bc

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Dynamo ingress / frontend node.
1+
# Dynamo frontend node.
22

3-
Usage: `python -m dynamo.ingress [--http-port <port>]`. Port defaults to 8080.
3+
Usage: `python -m dynamo.frontend [--http-port 8080]`.
44

55
This runs an OpenAI compliant HTTP server, a pre-processor, and a router in a single process. Engines / workers are auto-discovered when they call `register_llm`.
66

File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
22
# SPDX-License-Identifier: Apache-2.0
33

4-
from dynamo.ingress.main import main
4+
from dynamo.frontend.main import main
55

66
if __name__ == "__main__":
77
main()

components/ingress/src/dynamo/ingress/main.py renamed to components/frontend/src/dynamo/frontend/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
22
# SPDX-License-Identifier: Apache-2.0
33

4-
# Usage: `python -m dynamo.ingress [args]`
4+
# Usage: `python -m dynamo.frontend [args]`
55
#
66
# Start a frontend node. This runs:
77
# - OpenAI HTTP server.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ requires = ["hatchling"]
7979
build-backend = "hatchling.build"
8080

8181
[tool.hatch.build.targets.wheel]
82-
packages = ["deploy/sdk/src/dynamo", "components/planner/src/dynamo", "components/ingress/src/dynamo", "components/backends/llama_cpp/src/dynamo"]
82+
packages = ["deploy/sdk/src/dynamo", "components/planner/src/dynamo", "components/frontend/src/dynamo", "components/backends/llama_cpp/src/dynamo"]
8383

8484
# This section is for including the binaries in the wheel package
8585
# but doesn't make them executable scripts in the venv bin directory

0 commit comments

Comments
 (0)