remove redundant logging from longformer (#30365)

This commit is contained in:
Russell Klopfer 2024-04-23 04:57:03 -04:00 committed by GitHub
parent c651ea982b
commit 179ab098da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1593,7 +1593,7 @@ class LongformerModel(LongformerPreTrainedModel):
# this path should be recorded in the ONNX export, it is fine with padding_len == 0 as well
if padding_len > 0:
logger.warning_once(
f"Input ids are automatically padded from {seq_len} to {seq_len + padding_len} to be a multiple of "
f"Input ids are automatically padded to be a multiple of "
f"`config.attention_window`: {attention_window}"
)
if input_ids is not None: