mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
[caffe2][tpx] log to stderr (#42162)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/42162 Test Plan: CI Reviewed By: mrshenli Differential Revision: D22791440 fbshipit-source-id: 14f16cd7a94a57161c5724177b518527f486232d
This commit is contained in:
parent
0571cfd875
commit
e179966248
1 changed files with 2 additions and 1 deletions
|
|
@ -18,7 +18,8 @@ load_tests = load_tests
|
|||
|
||||
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
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue