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

is it possible compile on 2080Ti? #57

Open
AlgorithmicIntelligence opened this issue Mar 5, 2020 · 8 comments
Open

is it possible compile on 2080Ti? #57

AlgorithmicIntelligence opened this issue Mar 5, 2020 · 8 comments

Comments

@AlgorithmicIntelligence
Copy link

I've been tried many the version of pytorch, eventually, it's success at 0.4.0. But it seems pytorch 0.4.0 not compatible with cuda 10.0, and 2080Ti need cuda >= 10.0.

So I want to know is anybody successful run it on 2080Ti?

@igygi
Copy link

igygi commented Mar 28, 2020

You can try building the environment using conda. Try this for your torch installation:

conda install pytorch=0.4.0 cuda90 -c pytorch. From my experience, this works with 2080Ti.

@ZY-Zeng
Copy link

ZY-Zeng commented Oct 26, 2020

I have a same problem about 2080Ti and try building the environment that you said. But it not works.
So, can you give me more detail information about your environment. (The version of all packages)
Thank thank thank you !!!

@igygi
Copy link

igygi commented Oct 27, 2020

What error are you encountering when building the environment?

Here are the steps I took to build my environment:

1. Create a conda environment for PANet with python version 3.6: $ conda create -n <env-name> python=3.6.8
2. Activate the conda environment: $ conda activate <env-name>
3. Install the required packages:
cython			$ conda install cython
matplotlib		$ conda install matplotlib
scipy			$ conda install scipy
opencv			$ conda install -c conda-forge opencv
pyyaml			$ conda install pyyaml
packaging		$ conda install packaging
pycocotools		$ conda install -c hcc pycocotools
tensorboardX		$ conda install -c conda-forge tensorboardx
pandas			$ conda install pandas
pytorch 0.4.0		$ conda install pytorch=0.4.0 cuda90 -c pytorch
torchvision 0.2.1		$ conda install torchvision=0.2.1

Note: Make sure to install pytorch 0.4.0 with cuda 9.0 support. The command specified above should accomplish this.
	
4. Go to the lib directory inside the PANet folder: 
$ cd PANet
$ cd lib
5. Edit make.sh file and uncomment the line -gencode arch=compute_70,code=sm_70 "
5. Run sh make.sh

@ZY-Zeng
Copy link

ZY-Zeng commented Oct 27, 2020

@igygi Well! Very very very thank you for your timely reply. I will try it in the afternoon.

@ZY-Zeng
Copy link

ZY-Zeng commented Oct 27, 2020

cool!!!!! It works! Thank you very much again!!!

@lixiuyu-cumt
Copy link

@ZY-Zeng @igygi I have the same question, I want to know whether you install the cuda9.0? ,or you just use the commad "conda install pytorch=0.4.0 cuda90 -c pytorch" and not install cuda9.0?

@ZY-Zeng
Copy link

ZY-Zeng commented Jul 23, 2021

@ZY-Zeng @igygi I have the same question, I want to know whether you install the cuda9.0? ,or you just use the commad "conda install pytorch=0.4.0 cuda90 -c pytorch" and not install cuda9.0?

Of course. You need install cuda 9.0 before creation of environment.

@lixiuyu-cumt
Copy link

@ZY-Zeng @igygi I have the same question, I want to know whether you install the cuda9.0? ,or you just use the commad "conda install pytorch=0.4.0 cuda90 -c pytorch" and not install cuda9.0?

Of course. You need install cuda 9.0 before creation of environment.

I installed cuda 9.0 after creating the environment, and I followed the steps step by step installation.But I encountered the question

"THCudaCheck FAIL file=/opt/conda/conda-bld/pytorch_1524586445097/work/aten/src/THC/THCGeneral.cpp line=844 error=11 : invalid argument
cudaCheckError() failed : no kernel image is available for execution on the device
"
Has this ever happened to you? Have you installed the correspoding cudnn?Maybe RTX2080Ti is not compatible with CUDA9.0?

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