hi, I downloaded cntk binary 1.6, but i am unable to run even the simple2d from examples using GPU.
hi, I downloaded cntk binary 1.6, but i am unable to run even the simple2d from examples using GPU. I am getting Curand 201 failure error message .. I am using GTX 1070. and have tried randomize = none. here is screen shot , what I am getting.
configparameters: Simple.cntk:traceLevel=1 <<<<<<<<<<<<<<<<<<<< PROCESSED CONFIG WITH ALL VARIABLES RESOLVED <<<<<<<<<<<<<<<<<<<< Commands: Simple_Demo_Train Simple_Demo_Test Simple_Demo_Output Precision = "float" CNTKModelPath: ../Output/Models/simple.dnn CNTKCommandTrainInfo: Simple_Demo_Train : 10 CNTKCommandTrainInfo: CNTKNoMoreCommands_Total : 10
##############################################################################
Action "train"
##############################################################################
CNTKCommandTrainBegin: Simple_Demo_Train LockDevice: Locked GPU 0 to test availability. LockDevice: Unlocked GPU 0 after testing. LockDevice: Locked GPU 1 to test availability. LockDevice: Unlocked GPU 1 after testing. LockDevice: Locked GPU 0 for exclusive use. SimpleNetworkBuilder Using GPU 0
Creating virgin network.
Microsoft::MSR::CNTK::GPUMatrix
[CALL STACK]
> Microsoft::MSR::CNTK::GPUMatrix
EXCEPTION occurred: CURAND failure 201: (see curand.h & look for curandStatus or CURAND_STATUS_xxx) ; GPU=0 ; hostname=DESKTOP-MQ49EQ4 ; expr=curandGenerateUniform(((curandGenerator_t_) s_curandGenerator)[0], reinterpret_cast<float_>(Data()), GetNumElements())
We have encountered incompatibilities between 1.6 and CUDA 8 drivers. 1.7 binaries are hopefully coming out today, which should work. (If also you self-build, you can also build them from the latest master sources, which is already up-to-date.)
Hello, I still have the same problem with 1.7 binaries, GTX1070 graphics card. Do you have any idea?
Hi, i also tried 1.7. But. Still. Same curand 201 error. But one thing for sure. Cuda 7.5 does not recognize 10 series. Gpu. And seems not compatible with newer drivers. I want to build using cuda 8. Any instructions for this would be nice to have. As existing ones are for cuda 7.5.
What is the version of the driver you are using? Also, is this Windows or Linux?
I am using 372.70-desktop-win10-64bit driver.
I tried running the example with CNTK 1.7 (binary release) on my 1080. I made sure dropout is used to ensure curand needs to be called. I can't reproduce this error. However, I am on Linux. Do you mind running the dependency walker (http://www.dependencywalker.com/) on your cntk and telling us which dll does curand resolve to?
Hi, Thank you for the info. I opened CNTK.exe with the dependency walker and I can see the following tree structure: CNTK.exe -> MATH.DLL -> CURAND64_75.DLL. I don't see any errors in the tree but I got many missing dll errors from other sub-trees (ex. API-MS-WIN-.DLL and EXT-MS-WIN-.DLL ) I've never used the dependency walker so if I missing something please let me know. Thanks!
I just tried on a Windows 10 machine with a GTX 1080 and your driver version. I was able to reproduce the failure. We will figure out a fix and get back to you.
It turns out that on Pascal GPUs curand does not work with CUDA 7.5. You need to upgrade to CUDA 8.0. Furthermore, at this point we do not provide any CNTK binaries that are built with CUDA 8.0 so you will have to compile from source. Compilation should be easy though because the necessary updates were integrated to master last week.
I am closing this issue. Feel free to reopen if you still cannot get things to work after the above steps.
With cuda 8. And build from master.. Its working. And issue resolved. Thanks a lots.
I was able to compile from source and checked it works. Thank you!