GB5687

Graph-Break Type

Short name describing what triggered the graph break

min/max with non-constant key

Context

Values or code snippet captured at the break point

str(keyval)

Explanation

Explanation of why the graph break was triggered

Cannot compute {self.fn.name}() whose key comparison is not a compile-time constant. Key type: {keyval.python_type()}. Most notably, Tensor or SymInt keys are unsupported, but ints work.

Hints

Hints on how to resolve the graph break

Additional Information

Click here to add Additional Info

Back to Registry