mirror of
https://github.com/wassname/vllm.git
synced 2026-06-27 18:27:02 +08:00
[misc] small qol fixes for release process (#8517)
This commit is contained in:
@@ -371,7 +371,9 @@ def get_vllm_version() -> str:
|
||||
cuda_version = str(get_nvcc_cuda_version())
|
||||
if cuda_version != MAIN_CUDA_VERSION:
|
||||
cuda_version_str = cuda_version.replace(".", "")[:3]
|
||||
version += f"+cu{cuda_version_str}"
|
||||
# skip this for source tarball, required for pypi
|
||||
if "sdist" not in sys.argv:
|
||||
version += f"+cu{cuda_version_str}"
|
||||
elif _is_hip():
|
||||
# Get the HIP version
|
||||
hipcc_version = get_hipcc_rocm_version()
|
||||
|
||||
Reference in New Issue
Block a user