remove redundant logging from longformer (#30365)
This commit is contained in:
parent
c651ea982b
commit
179ab098da
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue