is_torch_greater_or_equal_than_1_13 deprecated

#22
by erichartford - opened

is_torch_greater_or_equal_than_1_13 deprecated

Please change:

from transformers.pytorch_utils import (
    ALL_LAYERNORM_LAYERS,
    is_torch_greater_or_equal_than_1_13,
)

to

from transformers.pytorch_utils import (
    ALL_LAYERNORM_LAYERS
)
def is_torch_greater_or_equal_than_1_13():
  return True

Sign up or log in to comment