src/transformers/utils/dummy_pt_objects.py/load_tf_weights_in_bert_generation
def load_tf_weights_in_bert_generation(*args, **kwargs):
    requires_backends(load_tf_weights_in_bert_generation, ["torch"])