Skip to content

Commit 706e2a1

Browse files
esantorellafacebook-github-bot
authored andcommitted
Fix flake8 error: variable annotated but never used (#1521)
Summary: Pull Request resolved: #1521 The github CI is failing on main due to a flake8 change. Example: https://github.com/pytorch/botorch/actions/runs/3536247218/jobs/5935101687 The error is "./botorch/optim/initializers.py:117:5: F842 local variable 'batch_initial_arms' is annotated but never used" Reviewed By: sdaulton Differential Revision: D41510003 fbshipit-source-id: ee68c16422d642baf926568614c7315b9b5eb3f6
1 parent 97626a9 commit 706e2a1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

botorch/optim/initializers.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ def gen_batch_initial_conditions(
114114
batch_limit: Optional[int] = options.get(
115115
"init_batch_limit", options.get("batch_limit")
116116
)
117-
batch_initial_arms: Tensor
118117
factor, max_factor = 1, 5
119118
init_kwargs = {}
120119
device = bounds.device

0 commit comments

Comments
 (0)