cuda runtime error (63) : OS call failed or operation not supported on this OS

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/jacke121/article/details/88650558

cuda runtime error (63) : OS call failed or operation not supported on this OS

Traceback (most recent call last):
  File "D:\ProgramData\Miniconda3\lib\multiprocessing\queues.py", line 234, in _feed
    obj = _ForkingPickler.dumps(obj)
  File "D:\ProgramData\Miniconda3\lib\multiprocessing\reduction.py", line 51, in dumps
    cls(buf, protocol).dump(obj)
  File "D:\ProgramData\Miniconda3\lib\site-packages\torch\multiprocessing\reductions.py", line 109, in reduce_tensor
    (device, handle, storage_size, storage_offset) = storage._share_cuda_()
RuntimeError: cuda runtime error (63) : OS call failed or operation not supported on this OS at c:\new-builder_3\win-wheel\pytorch\torch\csrc\generic\StorageSharing.cpp:231

原因:把tensor插入到进程队列中了。

猜你喜欢

转载自blog.csdn.net/jacke121/article/details/88650558
os