DALLE2_pytorch: "torch._dynamo.exc.Unsupported: call_method NNModuleVariable() eval [] {}"
Labels: triaged, oncall: pt2, module: inductor

Repro:
```
python benchmarks/dynamo/torchbench.py --bfloat16 --accuracy --inference --device cuda  --export-aot-inductor  --only DALLE2_pytorch
```
Error:
```
Traceback (most recent call last):
  File "/home/binbao/pytorch/benchmarks/dynamo/common.py", line 2107, in check_accuracy
    optimized_model_iter_fn = optimize_ctx(self.run_n_iterations)
  File "/home/binbao/pytorch/benchmarks/dynamo/common.py", line 1159, in export_aot_inductor
    module, exported, output_spec = AOTInductorModelCache.load(
  File "/home/binbao/pytorch/benchmarks/dynamo/common.py", line 1132, in load
    so_path, exported = torch._export.aot_compile(
  File "/home/binbao/pytorch/torch/_export/__init__.py", line 759, in aot_compile
    ep = export(f, args, kwargs, constraints)
  File "/home/binbao/pytorch/torch/_export/__init__.py", line 431, in export
    gm_torch_level, _ = torch._dynamo.export(
  File "/home/binbao/pytorch/torch/_dynamo/eval_frame.py", line 1216, in inner
    result_traced = opt_f(*args, **kwargs)
  File "/home/binbao/pytorch/torch/nn/modules/module.py", line 1519, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/home/binbao/pytorch/torch/nn/modules/module.py", line 1528, in _call_impl
    return forward_call(*args, **kwargs)
  File "/home/binbao/pytorch/torch/_dynamo/eval_frame.py", line 406, in _fn
    return fn(*args, **kwargs)
  File "/home/binbao/pytorch/torch/_dynamo/eval_frame.py", line 554, in catch_errors
    return callback(frame, cache_entry, hooks, frame_state)
  File "/home/binbao/pytorch/torch/_dynamo/convert_frame.py", line 140, in _fn
    return fn(*args, **kwargs)
  File "/home/binbao/pytorch/torch/_dynamo/convert_frame.py", line 380, in _convert_frame_assert
    return _compile(
  File "/home/binbao/pytorch/torch/_dynamo/convert_frame.py", line 559, in _compile
    guarded_code = compile_inner(code, one_graph, hooks, transform)
  File "/home/binbao/pytorch/torch/_dynamo/utils.py", line 190, in time_wrapper
    r = func(*args, **kwargs)
  File "/home/binbao/pytorch/torch/_dynamo/convert_frame.py", line 481, in compile_inner
    out_code = transform_code_object(code, transform)
  File "/home/binbao/pytorch/torch/_dynamo/bytecode_transformation.py", line 1028, in transform_code_object
    transformations(instructions, code_options)
  File "/home/binbao/pytorch/torch/_dynamo/convert_frame.py", line 451, in transform
    tracer.run()
  File "/home/binbao/pytorch/torch/_dynamo/symbolic_convert.py", line 2094, in run
    super().run()
  File "/home/binbao/pytorch/torch/_dynamo/symbolic_convert.py", line 739, in run
    and self.step()
  File "/home/binbao/pytorch/torch/_dynamo/symbolic_convert.py", line 702, in step
    getattr(self, inst.opname)(inst)
  File "/home/binbao/pytorch/torch/_dynamo/symbolic_convert.py", line 403, in wrapper
    return inner_fn(self, inst)
  File "/home/binbao/pytorch/torch/_dynamo/symbolic_convert.py", line 1175, in CALL_FUNCTION_EX
    self.call_function(fn, argsvars.items, kwargsvars.items)
  File "/home/binbao/pytorch/torch/_dynamo/symbolic_convert.py", line 576, in call_function
    self.push(fn.call_function(self, args, kwargs))
  File "/home/binbao/pytorch/torch/_dynamo/variables/nn_module.py", line 338, in call_function
    return tx.inline_user_function_return(
  File "/home/binbao/pytorch/torch/_dynamo/symbolic_convert.py", line 612, in inline_user_function_return
    result = InliningInstructionTranslator.inline_call(self, fn, args, kwargs)
  File "/home/binbao/pytorch/torch/_dynamo/symbolic_convert.py", line 2221, in inline_call
    return cls.inline_call_(parent, func, args, kwargs)
  File "/home/binbao/pytorch/torch/_dynamo/symbolic_convert.py", line 2343, in inline_call_
    tracer.run()
  File "/home/binbao/pytorch/torch/_dynamo/symbolic_convert.py", line 739, in run
    and self.step()
  File "/home/binbao/pytorch/torch/_dynamo/symbolic_convert.py", line 702, in step
    getattr(self, inst.opname)(inst)
  File "/home/binbao/pytorch/torch/_dynamo/symbolic_convert.py", line 403, in wrapper
    return inner_fn(self, inst)
  File "/home/binbao/pytorch/torch/_dynamo/symbolic_convert.py", line 1175, in CALL_FUNCTION_EX
    self.call_function(fn, argsvars.items, kwargsvars.items)
  File "/home/binbao/pytorch/torch/_dynamo/symbolic_convert.py", line 576, in call_function
    self.push(fn.call_function(self, args, kwargs))
  File "/home/binbao/pytorch/torch/_dynamo/variables/functions.py", line 307, in call_function
    return super().call_function(tx, args, kwargs)
  File "/home/binbao/pytorch/torch/_dynamo/variables/functions.py", line 261, in call_function
    return super().call_function(tx, args, kwargs)
  File "/home/binbao/pytorch/torch/_dynamo/variables/functions.py", line 90, in call_function
    return tx.inline_user_function_return(
  File "/home/binbao/pytorch/torch/_dynamo/symbolic_convert.py", line 612, in inline_user_function_return
    result = InliningInstructionTranslator.inline_call(self, fn, args, kwargs)
  File "/home/binbao/pytorch/torch/_dynamo/symbolic_convert.py", line 2221, in inline_call
    return cls.inline_call_(parent, func, args, kwargs)
  File "/home/binbao/pytorch/torch/_dynamo/symbolic_convert.py", line 2343, in inline_call_
    tracer.run()
  File "/home/binbao/pytorch/torch/_dynamo/symbolic_convert.py", line 739, in run
    and self.step()
  File "/home/binbao/pytorch/torch/_dynamo/symbolic_convert.py", line 702, in step
    getattr(self, inst.opname)(inst)
  File "/home/binbao/pytorch/torch/_dynamo/symbolic_convert.py", line 403, in wrapper
    return inner_fn(self, inst)
  File "/home/binbao/pytorch/torch/_dynamo/symbolic_convert.py", line 1175, in CALL_FUNCTION_EX
    self.call_function(fn, argsvars.items, kwargsvars.items)
  File "/home/binbao/pytorch/torch/_dynamo/symbolic_convert.py", line 576, in call_function
    self.push(fn.call_function(self, args, kwargs))
  File "/home/binbao/pytorch/torch/_dynamo/variables/functions.py", line 261, in call_function
    return super().call_function(tx, args, kwargs)
  File "/home/binbao/pytorch/torch/_dynamo/variables/functions.py", line 90, in call_function
    return tx.inline_user_function_return(
  File "/home/binbao/pytorch/torch/_dynamo/symbolic_convert.py", line 612, in inline_user_function_return
    result = InliningInstructionTranslator.inline_call(self, fn, args, kwargs)
  File "/home/binbao/pytorch/torch/_dynamo/symbolic_convert.py", line 2221, in inline_call
    return cls.inline_call_(parent, func, args, kwargs)
  File "/home/binbao/pytorch/torch/_dynamo/symbolic_convert.py", line 2343, in inline_call_
    tracer.run()
  File "/home/binbao/pytorch/torch/_dynamo/symbolic_convert.py", line 739, in run
    and self.step()
  File "/home/binbao/pytorch/torch/_dynamo/symbolic_convert.py", line 702, in step
    getattr(self, inst.opname)(inst)
  File "/home/binbao/pytorch/torch/_dynamo/symbolic_convert.py", line 403, in wrapper
    return inner_fn(self, inst)
  File "/home/binbao/pytorch/torch/_dynamo/symbolic_convert.py", line 1135, in CALL_FUNCTION
    self.call_function(fn, args, {})
  File "/home/binbao/pytorch/torch/_dynamo/symbolic_convert.py", line 576, in call_function
    self.push(fn.call_function(self, args, kwargs))
  File "/home/binbao/pytorch/torch/_dynamo/variables/functions.py", line 304, in call_function
    return self.obj.call_method(
  File "/home/binbao/pytorch/torch/_dynamo/variables/nn_module.py", line 638, in call_method
    return super().call_method(tx, name, args, kwargs)
  File "/home/binbao/pytorch/torch/_dynamo/variables/base.py", line 329, in call_method
    raise unimplemented(f"call_method {self} {name} {args} {kwargs}")
  File "/home/binbao/pytorch/torch/_dynamo/exc.py", line 176, in unimplemented
    raise Unsupported(msg)
torch._dynamo.exc.Unsupported: call_method NNModuleVariable() eval [] {}
```

cc @ezyang @msaroufim @wconstab @bdhirsh @anijain2305 @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @Xia-Weiwen @wenzhe-nrv @jiayisunx @peterbell10 @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @aakhundov