Skip to content

Commit c0a3e30

Browse files
committed
update test
Signed-off-by: Farhad Ramezanghorbani <farhadr@nvidia.com>
1 parent 8b4bd11 commit c0a3e30

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

  • bionemo-recipes/recipes/evo2_megatron/tests/bionemo/evo2

bionemo-recipes/recipes/evo2_megatron/tests/bionemo/evo2/test_evo2.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,13 @@ def _check_matchrate(*, ckpt_name, matchrate, assert_matchrate=True):
269269
pytest.param(
270270
"evo2/1b-8k-bf16:1.0", [96.27, 67.93, 77.50, 80.30], False, True, id="1b-8k-bf16-subquadratic-ops"
271271
),
272+
pytest.param(
273+
"evo2/1b-8k-bf16:1.0",
274+
[96.27, 67.93, 77.50, 80.30],
275+
True,
276+
True,
277+
id="1b-8k-bf16-subquadratic-ops-flash",
278+
),
272279
pytest.param(
273280
"evo2/1b-8k:1.0",
274281
[96.27, 67.93, 77.50, 80.30],
@@ -310,8 +317,6 @@ def test_forward_manual(
310317

311318
is_fp8_supported, compute_capability, device_info = check_fp8_support(torch.cuda.current_device())
312319
skip = "evo2/1b-8k:" in ckpt_name and not is_fp8_supported
313-
if subquadratic_ops and flash_decode:
314-
pytest.skip(f"Skipping {ckpt_name} because subquadratic ops and flash decode are not supported together")
315320
vortex_style_fp8 = is_fp8_supported and ("bf16" not in ckpt_name or "7b" not in ckpt_name)
316321
if skip:
317322
# This checkpoint is sensitive to FP8, so we skip it if it is not supported on the current device.

0 commit comments

Comments
 (0)