You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
patching LigerRMSNorm with partial arguments given would cause error in _init_weights() #739
However, it took a isintance(module, XXXRMSNorm) to fill initial values into RMSNorm modules, which can lead to a TypeError if we patch RMSNorm with partial(LigerRMSNorm, ...).
Take gemma for example:
If we make a partial object to match the default arguments for GemmaRMSNorm
Activity
Fix RMS norm patching (#741)