Skip to content

Commit

Permalink
for PF runs use multiple processes on the same dataset at a time
Browse files Browse the repository at this point in the history
  • Loading branch information
misko committed Nov 1, 2024
1 parent 3988b29 commit ea6b35d
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions spf/model_training_and_inference/models/particle_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,15 +230,15 @@ def get_parser():
random.shuffle(jobs_per_ds_fn)

# one job per dataset
jobs = [
{
"ds_fn": ds_fn,
"precompute_cache": args.precompute_cache,
"empirical_pkl_fn": args.empirical_pkl_fn,
"jobs": jobs_per_ds_fn,
}
for ds_fn in args.datasets
]
# jobs = [
# {
# "ds_fn": ds_fn,
# "precompute_cache": args.precompute_cache,
# "empirical_pkl_fn": args.empirical_pkl_fn,
# "jobs": jobs_per_ds_fn,
# }
# for ds_fn in args.datasets
# ]

jobs = []
for ds_fn in args.datasets:
Expand Down

0 comments on commit ea6b35d

Please sign in to comment.