call post_init() in MiniCPMV to restore transformers compatibility

#3

Adds self.post_init() to MiniCPMV.init to align model initialization with recent transformers versions.
Fixes the model loading error: 'MiniCPMV' object has no attribute 'all_tied_weights_keys'.

Thx that works 😃 why nobody merge that ?

image

OpenBMB org

Thanks for the contribution! We verified the fix with recent Transformers versions and confirmed compatibility with 4.51.0. I’ll merge it.

tc-mb changed pull request status to merged

Sign up or log in to comment