[Dynamo] torch.autocast context manager doesn't support graph break 
Labels: triaged, oncall: pt2, module: dynamo

### 🐛 Describe the bug

I wrote a unittest that is being skipped to track this failure:
https://github.com/pytorch/pytorch/pull/92917/files#diff-0daa64329e2d8648fc119f7809dc810c744508d345ea023116614ccc17e57dbeR2708

When raising the unimplemented here: https://github.com/pytorch/pytorch/pull/92917/files#diff-7bd43c6b174845f3450be42c8460ed021d1b39a98510cbea5d4e7e3a0b9d8d4fR494

the following error message is produced:
``` bash
Traceback (most recent call last):
  File "/scratch/drisspg/work/pytorch/torch/_dynamo/convert_frame.py", line 323, in _compile
    out_code = transform_code_object(code, transform)
  File "/scratch/drisspg/work/pytorch/torch/_dynamo/bytecode_transformation.py", line 339, in transform_code_object
    transformations(instructions, code_options)
  File "/scratch/drisspg/work/pytorch/torch/_dynamo/convert_frame.py", line 310, in transform
    tracer.run()
  File "/scratch/drisspg/work/pytorch/torch/_dynamo/symbolic_convert.py", line 1715, in run
    super().run()
  File "/scratch/drisspg/work/pytorch/torch/_dynamo/symbolic_convert.py", line 564, in run
    and self.step()
  File "/scratch/drisspg/work/pytorch/torch/_dynamo/symbolic_convert.py", line 527, in step
    getattr(self, inst.opname)(inst)
  File "/scratch/drisspg/work/pytorch/torch/_dynamo/symbolic_convert.py", line 363, in wrapper
    self.output.compile_subgraph(self, reason=reason)
  File "/scratch/drisspg/work/pytorch/torch/_dynamo/output_graph.py", line 480, in compile_subgraph
    tx.prune_dead_locals()
  File "/scratch/drisspg/work/pytorch/torch/_dynamo/symbolic_convert.py", line 446, in prune_dead_locals
    self.output.side_effects.prune_dead_object_new(self)
  File "/scratch/drisspg/work/pytorch/torch/_dynamo/side_effects.py", line 268, in prune_dead_object_new
    VariableTracker.apply(visit, (tx.stack, tx.symbolic_locals))
  File "/scratch/drisspg/work/pytorch/torch/_dynamo/variables/base.py", line 106, in apply
    result = tuple(cls.apply(fn, v, cache, skip_fn) for v in value)
  File "/scratch/drisspg/work/pytorch/torch/_dynamo/variables/base.py", line 106, in <genexpr>
    result = tuple(cls.apply(fn, v, cache, skip_fn) for v in value)
  File "/scratch/drisspg/work/pytorch/torch/_dynamo/variables/base.py", line 104, in apply
    result = [cls.apply(fn, v, cache, skip_fn) for v in value]
  File "/scratch/drisspg/work/pytorch/torch/_dynamo/variables/base.py", line 104, in <listcomp>
    result = [cls.apply(fn, v, cache, skip_fn) for v in value]
  File "/scratch/drisspg/work/pytorch/torch/_dynamo/variables/base.py", line 96, in apply
    updated_dict[key] = cls.apply(
  File "/scratch/drisspg/work/pytorch/torch/_dynamo/variables/base.py", line 99, in apply
    result = fn(value.clone(**updated_dict))
  File "/scratch/drisspg/work/pytorch/torch/_dynamo/variables/base.py", line 65, in clone
    return self.__class__(**args)
  File "/scratch/drisspg/work/pytorch/torch/_dynamo/variables/base.py", line 27, in __call__
    obj = type.__call__(cls, *args, **kwargs)
  File "/scratch/drisspg/work/pytorch/torch/_dynamo/variables/misc.py", line 388, in __init__
    super(AutocastModeVariable, self).__init__(
  File "/scratch/drisspg/work/pytorch/torch/_dynamo/variables/misc.py", line 170, in __init__
    super(ContextWrappingVariable, self).__init__(**kwargs)
TypeError: __init__() got an unexpected keyword argument 'mode'
```



### Versions

https://github.com/pytorch/pytorch/pull/92917

This will be merged to master though.

cc @ezyang @gchanan @zou3519 @soumith @msaroufim @wconstab @ngimel @bdhirsh @mlazos @voznesenskym @yanboliang @penguinwu @anijain2305 @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @Xia-Weiwen @wenzhe-nrv @jiayisunx @desertfire