GB0209

Graph-Break Type

Short name describing what triggered the graph break

torch.autograd._unsafe_preserve_version_counter escaped from compiled region

Context

Values or code snippet captured at the break point

str(self)

Explanation

Explanation of why the graph break was triggered

Dynamo doesn’t support compiling a region that returns a torch.autograd._unsafe_preserve_version_counter context manager.

Hints

Hints on how to resolve the graph break

Additional Information

Back to Registry