Skip to content

Commit

Permalink
remove unnecessary line
Browse files Browse the repository at this point in the history
  • Loading branch information
SunMarc committed Oct 7, 2024
1 parent c91fe85 commit 5d16f6a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/transformers/configuration_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1036,7 +1036,6 @@ def _get_non_default_generation_parameters(self) -> Dict[str, Any]:
if decoder_config is not self:
default_config = decoder_config.__class__()
else:
default_config = None
decoder_config = None

# If it is a composite model, we want to check the subconfig that will be used for generation
Expand Down

0 comments on commit 5d16f6a

Please sign in to comment.