use skip_posterior_variances in gp regression test
@@ -224,6 +224,7 @@ class TestSimpleGPRegression(unittest.TestCase):
# Test the model
gp_model.eval()
likelihood.eval()
+ with gpytorch.settings.skip_posterior_variances(True):
test_function_predictions = likelihood(gp_model(test_x))
mean_abs_error = torch.mean(torch.abs(test_y - test_function_predictions.mean))
