Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pytorch3d #4

Closed
wode123 opened this issue Jun 29, 2021 · 11 comments
Closed

pytorch3d #4

wode123 opened this issue Jun 29, 2021 · 11 comments

Comments

@wode123
Copy link

wode123 commented Jun 29, 2021

Hello, mine is RTX3090, now the installation of pytorch3d error, the problem can not install nvidiacub, I custom installation can not be called, this place how do you solve?

@YudongGuo
Copy link
Owner

Hi, my environment is also 3090 with cuda version 11.2. I recommend the same cuda version and follow the steps in 'Prerequisites' part (make sure install from a local clone for pytorch3d) in a clean conda environment.

@wode123
Copy link
Author

wode123 commented Jun 29, 2021

After downloading this
curl -LO https://github.com/NVIDIA/cub/archive/1.10.0.tar.gz
tar xzf 1.10.0.tar.gz
export CUB_HOME=$PWD/cub-1.10.0
I don't know how to set it up “set before building as described above.rm -rf build/ **/*.sopip install -e .CUB_HOME”

@wode123
Copy link
Author

wode123 commented Jun 29, 2021

Can you give me a detailed installation instruction for the environment? Pytorch3d in particular

@YudongGuo
Copy link
Owner

Hi, I installed the required packages for building pytorch3d via conda:

conda install -c fvcore -c iopath -c conda-forge fvcore iopath
conda install -c bottler nvidiacub

Then built pytorch3d from a local clone.

@wode123
Copy link
Author

wode123 commented Jun 29, 2021

Hi,I installed it the same way, but in the second step, run to the general, there is a cuda error: no kernel images is available for execution on the the device problem, I suspect it is pytorch3d nvidiacub installation problem, torch cuda support ,so

@GzuPark
Copy link

GzuPark commented Jun 29, 2021

@wode123 Well, I recommend to set up nvidia-docker environment in this case. Base docker image nvcr.io/nvidia/cuda:11.1.1-cudnn8-devel-ubuntu18.04 will be fine. And just follow prerequisite step in this repo.

@wode123
Copy link
Author

wode123 commented Jul 1, 2021

Thank you very much for your valuable advice, my problem solved

@wode123
Copy link
Author

wode123 commented Jul 1, 2021

@wode123 Well, I recommend to set up nvidia-docker environment in this case. Base docker image nvcr.io/nvidia/cuda:11.1.1-cudnn8-devel-ubuntu18.04 will be fine. And just follow prerequisite step in this repo.

Thank you, your suggestion is very valuable, we are trying docker

@GzuPark
Copy link

GzuPark commented Jul 1, 2021

@wode123 your welcome.
How about share your dockerfile to @YudongGuo if your team agree?
I can share mine, but it takes time for arranging.

@YudongGuo
Copy link
Owner

@wode123 your welcome.
How about share your dockerfile to @YudongGuo if your team agree?
I can share mine, but it takes time for arranging.

Hi, thank both of you! It would be great for sharing it.

@ZziTaiLeo
Copy link

Hi! I got errors like this. I just do like what you said. My environment is also 3090 with cuda version 11.4, but cudatoolkit is 11.1
in conda environment.
image

Hi, I installed the required packages for building pytorch3d via conda:

conda install -c fvcore -c iopath -c conda-forge fvcore iopath conda install -c bottler nvidiacub

Then built pytorch3d from a local clone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants