CHORE icon indicating copy to clipboard operation
CHORE copied to clipboard

Invalid device ordinal

Open ahaemhumright opened this issue 2 years ago • 5 comments

Hi. Thanks for the great work. I'm trying to test your code on my own data. Unfortunately, I met an error when I run the demo.py, as shown below. image My environment is nvidia RTX 3090ti with cuda 11.3 and pytorch 1.10. I am wondering whether it is a cuda version problem and if it is, can this code run on RTX 30xx device (Since RTX 3090ti could only fit cuda version 11+)?

Thank you.

ahaemhumright avatar Dec 12 '22 12:12 ahaemhumright

Hi,

I did not try RTX30xx devices but I think the env should work with cuda 11.0, but with a lower torch version. Maybe you can try to reinstall the mesh intersection lib with a torch of 1.6/1.7?

Best,

xiexh20 avatar Dec 12 '22 18:12 xiexh20

Hi, It seems that the mesh intersection lib doesn't work well with torch1.7 and cuda11.0

lnykyks avatar Feb 06 '23 07:02 lnykyks

I tried torch1.11.0+cu113. Works for me

jellyheadandrew avatar May 27 '23 20:05 jellyheadandrew

@jellyheadandrew what's your gpu configuration

lnykyks avatar Jun 05 '23 09:06 lnykyks

I used RTX3090

jellyheadandrew avatar Jun 06 '23 03:06 jellyheadandrew