vllm.version ¶
_prev_minor_version() ¶
For the purpose of testing, return a previous minor version number.
Source code in vllm/version.py
_prev_minor_version_was(version_str) ¶
Check whether a given version matches the previous minor version.
Return True if version_str matches the previous minor version.
For example - return True if the current version if 0.7.4 and the supplied version_str is '0.6'.
Used for --show-hidden-metrics-for-version.