GB2520

Graph-Break Type

Short name describing what triggered the graph break

assume_constant_result argument conversion failed

Context

Values or code snippet captured at the break point

function {name}, variable type {type(x).name}

Explanation

Explanation of why the graph break was triggered

Cannot convert argument of type {type(x).name} to a Python constant for function {name} marked with torch._dynamo.assume_constant_result. The variable tracker does not support constant conversion.

Hints

Hints on how to resolve the graph break

Additional Information

Click here to add Additional Info

Back to Registry