-
Notifications
You must be signed in to change notification settings - Fork 7k
[serve] Fix bug with 'proxy_location' set for 'serve run' CLI command + discrepancy fix in Python API 'serve.start' function #57622
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
00eb339
f6e8303
5192d56
47c563b
d978d26
b4c6107
3d44bf7
0b59f32
72f7b60
8f9efd9
0040b9c
d0ff73c
96b63be
969f07e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -21,7 +21,7 @@ | |
| check_ray_stopped, | ||
| start_telemetry_app, | ||
| ) | ||
| from ray.serve.config import HTTPOptions, gRPCOptions | ||
| from ray.serve.config import HTTPOptions, ProxyLocation, gRPCOptions | ||
| from ray.serve.context import _get_global_client | ||
| from ray.tests.conftest import ( # noqa | ||
| external_redis, | ||
|
|
@@ -148,6 +148,7 @@ def _shared_serve_instance(): | |
| _system_config={"metrics_report_interval_ms": 1000, "task_retry_delay_ms": 50}, | ||
| ) | ||
| serve.start( | ||
| proxy_location=ProxyLocation.HeadOnly, | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is the current value which is used implicitly.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. just confirming, even if we remove this,
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It was true before the change. In the current master, the result This PR changes this discrepancy. After the change See the example in the description:
So, I use now to have the same behavior in tests as before the change.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. makes sense :) |
||
| http_options={"host": "0.0.0.0"}, | ||
| grpc_options={ | ||
| "port": 9000, | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.