-
Notifications
You must be signed in to change notification settings - Fork 7k
[Doc][Serve] Import AutoscalingContext in autoscaling policy example #57876
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
Conversation
Change-Id: Ie4e7e5d53a882b4eafcc85513822f095068be816 Signed-off-by: daiping8 <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This PR correctly adds the missing AutoscalingContext import to the coordinated_scaling_policy documentation example, making it self-contained. I've suggested a minor improvement to sort the imports according to PEP 8. I also noticed that the custom_metrics_autoscaling_policy example in the same file is missing imports for AutoscalingContext, Dict, and Any. Addressing this would make all examples in the file complete.
|
on a second though could you also add appropriate imports to the custom metrics policy code block https://anyscale-ray--57876.com.readthedocs.build/en/57876/serve/advanced-guides/advanced-autoscaling.html#custom-metrics |
Sure! Modification in PR #57896. |
…ay-project#57876) ## Description ## Related issues Closes ray-project#57847 ## Additional information Signed-off-by: daiping8 <[email protected]>
…ay-project#57876) ## Description ## Related issues Closes ray-project#57847 ## Additional information Signed-off-by: daiping8 <[email protected]> Signed-off-by: xgui <[email protected]>
…57876) ## Description ## Related issues Closes #57847 ## Additional information Signed-off-by: daiping8 <[email protected]> Signed-off-by: elliot-barn <[email protected]>
## Description Add missing imports to autoscaling policy example ## Related issues Link related issues: #57876 (comment) --------- Signed-off-by: daiping8 <[email protected]> Signed-off-by: Ping Dai <[email protected]> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
…ay-project#57876) ## Description ## Related issues Closes ray-project#57847 ## Additional information Signed-off-by: daiping8 <[email protected]>
…roject#57896) ## Description Add missing imports to autoscaling policy example ## Related issues Link related issues: ray-project#57876 (comment) --------- Signed-off-by: daiping8 <[email protected]> Signed-off-by: Ping Dai <[email protected]> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
…ay-project#57876) ## Description ## Related issues Closes ray-project#57847 ## Additional information Signed-off-by: daiping8 <[email protected]> Signed-off-by: Aydin Abiar <[email protected]>
…roject#57896) ## Description Add missing imports to autoscaling policy example ## Related issues Link related issues: ray-project#57876 (comment) --------- Signed-off-by: daiping8 <[email protected]> Signed-off-by: Ping Dai <[email protected]> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Aydin Abiar <[email protected]>
Description
Related issues
Closes #57847
Additional information