Skip to content

Commit 9f5ca39

Browse files
committed
[Docs][API] Remove warning about LoRARequest being internal-only
Since `LoRARequest` is part of the public API - e.g. as a parameter to `LLM.generate()` or since vllm-project#30636 a member of `RequestOutput` - this warning looks outdated: ```python class LoRARequest(...): """ Request for a LoRA adapter. Note that this class should be used internally. For online serving, it is recommended to not allow users to use this class but instead provide another layer of abstraction to prevent users from accessing unauthorized LoRA adapters. ... """ ``` Indeed, `LoRAReqest` seems to have been part of the public API since it was added in vllm-project#1804 Signed-off-by: Mark McLoughlin <[email protected]>
1 parent 676db55 commit 9f5ca39

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

vllm/lora/request.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@ class LoRARequest(
1414
"""
1515
Request for a LoRA adapter.
1616
17-
Note that this class should be used internally. For online
18-
serving, it is recommended to not allow users to use this class but
19-
instead provide another layer of abstraction to prevent users from
20-
accessing unauthorized LoRA adapters.
21-
2217
lora_int_id must be globally unique for a given adapter.
2318
This is currently not enforced in vLLM.
2419
"""

0 commit comments

Comments
 (0)