Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
The last patch e362b85 broke a couple
things as I thought it was trivial enough to not thoroughly check it,
and of course it turns out I was wrong. Fix the issues, and also
validate that everything passes for me locally.
  • Loading branch information
boomanaiden154 committed Sep 12, 2024
1 parent e362b85 commit 39369d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion compiler_opt/es/blackbox_learner_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def _policy_saver_fn(parameters: npt.NDArray[np.float32],
.NO_METHOD,
extra_params=None,
step_size=1),
sampler=self._cps,
train_corpus=self._cps,
tf_policy_path=os.path.join(policy_save_path, policy_name),
output_dir=output_dir,
policy_saver_fn=_policy_saver_fn,
Expand Down
2 changes: 1 addition & 1 deletion compiler_opt/es/es_trainer_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def train(additional_compilation_flags=(),
logging.info("Initializing blackbox learner.")
learner = blackbox_learner.BlackboxLearner(
blackbox_opt=blackbox_optimizer,
sampler=cps,
train_corpus=cps,
tf_policy_path=os.path.join(policy_save_path, POLICY_NAME),
output_dir=_OUTPUT_PATH.value,
policy_saver_fn=policy_saver_function,
Expand Down

0 comments on commit 39369d3

Please sign in to comment.