[serve] Update documentation for new DeploymentHandle API#39319
[serve] Update documentation for new DeploymentHandle API#39319edoakes merged 37 commits intoray-project:masterfrom
DeploymentHandle API#39319Conversation
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
angelinalg
left a comment
There was a problem hiding this comment.
Just some nits. Thanks for all of this great docs work.
In case you're wondering about my suggestions to replace via. Using via is discouraged in technical writing because it is often ambiguous and sometime too formal sounding. I didn't make suggestions for some occurrences of via because I wasn't sure what the better word woudl be. Some options are: through, with, using, in. Hope that helps.
Thanks for the added context this is helpful :) |
zcin
left a comment
There was a problem hiding this comment.
Some non-blockers, great job!
Co-authored-by: angelinalg <122562471+angelinalg@users.noreply.github.com> Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Co-authored-by: angelinalg <122562471+angelinalg@users.noreply.github.com> Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
zcin
left a comment
There was a problem hiding this comment.
Small note about the deployment handle explainer link, otherwise LGTM!
…ect#39319) Updates the documentation for the first stage of rolling out the new `DeploymentHandle` API: - The new types have been added to the API reference with docstrings. - The docstrings for the existing handle types have been updated to prod people to use the new API. - I've added a `note` to the model composition guide and the API ref describing the changes. - The model composition guide has been updated to describe the new `DeploymentHandle` (including streaming support) vs. the old ones. - All examples using handles are updated to opt into the new API via `handle.options(use_new_handle_api=True)`. Co-authored-by: angelinalg <122562471+angelinalg@users.noreply.github.com> Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
…39486) Updates the documentation for the first stage of rolling out the new `DeploymentHandle` API: - The new types have been added to the API reference with docstrings. - The docstrings for the existing handle types have been updated to prod people to use the new API. - I've added a `note` to the model composition guide and the API ref describing the changes. - The model composition guide has been updated to describe the new `DeploymentHandle` (including streaming support) vs. the old ones. - All examples using handles are updated to opt into the new API via `handle.options(use_new_handle_api=True)`. Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com> Signed-off-by: Gene Der Su <e870252314@gmail.com> Co-authored-by: angelinalg <122562471+angelinalg@users.noreply.github.com> Co-authored-by: Gene Der Su <e870252314@gmail.com>
…ect#39319) Updates the documentation for the first stage of rolling out the new `DeploymentHandle` API: - The new types have been added to the API reference with docstrings. - The docstrings for the existing handle types have been updated to prod people to use the new API. - I've added a `note` to the model composition guide and the API ref describing the changes. - The model composition guide has been updated to describe the new `DeploymentHandle` (including streaming support) vs. the old ones. - All examples using handles are updated to opt into the new API via `handle.options(use_new_handle_api=True)`. Co-authored-by: angelinalg <122562471+angelinalg@users.noreply.github.com> Signed-off-by: Jim Thompson <jimthompson5802@gmail.com>
…ect#39319) Updates the documentation for the first stage of rolling out the new `DeploymentHandle` API: - The new types have been added to the API reference with docstrings. - The docstrings for the existing handle types have been updated to prod people to use the new API. - I've added a `note` to the model composition guide and the API ref describing the changes. - The model composition guide has been updated to describe the new `DeploymentHandle` (including streaming support) vs. the old ones. - All examples using handles are updated to opt into the new API via `handle.options(use_new_handle_api=True)`. Co-authored-by: angelinalg <122562471+angelinalg@users.noreply.github.com> Signed-off-by: Victor <vctr.y.m@example.com>
Why are these changes needed?
Updates the documentation for the first stage of rolling out the new
DeploymentHandleAPI:noteto the model composition guide and the API ref describing the changes.DeploymentHandle(including streaming support) vs. the old ones.handle.options(use_new_handle_api=True).Related issue number
Checks
git commit -s) in this PR.scripts/format.shto lint the changes in this PR.method in Tune, I've added it in
doc/source/tune/api/under thecorresponding
.rstfile.