diff --git a/botorch/gen.py b/botorch/gen.py index a2959cdf84..c114a39848 100644 --- a/botorch/gen.py +++ b/botorch/gen.py @@ -98,7 +98,7 @@ def f(x): jac=True, bounds=bounds, constraints=constraints, - options=options, + options={k: v for k, v in options.items() if k != "method"}, ) candidates = fix_features( X=torch.from_numpy(res.x) # pyre-ignore [16]