Commit 09bcf00b authored by zhuwenwen's avatar zhuwenwen
Browse files

fix make error

parent fd6bc480
...@@ -8,6 +8,7 @@ message(STATUS "Build type: ${CMAKE_BUILD_TYPE}") ...@@ -8,6 +8,7 @@ message(STATUS "Build type: ${CMAKE_BUILD_TYPE}")
message(STATUS "Target device: ${VLLM_TARGET_DEVICE}") message(STATUS "Target device: ${VLLM_TARGET_DEVICE}")
include(${CMAKE_CURRENT_LIST_DIR}/cmake/utils.cmake) include(${CMAKE_CURRENT_LIST_DIR}/cmake/utils.cmake)
include_directories(/opt/rh/devtoolset-7/root/usr/include/c++/7)
# #
# Supported python versions. These versions will be searched in order, the # Supported python versions. These versions will be searched in order, the
......
...@@ -315,7 +315,7 @@ def get_version_add(sha: Optional[str] = None) -> str: ...@@ -315,7 +315,7 @@ def get_version_add(sha: Optional[str] = None) -> str:
if sha != 'Unknown': if sha != 'Unknown':
if sha is None: if sha is None:
sha = get_sha(vllm_root) sha = get_sha(vllm_root)
version = 'git' + sha[:7] version = 'das1.1' + sha[:7]
# abi version # abi version
version += "." + get_abi() version += "." + get_abi()
...@@ -330,7 +330,7 @@ def get_version_add(sha: Optional[str] = None) -> str: ...@@ -330,7 +330,7 @@ def get_version_add(sha: Optional[str] = None) -> str:
version += ".dtk" + rocm_version version += ".dtk" + rocm_version
# torch version # torch version
version += ".torch" + torch.__version__[:3] version += ".torch" + torch.__version__[:5]
with open(add_version_path, encoding="utf-8",mode="w") as file: with open(add_version_path, encoding="utf-8",mode="w") as file:
file.write("__version__='0.4.0'\n") file.write("__version__='0.4.0'\n")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment