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
4a12bc2a
Commit
4a12bc2a
authored
Jul 08, 2022
by
Gustaf Ahdritz
Browse files
Fix undefined reference
parent
9617306a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
openfold/model/primitives.py
openfold/model/primitives.py
+3
-3
No files found.
openfold/model/primitives.py
View file @
4a12bc2a
...
...
@@ -439,10 +439,10 @@ class Attention(nn.Module):
Returns
[*, Q, C_q] attention update
"""
if
(
use_lma
and
(
q_chunk_size
is
None
or
kv_chunk_size
is
None
)):
if
(
use_lma
and
(
lma_
q_chunk_size
is
None
or
lma_
kv_chunk_size
is
None
)):
raise
ValueError
(
"If use_lma is specified, q_chunk_size and
kv_chunk_size must
"
"be provided"
"If use_lma is specified,
lma_
q_chunk_size and "
"
lma_kv_chunk_size must
be provided"
)
if
(
use_flash
and
biases
is
not
None
):
...
...
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