Short name describing what triggered the graph break
Unsupported Tensor.requires_grad_() call
Values or code snippet captured at the break point
call_method {self} requires_grad_
Explanation of why the graph break was triggered
Dynamo does not support changes to a Tensor’s requires_grad
through calling requires_grad_()
.
Hints on how to resolve the graph break
No hints provided.