Skip to content

Commit

Permalink
fixup! Support for TensorFlow 2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
drasmuss committed Nov 3, 2020
1 parent 636b2f8 commit c542769
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion nengo_dl/tests/test_simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -832,7 +832,16 @@ def test_tensorboard(Simulator, tmp_path):

@pytest.mark.parametrize("mode", ("predict", "train"))
@pytest.mark.training
def test_profile(Simulator, mode, tmp_path):
def test_profile(Simulator, mode, tmp_path, pytestconfig):
if (
pytestconfig.getoption("--graph-mode")
and version.parse(tf.__version__) >= version.parse("2.4.0rc0")
and mode == "predict"
):
pytest.skip(
"TensorFlow bug, see https://github.com/tensorflow/tensorflow/issues/44563"
)

net, a, p = dummies.linear_net()

with Simulator(net) as sim:
Expand Down

0 comments on commit c542769

Please sign in to comment.