Skip to content

Commit

Permalink
Remove SPMD logging to indicate that we're using virtual device
Browse files Browse the repository at this point in the history
ShouldUseVirtualDevice is called pretty liberally throughout ptxla code and it creates a lot of log spam
  • Loading branch information
bhavya01 authored Dec 18, 2024
1 parent d3ed982 commit 8d4933d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions torch_xla/csrc/device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,6 @@ bool ShouldUseVirtualDevice() {
bool use_virtual_device =
runtime::sys_util::GetEnvBool("XLA_USE_SPMD", false) ||
runtime::sys_util::GetEnvBool("XLA_AUTO_SPMD", false);
if (use_virtual_device) {
TF_LOG(INFO) << "Using SPMD virtual device optimization";
}
return use_virtual_device;
}

Expand Down

0 comments on commit 8d4933d

Please sign in to comment.