Repository navigation
[Refactor] Share PD routing fields across request models - #41756
Conversation
|
/tag-and-rerun-ci |
|
/rerun-test registered/unit/entrypoints/anthropic/test_serving.py test_serving_chat.py test_serving_responses.py test_protocol.py test_openai_server.py::TestOpenAIServer test_openai_server.py::TestOpenAIServerv1Responses test_anthropic_tool_use.py registered/disaggregation/test_disaggregation_basic.py::TestDisaggregationAccuracy |
|
Results for 🚀 🚀 🚀 🚀 |
AnthropicMessagesRequest already inherits routed_dp_rank from PDRoutingFields and forwards it to the converted ChatCompletionRequest (sgl-project#39711, sgl-project#41756). Add the deprecated data_parallel_rank alias with the shared migration so a body pin on /v1/messages accepts the same fields as /v1/chat/completions, and cover the conversion in the unit tests. The header already reached this route through OpenAIServingChat and keeps precedence. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Define the PD/DP routing fields (
bootstrap_host/port/room,routed_dp_rank,disagg_prefill_dp_rank) once in aPDRoutingFieldsbase shared by the Completions, Chat Completions, Responses, and Anthropic Messages requests, and forward them in the Messages conversion withpd_routing_kwargs(), so a new entrypoint cannot drop them (follows #39711).CI States
Latest PR Test (Base): 🚫 Run #36628579787
Latest PR Test (Extra): ❌ Run #36628579736
Latest PR Test (AMD ROCm 10): 🚫 Run #36628579712