Skip to content

Commit

Permalink
XFAIL MLDA tests because it needs refactoring
Browse files Browse the repository at this point in the history
See #5021
  • Loading branch information
michaelosthege authored and twiecki committed Sep 24, 2021
1 parent f73e933 commit 6a722da
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
3 changes: 3 additions & 0 deletions pymc3/tests/test_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,9 @@ def build_models(self):

return model, coarse_models

@pytest.mark.skip(
reason="MLDA needs to be refactored to no longer depend on trace continuation. See #5021."
)
def test_run(self):
model, coarse_models = self.build_models()

Expand Down
14 changes: 9 additions & 5 deletions pymc3/tests/test_step.py
Original file line number Diff line number Diff line change
Expand Up @@ -579,11 +579,12 @@ def test_step_continuous(self):
HamiltonianMC(scaling=C, is_cov=True, blocked=False),
]
),
MLDA(
coarse_models=[model_coarse],
base_S=C,
base_proposal_dist=MultivariateNormalProposal,
),
# NOTE: The MLDA uses the trace continuation which was removed.
# MLDA(
# coarse_models=[model_coarse],
# base_S=C,
# base_proposal_dist=MultivariateNormalProposal,
# ),
)
for step in steps:
idata = sample(
Expand Down Expand Up @@ -1038,6 +1039,9 @@ def test_sampler_stats(self):
assert (trace.model_logp == model_logp_).all()


@pytest.mark.skip(
reason="MLDA needs to be refactored to no longer depend on trace continuation. See #5021."
)
class TestMLDA:
steppers = [MLDA]

Expand Down

0 comments on commit 6a722da

Please sign in to comment.