mmhuman3d icon indicating copy to clipboard operation
mmhuman3d copied to clipboard

mmcv version for cuda11.7+pytorch 1.13

Open RayShing opened this issue 2 years ago • 2 comments

Hello, I am using cuda 11.7 and pytorch 1.13. Based on the documentation, I install mmcv 2.0 image

However, when I run the demo, it asks me to install lower version of it. But it seems it is incompileable with my current torch and cuda version. How to address this problem?

image

RayShing avatar Aug 15 '23 16:08 RayShing

Hi, if you want to use the demo inference code, I suggest you to use a older version of cuda and pytorch to use mmcv 1.7.x.

There are some syntax changes in MMCV 2.0.x, so the inference code would not be compatiable.

For using mmhuman3d with MMCV 2.0.x, you can refer to this PR which simply waive the version check in __init__.py. In this way, i think several minor bug fixes are required for the inference code to support MMCV 2.0.x.

Wei-Chen-hub avatar Aug 16 '23 09:08 Wei-Chen-hub

Hi, if you want to use the demo inference code, I suggest you to use a older version of cuda and pytorch to use mmcv 1.7.x.

There are some syntax changes in MMCV 2.0.x, so the inference code would not be compatiable.

For using mmhuman3d with MMCV 2.0.x, you can refer to this PR which simply waive the version check in init.py. In this way, i think several minor bug fixes are required for the inference code to support MMCV 2.0.x.

Thanks! I just moved to my old PC with 1070GPU + 10.2 CUDA. My current PC has 3080 GPU. I am not sure whether it supports old version of cuda and pytorch. I will check that later if I have time.

RayShing avatar Aug 17 '23 00:08 RayShing