Skip to content

Commit eb84788

Browse files
c-p-i-opytorchmergebot
authored andcommitted
[fr] change back vlog(2) to LOG(INFO) (pytorch#142441)
Summary: Change log message for future execution back from VLOG(2) to LOG(INFO). This message is useful for Flight Recorder to verify that flight recorder dumps completed successfully (or not). Test Plan: Tested manually on a mast job and noted that the INFO message was as expected. (meta only link: https://fburl.com/mlhub/iui2tpc9) ``` [trainer5]:I1208 10:21:00.772841 7528 ProcessGroupNCCL.cpp:1294] [PG ID 0 PG GUID 0(precheck) Rank 21] future is successfully executed for: Flight recorder dump in heartbeatMonitor ``` Differential Revision: D66996439 Pull Request resolved: pytorch#142441 Approved by: https://github.com/fduwjj
1 parent 6713b45 commit eb84788

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

torch/csrc/distributed/c10d/ProcessGroupNCCL.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1297,8 +1297,8 @@ bool ProcessGroupNCCL::waitForFutureOrTimeout(
12971297
try {
12981298
bool result = fut.get();
12991299
if (result) {
1300-
VLOG(2) << logPrefix()
1301-
<< "future is successfully executed for: " << futDescription;
1300+
LOG(INFO) << logPrefix()
1301+
<< "future is successfully executed for: " << futDescription;
13021302
if (log) {
13031303
data.strings["status"] = "SUCCESS";
13041304
}

0 commit comments

Comments
 (0)