Skip to content

remove raising on tie_break :high #79

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 18, 2025
Merged

Conversation

joelpaulkoch
Copy link
Contributor

Removes raising on tie_break: :high option in argmin and argmax to allow to run models that use this option, closes #78.

@joelpaulkoch
Copy link
Contributor Author

I just removed the raise. Not sure if we could warn in a reasonable way, simply using Logger would warn everytime the function runs, right? So I guess that's too noisy.

@polvalente
Copy link
Collaborator

Perhaps we could add that behind an EMLX-specific :warn_unsupported_option config that defaults to true.

@polvalente polvalente merged commit a020ccf into elixir-nx:main Aug 18, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Warn instead of raising in argmax for tie_break: :high
2 participants