I have recently got the error āNameError: name āPartialStateā is not definedā
when calling TrainingArguments() (when treating the course fine-tuning a model with
Trainer API)
Before getting this error I had already got the error āImportError: Using the Trainer
with PyTorch
requires accelerate
: Run pip install --upgrade accelerate
ā
so I installed and import accelerate but after that I got the former error of 'PartialState"
I should remind I didnāt get those errors two weeks ago when I tested the code for the first time. Please kindly inform me what I should do now.