ImportError: cannot import name 'PartialState' from 'transformers.trainer_pt_utils'
### System Info

`transformers` version: 4.28.0
`accelerate` version: 0.19.0


### Who can help?

_No response_

### Information

- [X] The official example scripts
- [ ] My own modified scripts

### Tasks

- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below)

### Reproduction

`from transformers.trainer_pt_utils import PartialState`

### Expected behavior

it cannot import the class, eventhough I tried to downgrade transformers and install accelerate
That class is defined in Accelerate, not in `trainer_utils`.<|||||>This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

Please note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) are likely to be ignored.