Skip to content

[None][chore] Remove unused LlmRequest methods - #18977

Draft
Funatiq wants to merge 2 commits into
NVIDIA:mainfrom
Funatiq:dev/refactor/requests_methods
Draft

[None][chore] Remove unused LlmRequest methods#18977
Funatiq wants to merge 2 commits into
NVIDIA:mainfrom
Funatiq:dev/refactor/requests_methods

Conversation

@Funatiq

@Funatiq Funatiq commented Sep 9, 2026

Copy link
Copy Markdown
Collaborator

@coderabbitai summary

Description

Test Coverage

PR Checklist

Please review the following before submitting your PR:

  • PR description clearly explains what and why. If using CodeRabbit's summary, please make sure it makes sense.

  • PR Follows TRT-LLM CODING GUIDELINES to the best of your knowledge.

  • Test cases are provided for new code paths (see test instructions)

  • If PR introduces API changes, an appropriate PR label is added - either api-compatible or api-breaking. For api-breaking, include BREAKING in the PR title.

  • Any new dependencies have been scanned for license and vulnerabilities

  • CODEOWNERS updated if ownership changes

  • Documentation updated as needed

  • Update tava architecture diagram if there is a significant design change in PR.

  • The reviewers assigned automatically/manually are appropriate for the PR.

  • Please check this after reviewing the above items as appropriate for this PR.

GitHub Bot Help

To see a list of available CI bot commands, please comment /bot help.

- Removed movePromptEmbeddingTableToGpu and moveLoraWeightsToGpu methods from LlmRequest.

Signed-off-by: Robin Kobus <19427718+Funatiq@users.noreply.github.com>
…Result instead

- Removed `LlmRequest::createResponse()` declaration and implementation.
- Removed the nanobind `create_response` binding.
- Refactored [llmRequestTest.cpp](cpp/tests/unit_tests/batch_manager/llmRequestTest.cpp:454) to exercise `createResult()` directly.
- Removed response-wrapper-specific assertions for request ID and error state.
- Confirmed no stale `createResponse` references remain.

Signed-off-by: Robin Kobus <19427718+Funatiq@users.noreply.github.com>
@Funatiq

Funatiq commented Sep 9, 2026

Copy link
Copy Markdown
Collaborator Author

/bot run

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #72516 [ run ] triggered by Bot. Commit: a0aa06d Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #72516 [ run ] completed with state SUCCESS. Commit: a0aa06d
/LLM/main/L0_MergeRequest_PR pipeline #59528 completed with status: 'FAILURE'

CI Report

⚠️ Action Required:

  • Please check the failed tests and fix your PR
  • If you cannot view the failures, ask the CI triggerer to share details
  • Once fixed, request an NVIDIA team member to trigger CI again

CI Agent Failure Analysis

Link to invocation

@Funatiq

Funatiq commented Sep 10, 2026

Copy link
Copy Markdown
Collaborator Author

/bot run

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #72645 [ run ] triggered by Bot. Commit: a0aa06d Link to invocation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants