Skip to content

Commit

Permalink
don't automatically ifer reporters
Browse files Browse the repository at this point in the history
  • Loading branch information
Sara Adkins committed May 3, 2024
1 parent 54a2cde commit 205c5fc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/sparseml/transformers/finetune/text_generation.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,12 @@ def apply(**kwargs):
"""
CLI entrypoint for any of training, eval, predict or oneshot
"""
report_to = kwargs.get("report_to", None)
model_args, data_args, training_args = parse_args(**kwargs)
training_args.run_stages = True
if report_to is None: # user didn't specify any reporters
# get rid of the reporters inferred from hugging face
training_args.report_to = []
main(model_args, data_args, training_args)


Expand Down

0 comments on commit 205c5fc

Please sign in to comment.