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
dd944f64
Commit
dd944f64
authored
Sep 07, 2023
by
Christina Floristean
Browse files
Remove AF2 requirement from test
parent
f0a320e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
tests/test_deepspeed_evo_attention.py
tests/test_deepspeed_evo_attention.py
+0
-3
No files found.
tests/test_deepspeed_evo_attention.py
View file @
dd944f64
...
@@ -96,15 +96,12 @@ class TestDeepSpeedKernel(unittest.TestCase):
...
@@ -96,15 +96,12 @@ class TestDeepSpeedKernel(unittest.TestCase):
self
.
assertTrue
(
torch
.
allclose
(
torch
.
abs
(
out_repro_msa
),
torch
.
abs
(
out_repro_msa_ds
),
atol
=
consts
.
eps
))
self
.
assertTrue
(
torch
.
allclose
(
torch
.
abs
(
out_repro_msa
),
torch
.
abs
(
out_repro_msa_ds
),
atol
=
consts
.
eps
))
self
.
assertTrue
(
torch
.
allclose
(
torch
.
abs
(
out_repro_pair
),
torch
.
abs
(
out_repro_pair_ds
),
atol
=
consts
.
eps
))
self
.
assertTrue
(
torch
.
allclose
(
torch
.
abs
(
out_repro_pair
),
torch
.
abs
(
out_repro_pair_ds
),
atol
=
consts
.
eps
))
@
compare_utils
.
skip_unless_alphafold_installed
()
def
test_compare_evoformer_bf16
(
self
):
def
test_compare_evoformer_bf16
(
self
):
self
.
compare_evoformer
(
torch
.
bfloat16
)
self
.
compare_evoformer
(
torch
.
bfloat16
)
@
compare_utils
.
skip_unless_alphafold_installed
()
def
test_compare_evoformer_fp32
(
self
):
def
test_compare_evoformer_fp32
(
self
):
self
.
compare_evoformer
(
torch
.
float32
)
self
.
compare_evoformer
(
torch
.
float32
)
@
compare_utils
.
skip_unless_alphafold_installed
()
def
test_dry_run
(
self
):
def
test_dry_run
(
self
):
with
open
(
"tests/test_data/sample_feats.pickle"
,
"rb"
)
as
fp
:
with
open
(
"tests/test_data/sample_feats.pickle"
,
"rb"
)
as
fp
:
batch
=
pickle
.
load
(
fp
)
batch
=
pickle
.
load
(
fp
)
...
...
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