1.Change the name of is_fastapi_available function

2. Added the log of printing requests when deploying using vllm


Former-commit-id: 530d4f5d51c13c71d99de5fe2d23805b0aa875a2
This commit is contained in:
Tendo33
2024-05-09 14:28:01 +08:00
parent 4ce4172c87
commit 9dadff90bb
4 changed files with 64 additions and 33 deletions

View File

@@ -20,7 +20,7 @@ def _get_package_version(name: str) -> "Version":
return version.parse("0.0.0")
def is_fastapi_availble():
def is_fastapi_available():
return _is_package_available("fastapi")