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
OpenFold
Commits
b84dd8cb
Commit
b84dd8cb
authored
Jun 14, 2022
by
Gustaf Ahdritz
Browse files
Fix chunk size tuner bug
parent
4bfd5bf0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
openfold/utils/tensor_utils.py
openfold/utils/tensor_utils.py
+1
-1
No files found.
openfold/utils/tensor_utils.py
View file @
b84dd8cb
...
@@ -472,7 +472,7 @@ class ChunkSizeTuner:
...
@@ -472,7 +472,7 @@ class ChunkSizeTuner:
]
]
if
(
self
.
cached_arg_data
is
not
None
):
if
(
self
.
cached_arg_data
is
not
None
):
# If args have changed shape/value, we need to re-tune
# If args have changed shape/value, we need to re-tune
assert
(
len
(
self
.
cached_arg_data
)
==
len
(
arg
s
))
assert
(
len
(
self
.
cached_arg_data
)
==
len
(
arg
_data
))
arg_data_iter
=
zip
(
self
.
cached_arg_data
,
arg_data
)
arg_data_iter
=
zip
(
self
.
cached_arg_data
,
arg_data
)
for
cached_arg_data
,
arg_data
in
arg_data_iter
:
for
cached_arg_data
,
arg_data
in
arg_data_iter
:
assert
(
type
(
cached_arg_data
)
==
type
(
arg_data
))
assert
(
type
(
cached_arg_data
)
==
type
(
arg_data
))
...
...
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