mirror of
https://github.com/wassname/ray.git
synced 2026-06-28 10:01:11 +08:00
[Serve] Add a minimal cli (#5854)
* Add a minimal cli * Integrate serve_cli with ray scripts
This commit is contained in:
@@ -827,6 +827,13 @@ cli.add_command(timeline)
|
||||
cli.add_command(project_cli)
|
||||
cli.add_command(session_cli)
|
||||
|
||||
try:
|
||||
from ray.experimental.serve.scripts import serve_cli
|
||||
cli.add_command(serve_cli)
|
||||
except Exception as e:
|
||||
logger.debug(
|
||||
"Integrating ray serve command line tool failed with {}".format(e))
|
||||
|
||||
|
||||
def main():
|
||||
return cli()
|
||||
|
||||
Reference in New Issue
Block a user