Skip to content

Conversation

@shino16
Copy link
Collaborator

@shino16 shino16 commented Nov 29, 2025

Closes #2737. This adds new primitives for builtin min/max. This enables keeping min/max in the computation trace instead of embedding concrete values. We also support torch.sym_min/sym_max because those are what Dynamo produces.

Copy link
Collaborator

@beverlylytle beverlylytle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support torch.sym_max/sym_min

4 participants