Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
norm
vllm
Commits
66acc938
Commit
66acc938
authored
May 22, 2024
by
zhuwenwen
Browse files
update version
parent
5cef4904
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
setup.py
setup.py
+2
-2
No files found.
setup.py
View file @
66acc938
...
@@ -414,7 +414,7 @@ def get_version_add(sha: Optional[str] = None) -> str:
...
@@ -414,7 +414,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
()
...
@@ -429,7 +429,7 @@ def get_version_add(sha: Optional[str] = None) -> str:
...
@@ -429,7 +429,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.3.3'
\n
"
)
file
.
write
(
"__version__='0.3.3'
\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