Commit 9d04ff1
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 9d04ff1
File tree
3 files changed
+19
-2
lines changed- tests/v1/kv_connector/unit
- vllm/distributed/kv_transfer/kv_connector/v1
3 files changed
+19
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
460 | 460 | | |
461 | 461 | | |
462 | 462 | | |
| 463 | + | |
463 | 464 | | |
464 | 465 | | |
465 | 466 | | |
| |||
526 | 527 | | |
527 | 528 | | |
528 | 529 | | |
| 530 | + | |
529 | 531 | | |
530 | 532 | | |
531 | 533 | | |
| |||
581 | 583 | | |
582 | 584 | | |
583 | 585 | | |
| 586 | + | |
584 | 587 | | |
585 | 588 | | |
586 | 589 | | |
| |||
746 | 749 | | |
747 | 750 | | |
748 | 751 | | |
| 752 | + | |
749 | 753 | | |
750 | 754 | | |
751 | 755 | | |
| |||
1459 | 1463 | | |
1460 | 1464 | | |
1461 | 1465 | | |
| 1466 | + | |
1462 | 1467 | | |
1463 | 1468 | | |
1464 | 1469 | | |
| |||
1508 | 1513 | | |
1509 | 1514 | | |
1510 | 1515 | | |
| 1516 | + | |
1511 | 1517 | | |
1512 | 1518 | | |
1513 | 1519 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
| 190 | + | |
190 | 191 | | |
191 | 192 | | |
192 | 193 | | |
| |||
Lines 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