-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add patch to suppress XLA:GPU logging.
PiperOrigin-RevId: 590780227
- Loading branch information
Showing
3 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/xla/service/gpu/gpu_compiler.cc b/xla/service/gpu/gpu_compiler.cc | ||
index 302879c0f..9c55820c5 100644 | ||
--- a/xla/service/gpu/gpu_compiler.cc | ||
+++ b/xla/service/gpu/gpu_compiler.cc | ||
@@ -546,7 +546,7 @@ Status GpuCompiler::OptimizeHloModule(HloModule* hlo_module, | ||
|
||
// LOG_LINES is used instead of LOG since the message can exceed the | ||
// maximum line length, which results in the message being truncated. | ||
- XLA_LOG_LINES( | ||
+ XLA_VLOG_LINES( | ||
1, absl::StrFormat("GpuCompilationEnvironment of hlo_module %s:\n%s", | ||
hlo_module->name(), debug_options.DebugString())); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters