m_sModel.to(d_ptr->m_sDevice) failed;
13718413797 opened this issue · 0 comments
Exception:PyTorch is not linked with support for cuda devices
Exception raised from getDeviceGuardImpl at C:\w\b\windows\pytorch\c10/core/impl/DeviceGuardImplInterface.h:318 (most recent call first):
00007FF837049A1A00007FF837048AA0 c10.dll!c10::detail::LogAPIUsageFakeReturn [ @ ]
00007FF83704957A00007FF837048AA0 c10.dll!c10::detail::LogAPIUsageFakeReturn [ @ ]
00007FF83704A78100007FF837048AA0 c10.dll!c10::detail::LogAPIUsageFakeReturn [ @ ]
00007FF83704A3A500007FF837048AA0 c10.dll!c10::detail::LogAPIUsageFakeReturn [ @ ]
00007FF837047FAF00007FF837047F40 c10.dll!c10::Error::Error [ @ ]
00007FF8370467D600007FF837046710 c10.dll!c10::detail::torchCheckFail [ @ ]
00007FFFDACDE90B00007FFFDACDE650 torch_cpu.dll!at::Context::getDeviceFromPtr [ @ ]
00007FFFDB5CA2BE00007FFFDB5C9AA0 torch_cpu.dll!at::native::view_dtype [ @ ]
00007FFFDB5C965900007FFFDB5C95C0 torch_cpu.dll!at::native::to [ @ ]
00007FFFDC64E0E600007FFFDC63C710 torch_cpu.dll!at::compositeimplicitautograd::unflatten_dense_tensors [ @ ]
00007FFFDC83742300007FFFDC63C710 torch_cpu.dll!at::compositeimplicitautograd::unflatten_dense_tensors [ @ ]
00007FFFDC8A123E00007FFFDC63C710 torch_cpu.dll!at::compositeimplicitautograd::unflatten_dense_tensors [ @ ]
00007FFFDBCE341500007FFFDBC2FB10 torch_cpu.dll!at::_ops::flatten_dense_tensors::redispatch [ @ ]
00007FFFDBCCBD3900007FFFDBC2FB10 torch_cpu.dll!at::_ops::flatten_dense_tensors::redispatch [ @ ]
00007FFFDBCCBBBF00007FFFDBC2FB10 torch_cpu.dll!at::_ops::flatten_dense_tensors::redispatch [ @ ]
00007FFFDBD5866100007FFFDBC2FB10 torch_cpu.dll!at::_ops::flatten_dense_tensors::redispatch [ @ ]
00007FFFDBC197FF00007FFFDBC19720 torch_cpu.dll!at::_ops::to_device::call [ @ ]
00007FFFDAD2677600007FFFDAD26700 torch_cpu.dll!at::Tensor::to [ @ ]
00007FFFE023055E00007FFFE022F0B0 torch_cpu.dll!torch::jit::getInlineEverythingMode [ @ ]
00007FFFE022E9F400007FFFE022E920 torch_cpu.dll!torch::jit::Module::to_impl [ @ ]
00007FFFE022B80200007FFFE022B7A0 torch_cpu.dll!torch::jit::Module::to [ @ ]
00007FF721C0516000007FF721C04E30 matting-pc.exe!main_test [D:\backpackage\vs\pytorch-matting\matting-pc\matting-pc\testTorch.cpp @ 42]
00007FF721BD70B800007FF721BD7070 matting-pc.exe!main [D:\backpackage\vs\pytorch-matting\matting-pc\matting-pc\matting-pc.cpp @ 11]
00007FF721C0E43900007FF721C0E400 matting-pc.exe!invoke_main [d:\agent_work\4\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl @ 79]
00007FF721C0E31E00007FF721C0E1F0 matting-pc.exe!__scrt_common_main_seh [d:\agent_work\4\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl @ 288]
00007FF721C0E1DE00007FF721C0E1D0 matting-pc.exe!__scrt_common_main [d:\agent_work\4\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl @ 331]
00007FF721C0E4CE00007FF721C0E4C0 matting-pc.exe!mainCRTStartup [d:\agent_work\4\s\src\vctools\crt\vcstartup\src\startup\exe_main.cpp @ 17]
00007FF8A0E2703400007FF8A0E27020 KERNEL32.DLL!BaseThreadInitThunk [ @ ]
00007FF8A226265100007FF8A2262630 ntdll.dll!RtlUserThreadStart [ @ ]