GB0207

Graph-Break Type

Short name describing what triggered the graph break

sort with non-constant keys

Context

Values or code snippet captured at the break point

str(first_non_constant_key)

Explanation

Explanation of why the graph break was triggered

Cannot perform sort with non-constant key. First non-constant key type: {python_type}. Most notably, we cannot sort with Tensor or SymInt keys, but we can sort ints.

Hints

Hints on how to resolve the graph break

Additional Information

Back to Registry