diff --git a/xla/service/spmd/shardy/shardy_xla_pass.cc b/xla/service/spmd/shardy/shardy_xla_pass.cc index bf31d6ca678e16..ae6fe74dc3b7ab 100644 --- a/xla/service/spmd/shardy/shardy_xla_pass.cc +++ b/xla/service/spmd/shardy/shardy_xla_pass.cc @@ -316,6 +316,9 @@ absl::StatusOr ShardyXLA::Run( if (shardyDir.empty()) { LOG(WARNING) << "\"sponge\" specified as dump directory but " "TEST_UNDECLARED_OUTPUTS_DIR is not set!"; + } else { + LOG(INFO) << "Shardy dump directory is sponge on undeclared outputs dir: " + << shardyDir; } }