pytorch
703c1900 - [dynamo] use optimizers correctly in benchmarking (#87311)

Commit
3 years ago
[dynamo] use optimizers correctly in benchmarking (#87311) We were not setting optimizers correctly * This hid the issue that we see here - https://github.com/pytorch/torchdynamo/issues/1687 * This has also revealed that we are activating profilers for every dynamo optimized model call. This could affect speedup cc @jansel @lezcano @fdrocha Pull Request resolved: https://github.com/pytorch/pytorch/pull/87311 Approved by: https://github.com/mlazos, https://github.com/yanboliang
Author
Committer
Parents
Loading