Skip to content

Commit

Permalink
fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
baptistecolle committed Oct 14, 2024
1 parent 755c19d commit 49a5f70
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion optimum_benchmark/scenarios/energy_star/scenario.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ def run(self, backend: Backend[BackendConfigT]) -> BenchmarkReport:
)
self.config.input_shapes["batch_size"] //= torch.distributed.get_world_size()

self.energy_tracker = EnergyTracker(device=backend.config.device, device_ids=backend.config.device_ids, backend=backend.NAME)
self.energy_tracker = EnergyTracker(
device=backend.config.device, device_ids=backend.config.device_ids, backend=backend.NAME
)

LOGGER.info("\t+ Loading dataset")
raw_dataset = load_dataset(
Expand Down

0 comments on commit 49a5f70

Please sign in to comment.