Hello guys,
I’m facing some problems, I really need pytorch with cuda activated for a univerity assignment. My laptop has a Nvidia geforce 920M so I managed to successfully (with no errors) install pytorch from source following your guide. Anyway, when I import torch the system gives me this error:
PS C:\Users\AZand_000> python
Python 3.8.5 (default, Sep  3 2020, 21:29:08) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32

Warning:
This Python interpreter is in a conda environment, but the environment has
not been activated.  Libraries may fail to load.  To activate this environment
please see https://conda.io/activation

Type "help", "copyright", "credits" or "license" for more information.
>>> import torch
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\ProgramData\Anaconda3\lib\site-packages\torch\__init__.py", line 128, in <module>
    raise err
OSError: [WinError 126] Impossibile trovare il modulo specificato. Error loading "C:\ProgramData\Anaconda3\lib\site-packages\torch\lib\caffe2_detectron_ops_gpu.dll" or one of its dependencies.

I have tried to build torch again trying to use ninja and it has built succesfully again. Anyway, it continues to give me this error. I’ve searched everywhere without success and I don’t want to build it again because it takes more then 24 hours on my laptop.
Please tell me that someone has a easy solution.