diff --git a/benchmarks/benchmark_model.py b/benchmarks/benchmark_model.py index fc1a6b6ea8c5..636aaa5906af 100644 --- a/benchmarks/benchmark_model.py +++ b/benchmarks/benchmark_model.py @@ -144,8 +144,6 @@ def prepare_for_experiment(self, dynamo_compilation_opts): self.example_inputs, self.device, self.benchmark_experiment.use_torch_xla2) - - if self.benchmark_experiment.dynamo: compilation_opts = dynamo_compilation_opts.copy() compilation_opts['backend'] = self.benchmark_experiment.dynamo