Skip to content

Commit a331d9c

Browse files
committed
xfail failing test
1 parent 2d797c1 commit a331d9c

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

sub-packages/bionemo-evo2/tests/bionemo/evo2/run/test_train.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,12 @@ def test_train_evo2_runs(tmp_path, num_steps=5):
7777
assert result.returncode == 0, "train_evo2 command failed."
7878

7979

80-
@pytest.mark.timeout(256) # Optional: fail if the test takes too long.
80+
@pytest.mark.timeout(256)
8181
@pytest.mark.slow
82-
@pytest.mark.xfail(reason="This test fails due.")
82+
@pytest.mark.xfail(
83+
reason="This test fails due to error when the checkpoints are saved. "
84+
"Issue: https://github.com/NVIDIA/bionemo-framework/issues/760"
85+
)
8386
def test_train_evo2_stops(tmp_path, num_steps=500000, early_stop_steps=3):
8487
"""
8588
This test runs the `train_evo2` command with mock data in a temporary directory.
@@ -98,7 +101,7 @@ def test_train_evo2_stops(tmp_path, num_steps=500000, early_stop_steps=3):
98101
"--model-size 1b_nv --num-layers 4 --hybrid-override-pattern SDH* "
99102
"--no-activation-checkpointing --add-bias-output "
100103
f"--max-steps {num_steps} --early-stop-on-step {early_stop_steps} --warmup-steps 1 --no-wandb "
101-
"--seq-length 128 --hidden-dropout 0.1 --attention-dropout 0.1 --disable-checkpointing"
104+
"--seq-length 128 --hidden-dropout 0.1 --attention-dropout 0.1 "
102105
)
103106
command_parts_no_program = shlex.split(command)[1:]
104107
args = parse_args(args=command_parts_no_program)

0 commit comments

Comments
 (0)