Skip to content

Commit

Permalink
Default num_samples to None (#227)
Browse files Browse the repository at this point in the history
  • Loading branch information
KSGulin committed Jun 21, 2023
1 parent 769a692 commit 3e7abe4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sparsify/cli/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def one_shot(**kwargs):
one_shot.one_shot(
model=Path(kwargs["model"]),
dataset_dir=Path(kwargs["data"]),
num_samples=kwargs["train_samples"] or -1,
num_samples=kwargs["train_samples"] or None,
deploy_dir=Path(kwargs["working_dir"]),
eval_metric=kwargs["eval_metric"],
optim_level=kwargs["optim_level"],
Expand Down

0 comments on commit 3e7abe4

Please sign in to comment.