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

[GPU][NFC] Improve error messages. #18948

Closed
wants to merge 1 commit into from
Closed

Conversation

sergachev
Copy link
Contributor

No description provided.

@sergachev sergachev requested a review from loislo November 1, 2024 12:04
@sergachev sergachev requested a review from bchetioui November 4, 2024 10:28
@@ -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()
Copy link
Member

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?

Copy link
Contributor Author

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 ...".

Copy link
Member

Choose a reason for hiding this comment

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

Thanks!

copybara-service bot pushed a commit that referenced this pull request Nov 5, 2024
Imported from GitHub PR #18948

Copybara import of the project:

--
80e717c by Ilia Sergachev <isergachev@nvidia.com>:

[GPU][NFC] Improve error messages.

Merging this change closes #18948

FUTURE_COPYBARA_INTEGRATE_REVIEW=#18948 from openxla:improve_error_messages 80e717c
PiperOrigin-RevId: 693279083
copybara-service bot pushed a commit to tensorflow/tensorflow that referenced this pull request Nov 5, 2024
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
@copybara-service copybara-service bot closed this in cab79f8 Nov 5, 2024
copybara-service bot pushed a commit to tensorflow/tensorflow that referenced this pull request Nov 5, 2024
…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
copybara-service bot pushed a commit to tensorflow/tensorflow that referenced this pull request Nov 5, 2024
…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
copybara-service bot pushed a commit to tensorflow/tensorflow that referenced this pull request Nov 5, 2024
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
copybara-service bot pushed a commit to tensorflow/tensorflow that referenced this pull request Nov 5, 2024
FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#18948 from openxla:improve_error_messages 80e717c39e8a120cca974dca9f473d817d3a3457
PiperOrigin-RevId: 693242323
copybara-service bot pushed a commit to tensorflow/tensorflow that referenced this pull request Nov 5, 2024
FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#18948 from openxla:improve_error_messages 80e717c39e8a120cca974dca9f473d817d3a3457
PiperOrigin-RevId: 693295239
copybara-service bot pushed a commit to tensorflow/tensorflow that referenced this pull request Nov 5, 2024
FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#18948 from openxla:improve_error_messages 80e717c39e8a120cca974dca9f473d817d3a3457
PiperOrigin-RevId: 692583711
@sergachev sergachev deleted the improve_error_messages branch November 6, 2024 00:04
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.

2 participants