Primary competition visual

Basic Needs Basic Rights Kenya - Tech4MentalHealth

Helping Kenya
$4 200 USD
Completed (over 5 years ago)
Classification
1247 joined
499 active
Starti
Apr 26, 20
Closei
Jul 05, 20
Reveali
Jul 05, 20
Nvidia/Apex installation
Data · 29 Apr 2020, 18:12 · 10

Hey everyone.

I have a problem in the installation of apex (pytorch Extension). I have tried many solutions and i ve spent hours but i did not solve it.

Any one has an idea about it?

Thanks

Discussion 10 answers
User avatar
Muhamed_Tuo
Inveniam

Are you using colab ?

29 Apr 2020, 18:15
Upvotes 0

II want to use it locally. In colab, it works fine.

User avatar
Muhamed_Tuo
Inveniam

Did you tried manually specifying the CUDA HOME directory with :

$ export CUD_HOME=/usr/local/cuda-10.1

before the "git clone " ?

Try in Colab. I was able to install successfully in Colab for some other task.

$ git clone https://github.com/NVIDIA/apex

$ cd apex

$ pip install -v --no-cache-dir --global-option="--cpp_ext" --global-option="--cuda_ext" ./

https://github.com/NVIDIA/apex

Thank you Chetan. But II want to use it locally.

User avatar
Mugisha_

Could you provide some more details about your OS, environment(pip or conda)?

29 Apr 2020, 18:41
Upvotes 0

I use windows 10 and my enviroment is conda.

User avatar
Mugisha_

If you haven't solved it already, try using conda-forge conda install -c conda-forge nvidia-apex

try this https://medium.com/datadriveninvestor/installing-pytorch-and-tensorflow-with-cuda-enabled-gpu-f747e6924779