Skip to content

Commit

Permalink
[caffe2][tpx] log to stderr (pytorch#42162)
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: pytorch#42162

Test Plan: CI

Reviewed By: mrshenli

Differential Revision: D22791440

fbshipit-source-id: 14f16cd7a94a57161c5724177b518527f486232d
  • Loading branch information
Sandeep Kumar Pani authored and facebook-github-bot committed Jul 28, 2020
1 parent 0571cfd commit e179966
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/distributed/test_nccl.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@

nGPUs = torch.cuda.device_count()
if not TEST_CUDA:
print('CUDA not available, skipping tests')
import sys
print('CUDA not available, skipping tests', file=sys.stderr)
TestCase = object # noqa: F811


Expand Down

0 comments on commit e179966

Please sign in to comment.