Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions vllm/entrypoints/openai/models/serving.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,10 +194,16 @@ async def load_lora_adapter(
lora_request.lora_name, lora_request.lora_path
)
) in str(e):
raise LoRAAdapterNotFoundError(
lora_request.lora_name, lora_request.lora_path
) from e
raise
return create_error_response(
LoRAAdapterNotFoundError(
lora_request.lora_name, lora_request.lora_path
)
)
return create_error_response(
message=str(e),
err_type="InternalServerError",
status_code=HTTPStatus.INTERNAL_SERVER_ERROR,
)

self.lora_requests[lora_name] = lora_request
logger.info(
Expand Down
Loading