Closed ramiro050 closed 2 years ago
Using the context manager with TorchDynamo will soon be deprecated (https://github.com/pytorch/torchdynamo/commit/a2665c5fe11b91bb8d811303df52acd47bce5af2). The preferred method is to use the torchdynamo.optimize decorator. This commit updates the scripts to use the decorator.
torchdynamo.optimize
Using the context manager with TorchDynamo will soon be deprecated (https://github.com/pytorch/torchdynamo/commit/a2665c5fe11b91bb8d811303df52acd47bce5af2). The preferred method is to use the
torchdynamo.optimize
decorator. This commit updates the scripts to use the decorator.