Skip to content

Commit e179966

Browse files
Sandeep Kumar Panifacebook-github-bot
Sandeep Kumar Pani
authored andcommitted
[caffe2][tpx] log to stderr (pytorch#42162)
Summary: Pull Request resolved: pytorch#42162 Test Plan: CI Reviewed By: mrshenli Differential Revision: D22791440 fbshipit-source-id: 14f16cd7a94a57161c5724177b518527f486232d
1 parent 0571cfd commit e179966

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/distributed/test_nccl.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818

1919
nGPUs = torch.cuda.device_count()
2020
if not TEST_CUDA:
21-
print('CUDA not available, skipping tests')
21+
import sys
22+
print('CUDA not available, skipping tests', file=sys.stderr)
2223
TestCase = object # noqa: F811
2324

2425

0 commit comments

Comments
 (0)