Error while using TrainingArguments

Hi,
while, I am using
training_args = TrainingArguments(output_dir=“test_trainer”)

get the error
AttributeError: module ‘torch.distributed’ has no attribute ‘is_initialized’

how can i solve this error?

You should upgrade your Transformers version :slight_smile:

1 Like

Thanks very much