fix error for pre-commit
This commit is contained in:
1 parent
a04e945166
commit
eafc7c44c3
6 files changed
+80
-8
No files matched your search
@@ -116,9 +116,9 @@ async def get_info():
|
||||
return {
|
||||
"service": "vllm-omni",
|
||||
"version": "0.1.0",
|
||||
"num_stages": omni_llm.get_num_stages()
|
||||
if hasattr(omni_llm, "get_num_stages")
|
||||
else 0,
|
||||
"num_stages": (
|
||||
omni_llm.get_num_stages() if hasattr(omni_llm, "get_num_stages") else 0
|
||||
),
|
||||
"stage_configs": [
|
||||
{
|
||||
"stage_id": config.stage_id,
|
||||
|
||||
Reference in new issue
Block a user