Unverified Commit 3d17a49a authored by Schwinn Saereesitthipitak's avatar Schwinn Saereesitthipitak Committed by GitHub
Browse files

refactor: remove dynamo build (#1778)


Signed-off-by: default avatarSchwinn Saereesitthipitak <17022745+galletas1712@users.noreply.github.com>
parent 3e0cb073
This diff is collapsed.
...@@ -22,7 +22,6 @@ import importlib.metadata ...@@ -22,7 +22,6 @@ import importlib.metadata
import typer import typer
from rich.console import Console from rich.console import Console
from dynamo.sdk.cli.build import build
from dynamo.sdk.cli.env import env from dynamo.sdk.cli.env import env
from dynamo.sdk.cli.run import run from dynamo.sdk.cli.run import run
from dynamo.sdk.cli.serve import serve from dynamo.sdk.cli.serve import serve
...@@ -74,7 +73,6 @@ cli.command( ...@@ -74,7 +73,6 @@ cli.command(
context_settings={"allow_extra_args": True, "ignore_unknown_options": True}, context_settings={"allow_extra_args": True, "ignore_unknown_options": True},
add_help_option=False, add_help_option=False,
)(run) )(run)
cli.command()(build)
if __name__ == "__main__": if __name__ == "__main__":
cli() cli()
...@@ -69,26 +69,4 @@ dynamo serve hello_world:Frontend ...@@ -69,26 +69,4 @@ dynamo serve hello_world:Frontend
dynamo serve --service-name Middle hello_world:Frontend dynamo serve --service-name Middle hello_world:Frontend
``` ```
### `build`
Use `build` to package your inference graph and its dependencies into an archive. Combine this with the `--containerize` flag to create a single Docker container for your inference graph. As with `serve`, you point toward the first service in your dependency graph. For more details, see [Serving Inference Graphs](dynamo_serve.md).
#### Usage
```bash
dynamo build [SERVICE]
```
#### Arguments
* `SERVICE`: Specify the service to build using file:Class syntax
#### Flags
* `--working-dir`: Specify the directory for finding the Service instance
* `--containerize`: Choose whether to create a container from the dynamo artifact after building
#### Example
```bash
cd examples/hello_world
dynamo build hello_world:Frontend
```
For a detailed deployment example, see [Operator Deployment](dynamo_deploy/operator_deployment.md). For a detailed deployment example, see [Operator Deployment](dynamo_deploy/operator_deployment.md).
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment