[CI]Add version number. (#87)

Signed-off-by: WANG Cong <115451386+congw729@users.noreply.github.com>
This commit is contained in:
Alicia authored and GitHub committed 2025-11-27 17:41:22 +08:00
1 parent 99c46e1adc
commit 6d1bcfd18f
2 files changed
+6 -15

No files matched your search

+3 -3
View File
@@ -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",
+3 -12
View File
@@ -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