File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -513,7 +513,7 @@ def retrive_model_from_server(model_name_or_path, revision="master"):
513513 except Exception :
514514 if os .path .exists (local_path ):
515515 llm_logger .error (
516- "Failed to connect to aistudio, but detected that the model directory exists. Attempting to start."
516+ f "Failed to connect to aistudio, but detected that the model directory { local_path } exists. Attempting to start."
517517 )
518518 return local_path
519519 else :
@@ -536,7 +536,7 @@ def retrive_model_from_server(model_name_or_path, revision="master"):
536536 except Exception :
537537 if os .path .exists (local_path ):
538538 llm_logger .error (
539- "Failed to connect to modelscope, but detected that the model directory exists. Attempting to start."
539+ f "Failed to connect to modelscope, but detected that the model directory { local_path } exists. Attempting to start."
540540 )
541541 return local_path
542542 else :
You can’t perform that action at this time.
0 commit comments