Skip to content

Commit 44ee88c

Browse files
esantorellafacebook-github-bot
authored andcommitted
Speed up multi-objective BO tutorial in smoke test mode by reducing number of iterations (#2302)
Summary: Pull Request resolved: #2302 This reduces the runtime of the slowest cell from 23s to 10s on my machine. Reviewed By: saitcakmak Differential Revision: D56262442 fbshipit-source-id: 64e2ce3aacae9f840c60b5751f1670b3c12bb3d4
1 parent 44821d0 commit 44ee88c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorials/multi_objective_bo.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@
431431
"warnings.filterwarnings(\"ignore\", category=BadInitialCandidatesWarning)\n",
432432
"warnings.filterwarnings(\"ignore\", category=RuntimeWarning)\n",
433433
"\n",
434-
"N_BATCH = 20 if not SMOKE_TEST else 10\n",
434+
"N_BATCH = 20 if not SMOKE_TEST else 5\n",
435435
"MC_SAMPLES = 128 if not SMOKE_TEST else 16\n",
436436
"\n",
437437
"verbose = True\n",

0 commit comments

Comments
 (0)