-
Notifications
You must be signed in to change notification settings - Fork 123
build cherrypi on windows : cmake command fail #2
Comments
This suggest to me that you somehow built pytorch without CUDA support, while TorchCraftAI thinks you do have CUDA. I wonder if there's something strange with your CUDA installation? Alternatively, try to make sure PyTorch builds with CUDA support. |
@ebetica
and cd dir pytorch, run
and after a long time, it was successfull without error.(I installed CUDA10.0 first time, but failled to build the pytorch.) Did I make some mistake? |
I installed the Patch 1 of cuda9.2, and rebuilded pytorch, It failed...
huu~~ it's a hard work. I hope there is a release package easy to install. |
If you can give me your full pytorch and TorchcraftAI build log, I might be able to help in more depth. The second error you pasted suggests to me you don't have anaconda in your environment, since mkl was installed above in |
@ebetica |
I want to ask if you have built this environment, I have encountered a lot of problems that cannot be solved. |
Hey, For the windows build, we use the Windows 10 / CUDA 9.2. With / without patches shouldn't matter. |
@dexterju I did not install CUDA. Is this the main reason for my pytorch error? The reason for its error is 'tool sbui1d pytorch_ 1ibs. Bat --use-fbgemn --use-mnpack. Use-mkldnn -use-qnpack caffe2 |
Do you have anaconda installed ? and do the conda install command as described in the tutorial? Btw what you pasted here is not an error, it just tells you this bat file failed to run, it should give more information on why it fails, do you have it? |
@koalarun MKL is the Intel library for fast CPU numerical evaluations. It should not be affected by which version of CUDA you run. Actually I think the easiest way to set things up is to compile TorchCraftAI on a Linux machine. You can either run OpenBW with a 4.20 bot, or use a windows VM to run StarCraft. We do not really use Windows to develop, so we don't know the kinks of the build process as well as we know the Linux setup process. |
@dexterju @ebetica thank you for your replies. Today I look at the build pytorch error carefully, and I find the cmake error is when build the caffe2:
and I open the cuda.cmake file, the code from 120-123 is
I doubt the logic in cuda.cmake for check whether use cudnn may be not right?
The parameter CUDNN_FOUND is not defined, and it only appear here. So the CAFFE2_USE_CUDNN is always ON. Now I run the huuu~~The newest version of VS2017 is not compatible with CUDA9.2,so I uninstall CUDA9.2, install CUDA10.0 and rebuild again. Oh, another new error....
and there is no more information... |
@koalarun I got the same mistake with you. |
@koalarun I feel that you have some left over build files from the last run. Try |
I delete the build directory and run the command 'python setup.py clean', but it's useless, the error is also "there was an error in verifying the lgenfe output!". |
Could this explain the issue? pytorch/pytorch#12117 I'm not exactly sure what the fix is, since we don't observe it on our machines... It sounds like 9.2 + older VS2017 is the way to go? |
May be I'll wait the CUDA10.1 release... |
I run the full command in the installation guid
and the error happened:
So the follow command "msbuild CherryPi.sln /property:Configuration=Release /m” is also failled.
The text was updated successfully, but these errors were encountered: