Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
xuzhao9 committed Nov 20, 2024
1 parent 5bfe61c commit c4cb4ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_gpu/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ def _run_operator_in_task(op: str, args: List[str]):
task.make_operator_instance(args=args)
task.run()
task.check_output()
task.del_op_instance()
# Test backward (if applicable)
if task.get_attribute("has_bwd"):
task.del_op_instance()
args.extend(["--bwd"])
task.make_operator_instance(args=args)
task.run()
Expand Down

0 comments on commit c4cb4ca

Please sign in to comment.