NVidia Kaolin, Anaconda Python setup, and CUDA version: Beginner’s hurdles #633
-
I saw, in other post, this particular problem is already resolved in newer versions of Kaolin. But unfortunately I am stuck with that. I am assuming this can be a mistake from my end. I am trying to run kaolin with anaconda and with Jupiter notebook. I had installed CUDA toolkit 11.8 before installing anaconda and it worked fine, that means gpu is working perfect. Basic anaconda installation as below: ENVIRONMENTAL PATH VARIABLES FOR GIT IS ADDED AS BELOW: CONDA FORGE CHANNEL SETUP: CONDA KAOLIN ENVIRONMENT SETUP: GO TO THE FOLDER CLONE GIT REPOSITORY #then go to Kaolin directory: cd kaolin git checkout v0.12.0 #Now start using master branch git checkout master ADD ENVIRONMENT VARIABLES, THIS STEP IS VERY IMPORTANT. I personally think I did something wrong here. Please correct me. set USE_CYTHON=1 now install torch, torchvision, torchaudio from CUDA 11.3 environment.pip install torch==1.12.1 torchvision==0.13.1 torchaudio==0.12.1 --extra-index-url https://download.pytorch.org/whl/cu113 Defaulting to user installation because normal site-packages is not writeable errors as below. Torch is not recognized. nvcc CUDA version is showing 11.8, which is installed in my computer, not in anaconda environment. (kaolin) C:\Users**\Documents\Projects\kaolin>torch –version (kaolin) C:\Users\TH\Documents\Projects\kaolin>nvcc –version I also tried to install via conda Please let me know what I am doing wrong. I am from c# dot net background, so I can miss something very important. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Hi @tahasid2021 , thank you for your interest in Kaolin. Here is one thing I can notice,
torch is not a command-line, this is a python module, if you want to know the version run the following:
|
Beta Was this translation helpful? Give feedback.
-
<python -c "import torch; torch.version"> So I used <# packages in environment at C:\ProgramData\Anaconda3\envs\kaolin:> <#Name Version Build Channel> I am going through another deadline, so delayed to test it. Thanks! |
Beta Was this translation helpful? Give feedback.
Hi @tahasid2021 , thank you for your interest in Kaolin.
Here is one thing I can notice,
TORCH_CUDA_ARCH_LIST=11.3
for sure is wrong as11.3
is NOT an architecture. Please unset this variable as this is typically a value you would set in exotic edge cases of cross-compilation.torch is not a command-line, this is a python module, if you want to know the version run the following: