[Feature] AutoModel can load components using model_index.json (#11401)
* update
* update
* update
* update
* addressed PR comments
* update
* addressed PR comments
* added tests
* addressed PR comments
* updates
* update
* addressed PR comments
* update
* fix style
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com>
Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com>