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
52919c63
Commit
52919c63
authored
Nov 17, 2022
by
zhuww
Browse files
modify version
parent
edcb2f85
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
setup.py
setup.py
+3
-4
No files found.
setup.py
View file @
52919c63
...
...
@@ -106,7 +106,7 @@ def get_sha(pytorch_root: Union[str, Path]) -> str:
def
get_version_add
(
sha
:
Optional
[
str
]
=
None
)
->
str
:
add_version_path
=
"
jax/
version.py"
add_version_path
=
"version.py"
if
sha
!=
'Unknown'
:
if
sha
is
None
:
sha_path
=
os
.
getenv
(
'FASTFOLD_DOWNLOAD_PATH'
,
""
)
...
...
@@ -118,8 +118,7 @@ def get_version_add(sha: Optional[str] = None) -> str:
version
+=
"."
+
version_dtk
with
open
(
add_version_path
,
encoding
=
"utf-8"
,
mode
=
"w"
)
as
file
:
file
.
write
(
"__version__='0.2.21'+'+{}'
\n
"
.
format
(
version
))
file
.
write
(
"_minimum_jaxlib_version='0.1.69'
\n
"
)
file
.
write
(
"__version__='0.2.0'+'+{}'
\n
"
.
format
(
version
))
file
.
close
()
...
...
@@ -145,5 +144,5 @@ setup(
ext_modules
=
ext_modules
,
package_data
=
{
'fastfold'
:
[
'model/fastnn/kernel/cuda_native/csrc/*'
]},
cmdclass
=
{
'build_ext'
:
BuildExtension
}
if
ext_modules
else
{},
#
install_requires=['einops', 'colossalai'],
install_requires
=
[
'einops'
,
'colossalai'
],
)
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