-
-
Notifications
You must be signed in to change notification settings - Fork 11.1k
[PD][Nixl] Remote consumer READ timeout for clearing request blocks #20139
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
Merged
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
2a7e010
abort request timeout env var
NickLucche 195a309
test abort request with timeout
NickLucche 17f44b8
wip
NickLucche 676f3f6
remote timeout
NickLucche 528898f
time.monotonic
NickLucche e04945a
review optimization
NickLucche 101044f
typo
NickLucche ede2616
review + check req TTL decoder side and align clocks
NickLucche cd40143
test ttl
NickLucche a138223
Revert "test ttl"
NickLucche afa5852
Revert "review + check req TTL decoder side and align clocks"
NickLucche 772e7f4
reivew
NickLucche e249b4c
mock nixl
NickLucche 855c445
update tests
NickLucche File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -138,6 +138,7 @@ | |
| VLLM_ROCM_QUICK_REDUCE_QUANTIZATION: str = "NONE" | ||
| VLLM_ROCM_QUICK_REDUCE_CAST_BF16_TO_FP16: bool = True | ||
| VLLM_ROCM_QUICK_REDUCE_MAX_SIZE_BYTES_MB: Optional[int] = None | ||
| VLLM_NIXL_ABORT_REQUEST_TIMEOUT: int = 120 | ||
|
|
||
|
|
||
| def get_default_cache_root(): | ||
|
|
@@ -953,7 +954,14 @@ def get_vllm_port() -> Optional[int]: | |
| # generations on machines < 100 for compressed-tensors | ||
| # models | ||
| "VLLM_USE_NVFP4_CT_EMULATIONS": | ||
| lambda: bool(int(os.getenv("VLLM_USE_NVFP4_CT_EMULATIONS", "0"))) | ||
| lambda: bool(int(os.getenv("VLLM_USE_NVFP4_CT_EMULATIONS", "0"))), | ||
|
|
||
| # Time (in seconds) after which the KV cache on the producer side is | ||
| # automatically cleared if no READ notification is received from the | ||
| # consumer. This is only applicable when using NixlConnector in a | ||
| # disaggregated decode-prefill setup. | ||
| "VLLM_NIXL_ABORT_REQUEST_TIMEOUT": | ||
| lambda: int(os.getenv("VLLM_NIXL_ABORT_REQUEST_TIMEOUT", "120")) | ||
|
||
| } | ||
|
|
||
| # --8<-- [end:env-vars-definition] | ||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
swapped back from time.monotic() so that we can send it to D