Skip to content

[Docs][API] Remove warning about LoRARequest being internal-only#30774

Merged
vllm-bot merged 1 commit intovllm-project:mainfrom
markmc:lora-request-public
Dec 16, 2025
Merged

[Docs][API] Remove warning about LoRARequest being internal-only#30774
vllm-bot merged 1 commit intovllm-project:mainfrom
markmc:lora-request-public

Conversation

@markmc
Copy link
Copy Markdown
Member

@markmc markmc commented Dec 16, 2025

Since LoRARequest is part of the public API - e.g. as a parameter to LLM.generate() or since #30636 a member of RequestOutput - this warning looks outdated:

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 #1804

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 <markmc@redhat.com>
@markmc markmc requested a review from jeejeelee as a code owner December 16, 2025 11:38
@chatgpt-codex-connector
Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request removes an outdated warning from the LoRARequest class docstring. The warning indicated that the class was for internal use, which is no longer accurate as it is part of the public API. The change is correct and improves the documentation's accuracy. I have no further comments.

@jeejeelee jeejeelee enabled auto-merge (squash) December 16, 2025 16:15
@vllm-bot vllm-bot merged commit 66c3537 into vllm-project:main Dec 16, 2025
9 checks passed
@github-actions github-actions bot added the ready ONLY add when PR is ready to merge/full CI is needed label Dec 16, 2025
Majid-Taheri pushed a commit to Majid-Taheri/vllm that referenced this pull request Dec 23, 2025
…m-project#30774)

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Ubuntu <mjtaheri68@gmail.com>
dsuhinin pushed a commit to dsuhinin/vllm that referenced this pull request Jan 21, 2026
…m-project#30774)

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: dsuhinin <suhinin.dmitriy@gmail.com>
ItzDEXX pushed a commit to ItzDEXX/vllm that referenced this pull request Feb 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready ONLY add when PR is ready to merge/full CI is needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants