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
FastFold
Commits
e3475937
"...git@developer.sourcefind.cn:chenpangpang/open-webui.git" did not exist on "abce172b9dd25210716bff166a2f7144d02205d7"
Commit
e3475937
authored
Jun 05, 2023
by
zhuwenwen
Browse files
modify dcu_version
parent
4b5498c1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
fastfold/__init__.py
fastfold/__init__.py
+1
-0
setup.py
setup.py
+2
-2
No files found.
fastfold/__init__.py
View file @
e3475937
from
.version
import
__version__
,
__dcu_version__
VERSION
=
"0.1.0-beta"
\ No newline at end of file
setup.py
View file @
e3475937
...
...
@@ -133,7 +133,7 @@ def get_abi():
def
get_version_add
(
sha
:
Optional
[
str
]
=
None
)
->
str
:
fastfold_root
=
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
))
add_version_path
=
"version.py"
add_version_path
=
os
.
path
.
join
(
os
.
path
.
join
(
fastfold_root
,
"fastfold"
),
"version.py"
)
if
sha
!=
'Unknown'
:
if
sha
is
None
:
sha
=
get_sha
(
fastfold_root
)
...
...
@@ -142,7 +142,7 @@ def get_version_add(sha: Optional[str] = None) -> str:
# abi version
version
+=
"."
+
get_abi
()
# dtk version
# dtk version
if
os
.
getenv
(
"ROCM_PATH"
):
rocm_path
=
os
.
getenv
(
'ROCM_PATH'
,
""
)
rocm_version_path
=
os
.
path
.
join
(
rocm_path
,
'.info'
,
"rocm_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