change omni.py to serve.py and mv to cli

This commit is contained in:
hsliu committed 2025-09-29 18:10:37 +08:00
1 parent 721833c083
commit 05d23676ff
3 files changed
+7 -2

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
"""CLI helpers for vLLM-omni entrypoints."""
from .serve import OmniServeCommand
__all__ = ["OmniServeCommand"]
+1 -1
View File
@@ -5,7 +5,7 @@ CLI entry point for vLLM-omni that intercepts vLLM commands.
import sys
import argparse
from typing import List, Optional
from vllm_omni.entrypoints.omni import OmniServeCommand
from vllm_omni.entrypoints.cli.serve import OmniServeCommand
def main():
@@ -6,7 +6,7 @@ import argparse
import asyncio
from typing import List, Optional
from .omni_llm import AsyncOmniLLM
from ..omni_llm import AsyncOmniLLM
from vllm_omni.config import (
DiTConfig,
create_ar_stage_config,