Commit 46fc0f71 authored by sangwzh's avatar sangwzh
Browse files

fix error at python/pytorch/dataloading/test_dataloader.py, error message:...

fix error at python/pytorch/dataloading/test_dataloader.py, error message: rank x and rank  0 on CUDA device xxx
parent 86bb5e1a
...@@ -4,7 +4,7 @@ import torch as th ...@@ -4,7 +4,7 @@ import torch as th
def cuda(): def cuda():
return th.device("cuda:0") return th.device("cuda")
def is_cuda_available(): def is_cuda_available():
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment