Skip to content

Commit

Permalink
remove xfails (pyro-ppl#3048)
Browse files Browse the repository at this point in the history
  • Loading branch information
ordabayevy authored Mar 18, 2022
1 parent d143002 commit 0c3be04
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions tests/contrib/funsor/test_enum_funsor.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,6 @@ def guide():
_check_loss_and_grads(hand_loss, auto_loss)


@pytest.mark.xfail(reason="https://github.com/pyro-ppl/pyro/issues/3046")
@pytest.mark.parametrize("scale", [1, 10])
@pytest.mark.parametrize(
"num_samples,num_masked", [(2, 2), (3, 2)], ids=["batch", "masked"]
Expand Down Expand Up @@ -499,7 +498,6 @@ def hand_guide(data):
_check_loss_and_grads(hand_loss, auto_loss)


@pytest.mark.xfail(reason="https://github.com/pyro-ppl/pyro/issues/3046")
@pytest.mark.parametrize("scale", [1, 10])
@pytest.mark.parametrize(
"outer_obs,inner_obs", [(False, True), (True, False), (True, True)]
Expand Down Expand Up @@ -642,7 +640,6 @@ def guide_iplate():
_check_loss_and_grads(expected_loss, actual_loss)


@pytest.mark.xfail(reason="https://github.com/pyro-ppl/pyro/issues/3046")
@pytest.mark.parametrize("enumerate1", ["parallel", "sequential"])
@pyroapi.pyro_backend(_PYRO_BACKEND)
def test_elbo_enumerate_plate_6(enumerate1):
Expand Down Expand Up @@ -705,7 +702,6 @@ def guide():
_check_loss_and_grads(expected_loss, actual_loss)


@pytest.mark.xfail(reason="https://github.com/pyro-ppl/pyro/issues/3046")
@pytest.mark.parametrize("scale", [1, 10])
@pyroapi.pyro_backend(_PYRO_BACKEND)
def test_elbo_enumerate_plate_7(scale):
Expand Down Expand Up @@ -877,7 +873,6 @@ def guide():
_check_loss_and_grads(hand_loss, auto_loss)


@pytest.mark.xfail(reason="https://github.com/pyro-ppl/pyro/issues/3046")
@pytest.mark.parametrize("scale", [1, 10])
@pyroapi.pyro_backend(_PYRO_BACKEND)
def test_elbo_enumerate_plates_2(scale):
Expand Down Expand Up @@ -934,7 +929,6 @@ def guide():
_check_loss_and_grads(hand_loss, auto_loss)


@pytest.mark.xfail(reason="https://github.com/pyro-ppl/pyro/issues/3046")
@pytest.mark.parametrize("scale", [1, 10])
@pyroapi.pyro_backend(_PYRO_BACKEND)
def test_elbo_enumerate_plates_3(scale):
Expand Down Expand Up @@ -987,7 +981,6 @@ def guide():
_check_loss_and_grads(hand_loss, auto_loss)


@pytest.mark.xfail(reason="https://github.com/pyro-ppl/pyro/issues/3046")
@pytest.mark.parametrize("scale", [1, 10])
@pyroapi.pyro_backend(_PYRO_BACKEND)
def test_elbo_enumerate_plates_4(scale):
Expand Down Expand Up @@ -1047,7 +1040,6 @@ def guide(data):
_check_loss_and_grads(hand_loss, auto_loss)


@pytest.mark.xfail(reason="https://github.com/pyro-ppl/pyro/issues/3046")
@pytest.mark.parametrize("scale", [1, 10])
@pyroapi.pyro_backend(_PYRO_BACKEND)
def test_elbo_enumerate_plates_5(scale):
Expand Down Expand Up @@ -1111,7 +1103,6 @@ def guide():
_check_loss_and_grads(hand_loss, auto_loss)


@pytest.mark.xfail(reason="https://github.com/pyro-ppl/pyro/issues/3046")
@pytest.mark.parametrize("scale", [1, 10])
@pyroapi.pyro_backend(_PYRO_BACKEND)
def test_elbo_enumerate_plates_6(scale):
Expand Down Expand Up @@ -1250,7 +1241,6 @@ def guide(data):
elbo.differentiable_loss(model_plate_plate, guide, data)


@pytest.mark.xfail(reason="https://github.com/pyro-ppl/pyro/issues/3046")
@pytest.mark.parametrize("scale", [1, 10])
@pyroapi.pyro_backend(_PYRO_BACKEND)
def test_elbo_enumerate_plates_7(scale):
Expand Down Expand Up @@ -1403,7 +1393,6 @@ def guide(data):
_check_loss_and_grads(loss_iplate_iplate, loss_plate_plate)


@pytest.mark.xfail(reason="https://github.com/pyro-ppl/pyro/issues/3046")
@pytest.mark.parametrize("guide_scale", [1])
@pytest.mark.parametrize("model_scale", [1])
@pytest.mark.parametrize(
Expand Down

0 comments on commit 0c3be04

Please sign in to comment.