Skip to content

Commit 0a9a039

Browse files
committed
revert
Signed-off-by: Yang Zhang <yangzhang@nvidia.com>
1 parent 3baf730 commit 0a9a039

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
from bionemo.testing.subprocess_utils import run_command_in_subprocess
3333

3434

35-
3635
def small_training_llama_cmd(path, max_steps, val_check, devices: int = 1, additional_args: str = ""):
3736
cmd = (
3837
f"train_evo2 --no-fp32-residual-connection --mock-data --result-dir {path} --devices {devices} "
@@ -43,6 +42,7 @@ def small_training_llama_cmd(path, max_steps, val_check, devices: int = 1, addit
4342
)
4443
return cmd
4544

45+
4646
def test_predict_evo2_runs(
4747
tmp_path, num_sequences: int = 5, target_sequence_lengths: list[int] = [3149, 3140, 1024, 3149, 3149]
4848
):
@@ -202,5 +202,3 @@ def test_predict_evo2_llama_runs(
202202
idx = seq_idx_map[seq_name] # look up the out of order prediction index for this sequence.
203203
assert preds["pad_mask"][idx].sum() == expected_len
204204
assert preds["token_logits"][idx].shape == (max(target_sequence_lengths), 512)
205-
206-

0 commit comments

Comments
 (0)