Fix `rope_scaling` setter for configs that assign it during init (#50080)
* Fix rope_scaling setter and convert_to_rgb regressions for remote code
Only standardize RoPE params in the rope_scaling setter after __post_init__, so configs that assign
rope_scaling during init keep their original dict and rope_theta. Restore convert_to_rgb's
pass-through for inputs that are neither PIL nor numpy.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Revert convert_to_rgb pass-through
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>