Skip to content

Commit

Permalink
enable worker argument, but set to zero for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sadamov committed Nov 16, 2024
1 parent dfec1ec commit f56a999
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def main(
ds,
batch_size,
shuffle=False,
# num_workers=args.n_workers,
num_workers=n_workers,
sampler=sampler,
)

Expand Down
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def download_meps_example_reduced_dataset():
datastore_config_path=config_path,
batch_size=8,
step_length=3,
n_workers=1,
n_workers=0,
distributed=False,
)

Expand Down

0 comments on commit f56a999

Please sign in to comment.