-
Notifications
You must be signed in to change notification settings - Fork 124
PyTorch Failed to Build #4
Comments
Is it possible to paste the full output of the command? The last page or two might be informative too if it's hard for you to get the full output. The logs don't seem to be useful for me, most of it is compiling test programs to see if a compiler feature exists. Alternatively, you can check the PyTorch issues to see if you can find anything similar to your case. |
Unfortunately, some of the output gets cut off because there is so much, but here is what I can access after the command finishes running. -- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core] CMake Warning at cmake/External/nnpack.cmake:21 (message): CMake Warning at cmake/Dependencies.cmake:205 (message): -- Found PythonInterp: E:/ProgramData/Anaconda3/python.exe (found version "3.7")
Call Stack (most recent call first): -- Found cuDNN: v? (include: =/, library: =/)
|
It looks like the same error here. We will document that you apparently need to install cudnn, we were not aware PyTorch had this bug on windows :( |
Following the guide at https://torchcraft.github.io/TorchCraftAI/docs/install-windows.html, I am getting an error when running the command "python setup.py build". I am running the command form the pytorch folder. Both CUDA 10 and CUDA 9 with patches are installed (I've been told that CUDA 10 is not compatible, but originally the link to CUDA brought me to version 10).
This is the last output of the command:
-- Configuring incomplete, errors occurred!
See also "E:/Program Files (x86)/BWAPI/CherryPi/TorchCraftAI/3rdparty/pytorch/build/CMakeFiles/CMakeOutput.log".
See also "E:/Program Files (x86)/BWAPI/CherryPi/TorchCraftAI/3rdparty/pytorch/build/CMakeFiles/CMakeError.log".
(base) E:\Program Files (x86)\BWAPI\CherryPi\TorchCraftAI\3rdparty\pytorch\build>IF ERRORLEVEL 1 exit 1
Failed to run 'tools\build_pytorch_libs.bat --use-cuda --use-fbgemm --use-nnpack --use-mkldnn --use-qnnpack caffe2'
Attached are the two log files mentioned in the error output.
CMakeError.log
CMakeOutput.log
The text was updated successfully, but these errors were encountered: