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
e005bce5
Commit
e005bce5
authored
Sep 10, 2025
by
zhuwenwen
Browse files
update setup.py
parent
6c0a30bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
setup.py
setup.py
+3
-3
No files found.
setup.py
View file @
e005bce5
...
...
@@ -524,7 +524,7 @@ def get_sha(root: Union[str, Path]) -> str:
def
get_version_add
(
sha
:
Optional
[
str
]
=
None
)
->
str
:
command
=
"git config --global --add safe.directory "
+
pwd
result
=
subprocess
.
run
(
command
,
shell
=
True
,
capture_output
=
False
,
text
=
True
)
subprocess
.
run
(
command
,
shell
=
True
,
capture_output
=
False
,
text
=
True
)
vllm_root
=
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
))
add_version_path
=
os
.
path
.
join
(
os
.
path
.
join
(
vllm_root
,
"vllm"
),
"version.py"
)
major
,
minor
,
_
=
torch
.
__version__
.
split
(
'.'
)
...
...
@@ -551,8 +551,8 @@ def get_version_add(sha: Optional[str] = None) -> str:
new_version_content
=
f
"""
try:
__version__ = "0.10.2.rc1"
__version_tuple__ = (0, 10, 2, rc1)
__hcu_version__ = f'0.10.
1.
1+
{
version
}
'
__version_tuple__ = (0, 10, 2,
"
rc1
"
)
__hcu_version__ = f'0.10.
2.rc
1+
{
version
}
'
from vllm.version import __version__, __version_tuple__, __hcu_version__
except Exception as e:
...
...
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