Patch torchdynamo to workaround dynamo#159 (#874)
Summary:
Patch torchdynamo to workaround https://github.com/pytorch/torchdynamo/issues/159 to measure performance in a more real settings
Test action: https://github.com/pytorch/benchmark/actions/runs/2197225065
Pull Request resolved: https://github.com/pytorch/benchmark/pull/874
Reviewed By: erichan1
Differential Revision: D36451910
Pulled By: xuzhao9
fbshipit-source-id: 834b81dfbe7b673a373bbd29575c1aed40dfc4eb