version.py 301 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
import warnings

try:
    import vllm.commit_id
    __commit__ = vllm.commit_id.__commit__
except Exception as e:
    warnings.warn(f"Failed to read commit hash:\n{e}",
                  RuntimeWarning,
                  stacklevel=2)
    __commit__ = "COMMIT_HASH_PLACEHOLDER"

Simon Mo's avatar
Simon Mo committed
12
__version__ = "0.5.5"