Skip to content

Commit 46dec82

Browse files
Balandatfacebook-github-bot
authored andcommitted
Fix device issue in MOO tutorial (#621)
Summary: Fixes #615 Pull Request resolved: #621 Reviewed By: qingfeng10 Differential Revision: D25387365 Pulled By: Balandat fbshipit-source-id: 81c75eff567678862116a75be96bc1a15ab54ca5
1 parent 439c9ef commit 46dec82

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
@@ -198,7 +198,7 @@
198198
" acq_func = qExpectedImprovement( # pyre-ignore: [28]\n",
199199
" model=model,\n",
200200
" objective=objective,\n",
201-
" best_f=objective(train_obj).max().item(),\n",
201+
" best_f=objective(train_obj).max(),\n",
202202
" sampler=sampler,\n",
203203
" )\n",
204204
" acq_func_list.append(acq_func)\n",

0 commit comments

Comments
 (0)