Skip to content

Commit c34704e

Browse files
alexnikulkovfacebook-github-bot
authored andcommitted
set num_processes=1 in MAB test
Summary: Attempt to fix the test timing out on CircleCI Differential Revision: D33900623 fbshipit-source-id: ad8b7b2f0da95b109921490ecdb47ed77767800b
1 parent 09e36a9 commit c34704e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

reagent/test/mab/test_mab.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,7 @@ def test_multiple_evaluations_bandit_algo(self):
374374
max_steps=max_steps,
375375
algo_kwargs={"n_arms": 2},
376376
bandit_kwargs={"probs": torch.Tensor([0.3, 0.5])},
377+
num_processes=1,
377378
)
378379

379380
self.assertIsInstance(regret_trajectory, np.ndarray)

0 commit comments

Comments
 (0)