Add dynamo smoke test (#87400)
https://github.com/pytorch/torchdynamo/issues/1733
Move the old smoke test over from the old dynamo repo.
cc @jansel @lezcano @fdrocha
Pull Request resolved: https://github.com/pytorch/pytorch/pull/87400
Approved by: https://github.com/msaroufim