From 16e8c36057ff8753a21e0dfbf421501c1c3d13cf Mon Sep 17 00:00:00 2001 From: Adam Krzywaniak Date: Fri, 27 Oct 2023 14:53:10 +0000 Subject: [PATCH] hard-code skipping benchmark tests in CI --- test/test_benchmark_performance.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/test/test_benchmark_performance.py b/test/test_benchmark_performance.py index 6ea5a12..7854849 100644 --- a/test/test_benchmark_performance.py +++ b/test/test_benchmark_performance.py @@ -4,11 +4,10 @@ import pytest from tessellate_ipu import ipu_cycle_count, tile_map, tile_put_sharded -from pyscf_ipu.experimental.device import has_ipu from pyscf_ipu.nanoDFT.nanoDFT import build_mol, nanoDFT, nanoDFT_options -@pytest.mark.skipif(not has_ipu(), reason="Skipping ipu test!") +@pytest.mark.skip(reason="Skipping IPU test in CI!") @pytest.mark.ipu def test_basic_demonstration(): dummy = np.random.rand(2, 3).astype(np.float32) @@ -35,7 +34,7 @@ def jitted_inner_test(dummy, dummier): assert True -@pytest.mark.skipif(not has_ipu(), reason="Skipping ipu test!") +@pytest.mark.skip(reason="Skipping IPU test in CI!") @pytest.mark.ipu @pytest.mark.parametrize("molecule", ["methane", "benzene"]) def test_dense_eri(molecule): @@ -62,7 +61,7 @@ def test_dense_eri(molecule): assert True -@pytest.mark.skipif(not has_ipu(), reason="Skipping ipu test!") +@pytest.mark.skip(reason="Skipping IPU test in CI!") @pytest.mark.ipu @pytest.mark.parametrize("molecule", ["methane", "benzene", "c20"]) def test_sparse_eri(molecule):