emoca icon indicating copy to clipboard operation
emoca copied to clipboard

RuntimeError: Not compiled with GPU support

Open XD666 opened this issue 4 years ago • 3 comments

Anyone encounters this issue when running test_emoca_on_video.py?

/work36_cu11/lib/python3.6/site-packages/pytorch3d/renderer/mesh/rasterize_meshes.py", line 320, in forward cull_backfaces, RuntimeError: Not compiled with GPU support

I searched it looks like the pytorch3d issue but I have pytorch3D 0.6 installed.

XD666 avatar Sep 28 '22 06:09 XD666

Your pytorch or pytorch3d is not compiled with GPU support. Compile it with GPU support or install the version that has it. Of course you also need a compatible GPU for that

On Wed, Sep 28, 2022, 08:30 XD666 @.***> wrote:

Anyone encounters this issue when running test_emoca_on_video.py?

/work36_cu11/lib/python3.6/site-packages/pytorch3d/renderer/mesh/rasterize_meshes.py", line 320, in forward cull_backfaces, RuntimeError: Not compiled with GPU support

I searched it looks like the pytorch3d issue but I have pytorch3D 0.6 installed.

— Reply to this email directly, view it on GitHub https://github.com/radekd91/emoca/issues/27, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA7MKHMYLHPYEIT3BJ2HJMTWAPQWTANCNFSM6AAAAAAQXOBC4Y . You are receiving this because you are subscribed to this thread.Message ID: @.***>

radekd91 avatar Sep 28 '22 08:09 radekd91

Hi @radekd91 thanks for your comment! I installed PyTorch with GPU version (1.91) which is verified by running the following torch.cuda.is_available()) == True

As for pytoch3d, how can I check if GPU version? I re-run the installation by pip install git+https://github.com/facebookresearch/[email protected]

And I can see the pytorch3d version is 0.6.

FYR: my GPU is 3090, and Driver Version: 515.65.01 CUDA Version: 11.7

It still happens the issue any other suggestion/solution?

XD666 avatar Sep 29 '22 06:09 XD666

Solved by re-install CUDA and ADD CUDA_HOME path to bashrc.

Then pip uninstall pytorch3d and re-install by pip install git+https://github.com/facebookresearch/[email protected]

XD666 avatar Oct 03 '22 22:10 XD666