Commit 187b354a authored by sangwz's avatar sangwz
Browse files

Update __init__.py,'th.device("cuda") ' 会导致test_edge_softmax.py 等测例出现较多的device不匹配的报错,暂时还原

parent 46fc0f71
......@@ -4,7 +4,7 @@ import torch as th
def cuda():
return th.device("cuda")
return th.device("cuda:0")
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