Skip to content

Commit

Permalink
remove unnecessary message
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyasMoutawwakil committed Nov 15, 2023
1 parent 1043cc3 commit 5055604
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions optimum_benchmark/benchmarks/inference/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,6 @@ def __post_init__(self):
raise ValueError("`max_new_tokens` and `min_new_tokens` must be equal for fixed length output.")

if self.new_tokens is not None:
LOGGER.info(
f"`new_tokens` was set to {self.new_tokens}. `max_new_tokens` and `min_new_tokens` will be set to {self.new_tokens}."
)
self.generate_kwargs["max_new_tokens"] = self.new_tokens
self.generate_kwargs["min_new_tokens"] = self.new_tokens

Expand Down

0 comments on commit 5055604

Please sign in to comment.