Skip to content

Commit

Permalink
Skip test_mixture_same_family_mean_shape in Dynamo
Browse files Browse the repository at this point in the history
Not knowledgeable about dynamo really; making a call because test seems simple/reasonable and many other torch.distribution tests skip if Dynamo.
  • Loading branch information
CJMenart committed Feb 3, 2024
1 parent f01b7f4 commit 0618d65
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/distributions/test_distributions.py
Original file line number Diff line number Diff line change
Expand Up @@ -4048,6 +4048,7 @@ def test_continuous_bernoulli_shape_tensor_params(self):
self.assertRaises(ValueError, continuous_bernoulli.log_prob, self.tensor_sample_2)
self.assertEqual(continuous_bernoulli.log_prob(torch.ones(3, 1, 1)).size(), torch.Size((3, 3, 2)))

@skipIfTorchDynamo("Not a TorchDynamo suitable test")
def test_mixture_same_family_mean_shape(self):
mix_distribution = Categorical(torch.ones([3, 1, 3]))
component_distribution = Normal(torch.zeros([3, 3, 3]), torch.ones([3, 3, 3]))
Expand Down

0 comments on commit 0618d65

Please sign in to comment.