Fix AssertionError(Torch not compiled with CUDA enabled) on CPU-only device#78
Fix AssertionError(Torch not compiled with CUDA enabled) on CPU-only device#78Zeqiang-Lai merged 1 commit intoOpenGVLab:mainfrom SnoopyDevelops:main
Conversation
|
I think this issue should be still open. Facing issue in line: Here, device is set to 'cuda' even if the developer has parsed --device cpu like |
Yes, you are right. The inversion could not be finished without GPU practically, so I didn't spend time for making it cpu compatible before. But since so many people facing the issue, I will take some time to fix it later. |
#51