Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
oandreeva-nv committed Jan 4, 2025
1 parent cc6dfc6 commit 07c5374
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,7 @@ async def _generate(self, request):
)

except Exception as e:
self.logger.log_error(f"[vllm] Error generating stream: {e}")
error = pb_utils.TritonError(f"Error generating stream: {e}")
text_output_tensor = pb_utils.Tensor(
"text_output", np.asarray(["N/A"], dtype=self.output_dtype)
Expand Down

0 comments on commit 07c5374

Please sign in to comment.