-
Notifications
You must be signed in to change notification settings - Fork 470
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
[GPU][NFC] Improve error messages. #18948
Conversation
@@ -1039,7 +1039,7 @@ GemmFusionAutotunerImpl::CompileAll(AutotunerCompileUtil& compile_util, | |||
absl::StatusOr<bool> has_executable = | |||
compile(fusion, config, gemm_config_set.size() > 1); | |||
TF_CHECK_OK(has_executable.status()) | |||
<< "Failure occured when compiling fusion " << fusion->name() | |||
<< " - Failure occured when compiling fusion " << fusion->name() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Curious why this is better?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Currently it prints without a space, something like "Unknown instructionFailure occured when ...".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Imported from GitHub PR openxla/xla#18948 Copybara import of the project: -- 80e717c39e8a120cca974dca9f473d817d3a3457 by Ilia Sergachev <isergachev@nvidia.com>: [GPU][NFC] Improve error messages. Merging this change closes #18948 FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#18948 from openxla:improve_error_messages 80e717c39e8a120cca974dca9f473d817d3a3457 PiperOrigin-RevId: 693279083
…eadable. This CL moves the code that measures the performance of a candidate into a separate function. This makes the code more readable and easier to follow. FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#18948 from openxla:improve_error_messages 80e717c39e8a120cca974dca9f473d817d3a3457 PiperOrigin-RevId: 692981497
…s much as possible. This is particularly useful in FSDP/HSDP where gradient propagation can be done fully in the i+1th iteration. It takes the responsibility of the user to set the `xla_gpu_all_reduce_combine_threshold_bytes` by themselves. FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#18948 from openxla:improve_error_messages 80e717c39e8a120cca974dca9f473d817d3a3457 PiperOrigin-RevId: 689310865
Imported from GitHub PR openxla/xla#18948 Copybara import of the project: -- 80e717c39e8a120cca974dca9f473d817d3a3457 by Ilia Sergachev <isergachev@nvidia.com>: [GPU][NFC] Improve error messages. Merging this change closes #18948 PiperOrigin-RevId: 693291127
FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#18948 from openxla:improve_error_messages 80e717c39e8a120cca974dca9f473d817d3a3457 PiperOrigin-RevId: 693242323
FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#18948 from openxla:improve_error_messages 80e717c39e8a120cca974dca9f473d817d3a3457 PiperOrigin-RevId: 693295239
FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#18948 from openxla:improve_error_messages 80e717c39e8a120cca974dca9f473d817d3a3457 PiperOrigin-RevId: 692583711
No description provided.