Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
09bcf00b
"ssh:/git@developer.sourcefind.cn:2222/OpenDAS/vllm_cscc.git" did not exist on "1b2c440cd646dac290b535b86be89d22fbdbeab9"
Commit
09bcf00b
authored
May 22, 2024
by
zhuwenwen
Browse files
fix make error
parent
fd6bc480
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
CMakeLists.txt
CMakeLists.txt
+1
-0
setup.py
setup.py
+2
-2
No files found.
CMakeLists.txt
View file @
09bcf00b
...
@@ -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
...
...
setup.py
View file @
09bcf00b
...
@@ -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
"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment