BertForSequenceClassification does not support 'device_map':"auto" yet
### System Info

I have trained a model and am now trying to load and quantise it but getting the error: 

BertForSequenceClassification does not support 'device_map':"auto" yet

Code for loading is simply:
   ` model = AutoModelForSequenceClassification.from_pretrained(model_dir, device_map='auto', load_in_8bit=True)`

Help would be greatly appreciated!

Thanks,

Lee

### Who can help?

_No response_

### Information

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

### Tasks

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

### Reproduction

model = AutoModelForSequenceClassification.from_pretrained(model_dir, device_map='auto', load_in_8bit=True)

### Expected behavior

The model would load and be usable.