Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
FindHao committed Dec 9, 2024
1 parent cdcd06d commit 5aa17b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tritonbench/utils/triton_op.py
Original file line number Diff line number Diff line change
Expand Up @@ -623,6 +623,7 @@ def __init__(
if self.mode in [Mode.FWD_BWD, Mode.BWD]:
# TODO: remove this once we have a better way to handle backward benchmarking
import torch._functorch.config

torch._functorch.config.donated_buffer = False
self.device = tb_args.device
self.required_metrics = (
Expand Down

0 comments on commit 5aa17b6

Please sign in to comment.