Skip to content

Commit

Permalink
Fix other bwd
Browse files Browse the repository at this point in the history
  • Loading branch information
xuzhao9 committed Nov 18, 2024
1 parent 90bbb73 commit 1f4fa82
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions run.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,6 @@ def _run(args: argparse.Namespace, extra_args: List[str]) -> BenchmarkOperatorRe
Opbench = load_opbench_by_name_from_loader(args)
else:
Opbench = load_opbench_by_name(args.op)
if args.fwd_bwd:
args.mode = "fwd_bwd"
if args.bwd:
args.mode = "bwd"
if args.fwd_no_grad:
args.mode = "fwd_no_grad"
opbench = Opbench(
tb_args=args,
extra_args=extra_args,
Expand Down

0 comments on commit 1f4fa82

Please sign in to comment.