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

Adding Strictness level to PGLE accuracy checker. #17259

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

shraiysh
Copy link
Contributor

@shraiysh shraiysh commented Sep 17, 2024

Values for the new flag: xla_gpu_pgle_accuracy_checker: {OFF, WARN, ERROR}

@shraiysh shraiysh added the kokoro:force-run Forces CI to rerun label Sep 17, 2024
@kokoro-team kokoro-team removed the kokoro:force-run Forces CI to rerun label Sep 17, 2024
@NaiyerRizz NaiyerRizz self-assigned this Sep 18, 2024
Copy link
Member

@golechwierowicz golechwierowicz left a comment

Choose a reason for hiding this comment

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

Thanks for the PR!

Have we established the plan on how this is supposed to integrate with JAX? For one, I don't think this is how auto PGLE does the integration.

https://github.com/google/jax/pull/20475/files
https://github.com/openxla/xla/pull/11024/files

@jprabhas
Copy link
Contributor

How about just using a string for the flag xla_gpu_pgle_accuracy_checker that can take values {'OFF' , 'WARN', 'ERROR'}

@shraiysh shraiysh added the kokoro:force-run Forces CI to rerun label Sep 23, 2024
@kokoro-team kokoro-team removed the kokoro:force-run Forces CI to rerun label Sep 23, 2024
xla_gpu_pgle_accuracy_checker can take the values {OFF, WARN, ERROR}
and this flag decides what will be done when there are missing
instructions in PGLE profile: either do nothing (OFF), warn about it
(WARN) or halt compilation (ERROR)
@golechwierowicz
Copy link
Member

golechwierowicz commented Sep 27, 2024

Yes, enum also sounds good to me. I would also assume this would resemble what will be in JAX a little bit closer.

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.

5 participants