[CI/Build] Fix LoRA testing (#44425)
Signed-off-by: Jee Jee Li <pandaleefree@gmail.com>
This commit is contained in:
@@ -194,10 +194,16 @@ class OpenAIServingModels:
|
|||||||
lora_request.lora_name, lora_request.lora_path
|
lora_request.lora_name, lora_request.lora_path
|
||||||
)
|
)
|
||||||
) in str(e):
|
) in str(e):
|
||||||
raise LoRAAdapterNotFoundError(
|
return create_error_response(
|
||||||
lora_request.lora_name, lora_request.lora_path
|
LoRAAdapterNotFoundError(
|
||||||
) from e
|
lora_request.lora_name, lora_request.lora_path
|
||||||
raise
|
)
|
||||||
|
)
|
||||||
|
return create_error_response(
|
||||||
|
message=str(e),
|
||||||
|
err_type="InternalServerError",
|
||||||
|
status_code=HTTPStatus.INTERNAL_SERVER_ERROR,
|
||||||
|
)
|
||||||
|
|
||||||
self.lora_requests[lora_name] = lora_request
|
self.lora_requests[lora_name] = lora_request
|
||||||
logger.info(
|
logger.info(
|
||||||
|
|||||||
Reference in New Issue
Block a user