Type "help", "copyright", "credits" or "license" for more information. home/senecawolf/miniconda3/envs/pytorch/bin/python Thank you for all your help! conda info -envs Only in Python2 do I have access to the GPU. I find that in my newly fabricated conda environment I don’t have access to the GPU. I don’t know if this is too much to look at, but here is a bit of an interactive session I had just now trying some of the above commands. Version seen is newer than what you intended).Įxport PYTHONPATH=/usr/lib/python3/dist-packages:$ (NOTE: There may be conflicts if you do not have a package in Anaconda and the only You can set the PYTHONPATH so Anaconda can see the system installed software.(below is a example yaml).Ĭonda env create -f. You can have a YAML file to save what you have also.Pytorch has a handy tool to help with the ‘mix-and-match’ depending on your needs:Ĭonda install pytorch torchvision torchaudio cudatoolkit=11.1 -c pytorch -c nvidia.So either you would need to install the cuda-toolkit you want or set the PYTHONPATH to see the system installed software. Remember Anaconda changes your search paths and ignores the system installed software. I do not see cuda-toolkit installed above.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |