[WIP] Add internimage
# What does this PR do?

The PR adds internimage to transformers. Addresses #22240 

## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#start-contributing-pull-requests),
      Pull Request section?
- [x] Was this discussed/approved via a Github issue or the [forum](https://discuss.huggingface.co/)? Please add a link
      to it if that's the case.
- [ ] Did you make sure to update the documentation with your changes? Here are the
      [documentation guidelines](https://github.com/huggingface/transformers/tree/main/docs), and
      [here are tips on formatting docstrings](https://github.com/huggingface/transformers/tree/main/docs#writing-source-documentation).
- [ ] Did you write any new necessary tests?

## Who can review?

Anyone in the community is free to review the PR and help with the left out work. Feel free to tag
members/contributors who may be interested in your PR.

 If you know how to use git blame, that is the easiest way, otherwise, here is a rough guide of **who to tag**.
 Please tag fewer than 3 people.

@adit299 
@Weiyun1025
@amyeroberts 
@sgugger 
@stevhliu 
@MKhalusova

All I did was copy the code from [here](https://huggingface.co/OpenGVLab/internimage_s_1k_224) as mentioned in #22240.

I couldn't figure out the test cases so I commented those out for now. 
I manually imported the model and initialized an instance to see if it works and it did. 

I will fix the failing documentation testcases. Might need some help with the technical details of the model.<|||||>The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_23782). All of your documentation changes will be reflected on that endpoint.<|||||>Hi @millionhz, thanks for opening this PR and for the work adding this model! 

The linked to repo already has the [model code on the hub](https://huggingface.co/OpenGVLab/internimage_s_1k_224/blob/main/intern_image.py), and the model can be loaded directly with:

```python
from transformers import AutoModel

model = AutoModel.from_pretrained("OpenGVLab/internimage_s_1k_224", trust_remote_code=True)
``` 

so a PR to add into the transformers repo isn't necessary. <|||||>@amyeroberts 

Oh. I opened the PR because of #22240.

I close it if its not needed.<|||||>@millionhz - no worries, it's not obvious from the issue. I'll comment on the issue and we can close both that and this PR. 

It's great that you're wanting to contribute and there's still plenty of ways you can in the library - addressing models or good first issues. We're looking forward to any future PRs :) Just remember to read the contributor's guideline and template carefully, e.g. for this PR more that 3 people were tagged. 

