Skip to content

Commit ed1556f

Browse files
Merge pull request #175 from qinguoyi/fix-load-cost
fix:load models cost seconds
2 parents b358d84 + 08cc68a commit ed1556f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llmaz/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,5 @@
4949
raise EnvironmentError(f"unknown model source type {model_source_type}")
5050

5151
Logger.info(
52-
f"loading models from {model_source_type} takes {datetime.now() - start_time}s"
52+
f"loading models from {model_source_type} takes {(datetime.now() - start_time).total_seconds()}s"
5353
)

0 commit comments

Comments
 (0)