Your current environment
main
🐛 Describe the bug
Inductor configs need to be serializable and deepcopy-able, the PostGradPassManager is added to the Inductor config, and the CompilationConfig holds some nn.Modules. The Inductor config gets deepcopied sometimes, plus we have observed OOMs due to nn.Modules being in the PostGradPassManager.
Before submitting a new issue...