Skip to content

Commit

Permalink
CodeQL issue
Browse files Browse the repository at this point in the history
  • Loading branch information
oandreeva-nv committed Jun 24, 2024
1 parent f9916ad commit 3aba622
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,6 @@ def _prepare_llm_response(self, llm_request_inputs):
-------
- pb_utils.InferenceResponse: The response object containing the generated text and additional metadata.
"""
response = None
llm_request = pb_utils.InferenceRequest(
model_name="tensorrt_llm",
requested_output_names=["output_ids", "sequence_length"],
Expand Down Expand Up @@ -236,6 +235,7 @@ def _prepare_llm_response(self, llm_request_inputs):
]
)
return response
return None

def execute(self, requests):
for request in requests:
Expand Down

0 comments on commit 3aba622

Please sign in to comment.