Commit c519e25
committed
[NIXL] Add remote_request_id to kv_transfer_params
Include the internal request ID that the prefill instance is
expecting the decode instance to send it in the NIXL notification.
Right now, we rely on the proxy supplying the ID via X-Request-ID
and that prefill and decode will mangle this ID in identical ways.
This is obviously quite brittle, and P should be explicit about what
ID it expects from D.
Relates to #27987 - adding a random prefix to client-provided
request IDs.
Signed-off-by: Mark McLoughlin <markmc@redhat.com>1 parent ccbdf51 commit c519e25
File tree
1 file changed
+12
-2
lines changed- vllm/distributed/kv_transfer/kv_connector/v1
1 file changed
+12
-2
lines changedLines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
121 | 122 | | |
122 | 123 | | |
123 | 124 | | |
| |||
144 | 145 | | |
145 | 146 | | |
146 | 147 | | |
| 148 | + | |
147 | 149 | | |
148 | 150 | | |
149 | 151 | | |
| |||
530 | 532 | | |
531 | 533 | | |
532 | 534 | | |
533 | | - | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
534 | 541 | | |
535 | 542 | | |
536 | 543 | | |
| |||
659 | 666 | | |
660 | 667 | | |
661 | 668 | | |
| 669 | + | |
662 | 670 | | |
663 | 671 | | |
664 | 672 | | |
| |||
1946 | 1954 | | |
1947 | 1955 | | |
1948 | 1956 | | |
| 1957 | + | |
1949 | 1958 | | |
1950 | 1959 | | |
1951 | 1960 | | |
| |||
1956 | 1965 | | |
1957 | 1966 | | |
1958 | 1967 | | |
| 1968 | + | |
1959 | 1969 | | |
1960 | 1970 | | |
1961 | 1971 | | |
| |||
1988 | 1998 | | |
1989 | 1999 | | |
1990 | 2000 | | |
1991 | | - | |
| 2001 | + | |
1992 | 2002 | | |
1993 | 2003 | | |
1994 | 2004 | | |
| |||
0 commit comments