Skip to content

Commit 44821d0

Browse files
esantorellafacebook-github-bot
authored andcommitted
Reduce runtime of BOPE tutorial in smoke test mode (#2301)
Summary: Pull Request resolved: #2301 Reduces runtime of the only slow cell from 32s to 7s on my machine. Reviewed By: saitcakmak Differential Revision: D56253258 fbshipit-source-id: 879fa0b2c2d1707760d55d418612494e0de9f4bb
1 parent 74b5734 commit 44821d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorials/bope.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@
443443
"# Number of pairwise comparisons performed before checking posterior mean\n",
444444
"every_n_comps = 3\n",
445445
"# Total number of checking the maximum posterior mean\n",
446-
"n_check_post_mean = 5\n",
446+
"n_check_post_mean = 1 if SMOKE_TEST else 5\n",
447447
"n_outcome_model_initialization_points = 8\n",
448448
"within_session_results = []\n",
449449
"exp_candidate_results = []\n",

0 commit comments

Comments
 (0)