"git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "9e97c875398cdb178f594136d8e13233007fe0a3"
Unverified Commit 179ab098 authored by Russell Klopfer's avatar Russell Klopfer Committed by GitHub
Browse files

remove redundant logging from longformer (#30365)

parent c651ea98
......@@ -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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment