Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyasMoutawwakil committed Dec 5, 2024
1 parent b95dd1a commit 165b66c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion optimum_benchmark/scenarios/inference/scenario.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ def run_per_token_text_generation_latency_tracking(self):
self.latency_tracker = PerTokenLatencyLogitsProcessor(
backend=self.backend.config.name, device=self.backend.config.device
)
self.config.generate_kwargs["logits_processors"] = LogitsProcessorList([self.latency_tracker])
self.config.generate_kwargs["logits_processor"] = LogitsProcessorList([self.latency_tracker])

self.latency_tracker.reset()
while (
Expand Down

0 comments on commit 165b66c

Please sign in to comment.