From 3f5fcd690d26b5930fe3b93f21144d7edb0318b2 Mon Sep 17 00:00:00 2001 From: Elizabeth Santorella Date: Mon, 12 Aug 2024 08:02:44 -0700 Subject: [PATCH] Speed up Constrained MOBO tutorial in smoke-test mode (#2464) Summary: Pull Request resolved: https://github.com/pytorch/botorch/pull/2464 This PR reduces the number of BayesOpt iterations to 1 in smoke-test mode. Reviewed By: Balandat Differential Revision: D61085444 fbshipit-source-id: a6096b29f1a3edb9e7498259c92ccb8df32ddc0d --- tutorials/constrained_multi_objective_bo.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/constrained_multi_objective_bo.ipynb b/tutorials/constrained_multi_objective_bo.ipynb index afd238732d..baa2bd9de5 100644 --- a/tutorials/constrained_multi_objective_bo.ipynb +++ b/tutorials/constrained_multi_objective_bo.ipynb @@ -393,7 +393,7 @@ "warnings.filterwarnings(\"ignore\", category=BadInitialCandidatesWarning)\n", "warnings.filterwarnings(\"ignore\", category=RuntimeWarning)\n", "\n", - "N_BATCH = 20 if not SMOKE_TEST else 5\n", + "N_BATCH = 20 if not SMOKE_TEST else 1\n", "MC_SAMPLES = 128 if not SMOKE_TEST else 16\n", "verbose = True\n", "\n",