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
OpenDAS
AutoAWQ
Commits
f4bc5080
Commit
f4bc5080
authored
Aug 28, 2024
by
gaoqiong
Browse files
Update setup.py
parent
e5d5fc7e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
setup.py
setup.py
+1
-1
No files found.
setup.py
View file @
f4bc5080
...
@@ -77,7 +77,7 @@ def get_version_add(sha: Optional[str] = None) -> str:
...
@@ -77,7 +77,7 @@ def get_version_add(sha: Optional[str] = None) -> str:
rocm_version_path
=
os
.
path
.
join
(
rocm_path
,
'.info'
,
"rocm_version"
)
rocm_version_path
=
os
.
path
.
join
(
rocm_path
,
'.info'
,
"rocm_version"
)
with
open
(
rocm_version_path
,
'r'
,
encoding
=
'utf-8'
)
as
file
:
with
open
(
rocm_version_path
,
'r'
,
encoding
=
'utf-8'
)
as
file
:
lines
=
file
.
readlines
()
lines
=
file
.
readlines
()
rocm_version
=
lines
[
0
][:
-
2
].
replace
(
"."
,
""
)
rocm_version
=
lines
[
0
][:].
replace
(
"."
,
""
)
version
+=
".dtk"
+
rocm_version
version
+=
".dtk"
+
rocm_version
# torch version
# torch version
...
...
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