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
857e9b7c
"vscode:/vscode.git/clone" did not exist on "ef239f308f48db2f12a2c5ab2d80b647a12d6e2c"
Commit
857e9b7c
authored
Apr 13, 2022
by
Gustaf Ahdritz
Browse files
Fix evoformer paths in some old tests
parent
9a8910f9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
tests/test_import_weights.py
tests/test_import_weights.py
+1
-1
tests/test_outer_product_mean.py
tests/test_outer_product_mean.py
+1
-1
tests/test_pair_transition.py
tests/test_pair_transition.py
+1
-1
No files found.
tests/test_import_weights.py
View file @
857e9b7c
...
...
@@ -65,7 +65,7 @@ class TestImportWeights(unittest.TestCase):
)
][
1
].
transpose
(
-
1
,
-
2
)
),
model
.
evoformer
.
blocks
[
1
].
outer_product_mean
.
linear_1
.
weight
,
model
.
evoformer
.
blocks
[
1
].
core
.
outer_product_mean
.
linear_1
.
weight
,
),
]
...
...
tests/test_outer_product_mean.py
View file @
857e9b7c
...
...
@@ -81,7 +81,7 @@ class TestOuterProductMean(unittest.TestCase):
model
=
compare_utils
.
get_global_pretrained_openfold
()
out_repro
=
(
model
.
evoformer
.
blocks
[
0
]
model
.
evoformer
.
blocks
[
0
]
.
core
.
outer_product_mean
(
torch
.
as_tensor
(
msa_act
).
cuda
(),
chunk_size
=
4
,
...
...
tests/test_pair_transition.py
View file @
857e9b7c
...
...
@@ -76,7 +76,7 @@ class TestPairTransition(unittest.TestCase):
model
=
compare_utils
.
get_global_pretrained_openfold
()
out_repro
=
(
model
.
evoformer
.
blocks
[
0
]
model
.
evoformer
.
blocks
[
0
]
.
core
.
pair_transition
(
torch
.
as_tensor
(
pair_act
,
dtype
=
torch
.
float32
).
cuda
(),
chunk_size
=
4
,
...
...
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