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
Passing only necessary compilation config to inductor pass config (#27041)
Summary:
Pull Request resolved: #27041
we should not pass the weakref to compilation_config, which include static_forward_context that will holds the pointers to the model layers (e.g. moe, attention), which is dangerous, as this will be passed as config to torch.compile
Test Plan: local tests
Differential Revision: D84790018
0 commit comments