Skip to content
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

dialects: (stablehlo) add stablehlo.precision #3089

Merged
merged 1 commit into from
Aug 23, 2024
Merged

Conversation

superlopuh
Copy link
Member

One of the attributes necessary to express dot products

CC @efferifick

@superlopuh superlopuh added the dialects Changes on the dialects label Aug 23, 2024
@superlopuh superlopuh self-assigned this Aug 23, 2024
@superlopuh superlopuh force-pushed the sasha/jax/precision branch from 3968a1d to 415cf11 Compare August 23, 2024 14:27
XLA precision for an operand. Has backend specific meaning.
"""

DEFAULT = "DEFAULT"
Copy link
Collaborator

Choose a reason for hiding this comment

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

I believe you could use auto() here

Copy link
Member Author

Choose a reason for hiding this comment

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

For some reason it made the string lowercase and my test failed

Copy link
Member Author

Choose a reason for hiding this comment

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

# | Expected default, HIGH, or HIGHEST.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Yep, documentation seems to say that auto lowercases

Copy link

codecov bot commented Aug 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.88%. Comparing base (f456693) to head (415cf11).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3089   +/-   ##
=======================================
  Coverage   89.87%   89.88%           
=======================================
  Files         418      418           
  Lines       52952    52959    +7     
  Branches     8214     8215    +1     
=======================================
+ Hits        47593    47602    +9     
+ Misses       4028     4027    -1     
+ Partials     1331     1330    -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@superlopuh superlopuh merged commit b55fadc into main Aug 23, 2024
14 checks passed
@superlopuh superlopuh deleted the sasha/jax/precision branch August 23, 2024 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dialects Changes on the dialects
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants