Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev -> main #765

Merged
merged 3 commits into from
May 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions scoring/run_workloads.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,10 @@ def main(_):
if FLAGS.hparam_end_index:
hparam_end_index_flag = f'--hparam_end_index {FLAGS.hparam_end_index} '
study_start_index = FLAGS.study_start_index if FLAGS.study_start_index else 0
study_end_index = FLAGS.study_end_index if FLAGS.study_end_index else num_studies - 1
if FLAGS.study_end_index is not None:
study_end_index = FLAGS.study_end_index
else:
study_end_index = num_studies - 1
submission_id = FLAGS.submission_id
rng_seed = FLAGS.seed

Expand Down Expand Up @@ -232,4 +235,4 @@ def main(_):

if __name__ == '__main__':
flags.mark_flag_as_required('workload_metadata_path')
app.run(main)
app.run(main)
Loading