From 6d1bcfd18f191a696f1a60dd7a6b5484c33aea38 Mon Sep 17 00:00:00 2001 From: Alicia <115451386+congw729@users.noreply.github.com> Date: Thu, 27 Nov 2025 17:41:22 +0800 Subject: [PATCH] [CI]Add version number. (#87) Signed-off-by: WANG Cong <115451386+congw729@users.noreply.github.com> --- vllm_omni/__init__.py | 6 +++--- vllm_omni/version.py | 15 +++------------ 2 files changed, 6 insertions(+), 15 deletions(-) diff --git a/vllm_omni/__init__.py b/vllm_omni/__init__.py index 2e742a027..adf9efc32 100644 --- a/vllm_omni/__init__.py +++ b/vllm_omni/__init__.py @@ -25,12 +25,12 @@ from .entrypoints.async_omni_llm import AsyncOmniLLM # Main entry points from .entrypoints.omni_llm import OmniLLM -# from .version import __version__, __version_tuple__ # isort:skip +from .version import __version__, __version_tuple__ # isort:skip __all__ = [ - # "__version__", # TODO: add __version__ back when it is implemented - # "__version_tuple__", # TODO: add __version_tuple__ back when it is implemented + "__version__", + "__version_tuple__", # Main components "OmniLLM", "AsyncOmniLLM", diff --git a/vllm_omni/version.py b/vllm_omni/version.py index 92007aa40..d66839fdf 100644 --- a/vllm_omni/version.py +++ b/vllm_omni/version.py @@ -1,12 +1,3 @@ -# SPDX-License-Identifier: Apache-2.0 -# SPDX-FileCopyrightText: Copyright contributors to the vLLM project - -try: - from ._version import __version__, __version_tuple__ -except Exception as e: - import warnings - - warnings.warn(f"Failed to read commit hash:\n{e}", RuntimeWarning, stacklevel=2) - - __version__ = "dev" - __version_tuple__ = (0, 0, __version__) +__version__ = "0.11.0rc1" +__version_tuple__ = (0, 11, "0rc1") +# TODO: add auto version generation