torch.fx.passes.utils.fuser_utils.erase_nodes torch.fx.passes.utils.fuser_utils.erase_nodes(gm, nodes)