CNTK
CNTK copied to clipboard
CUDA failure 77 when resizing
I was able to train a convolutional recurrent model in previous version of cntk, but now it throws this exception:
minibatchiterator: epoch 0: frames [0..74948804] (first utterance at frame 0), data subset 0 of 1, with 1 datapasses
requiredata: determined feature kind as 83-dimensional
Precomputing --> Completed.
Starting Epoch 1: learning rate per sample = 0.000250 effective momentum = 0.000000 momentum as time constant = 0.0 samples
minibatchiterator: epoch 0: frames [0..74948804] (first utterance at frame 0), data subset 0 of 1, with 1 datapasses
Starting minibatch loop.
CUDA failure 77: an illegal memory access was encountered ; GPU=2 ; hostname=sls-titan-9 ; expr=cudaFree((void*) bufferPtr)
EXCEPTION occurred: CUDA failure 77: an illegal memory access was encountered ; GPU=2 ; hostname=sls-titan-9 ; expr=cudaFree((void*) bufferPtr)
[CALL STACK]
[0x7f2cd7ab9cc7] + 0x26dcc7
[0x7f2cd7adfa9b] void Microsoft::MSR::CNTK::TracingGPUMemoryAllocator:: Free <float>(int, float*, bool) + 0x4b
[0x7f2cd7ae3c1b] Microsoft::MSR::CNTK::GPUMatrix<float>:: Resize (unsigned long, unsigned long, bool) + 0x7b
[0x7f2cd7a736c3] Microsoft::MSR::CNTK::Matrix<float>:: Resize (unsigned long, unsigned long, unsigned long, bool) + 0xc3
[0x60bc47] Microsoft::MSR::CNTK::ComputationNode<float>:: Backprop (Microsoft::MSR::CNTK::FrameRange const&, bool, bool) + 0x2d7
[0x6abf8b] Microsoft::MSR::CNTK::ComputationNetwork::PARTraversalFlowControlNode:: Backprop (Microsoft::MSR::CNTK::FrameRange const&, bool, bool) + 0x11b
[0x6adb6d] Microsoft::MSR::CNTK::ComputationNetwork:: Backprop (std::shared_ptr<Microsoft::MSR::CNTK::ComputationNodeBase>) + 0x17d
[0x75d0a6] Microsoft::MSR::CNTK::SGD<float>:: TrainOneEpoch (std::shared_ptr<Microsoft::MSR::CNTK::ComputationNetwork>, std::shared_ptr<Microsoft::MSR::CNTK::ComputationNetwork>, std::shared_ptr<Microsoft::MSR::CNTK::ComputationNodeBase> const&, int, unsigned long, Microsoft::MSR::CNTK::IDataReader*, double, unsigned long, std::vector<std::shared_ptr<Microsoft::MSR::CNTK::ComputationNodeBase>,std::allocator<std::shared_ptr<Microsoft::MSR::CNTK::ComputationNodeBase>>> const&, std::vector<std::shared_ptr<Microsoft::MSR::CNTK::ComputationNodeBase>,std::allocator<std::shared_ptr<Microsoft::MSR::CNTK::ComputationNodeBase>>> const&, std::vector<std::shared_ptr<Microsoft::MSR::CNTK::ComputationNodeBase>,std::allocator<std::shared_ptr<Microsoft::MSR::CNTK::ComputationNodeBase>>> const&, std::vector<std::shared_ptr<Microsoft::MSR::CNTK::ComputationNodeBase>,std::allocator<std::shared_ptr<Microsoft::MSR::CNTK::ComputationNodeBase>>> const&, Microsoft::MSR::CNTK::StreamMinibatchInputs*, std::lis[0x762c72] Microsoft::MSR::CNTK::SGD<float>:: TrainOrAdaptModel (int, std::shared_ptr<Microsoft::MSR::CNTK::ComputationNetwork>, bool, std::shared_ptr<Microsoft::MSR::CNTK::ComputationNetwork>, std::shared_ptr<Microsoft::MSR::CNTK::ComputationNodeBase>, Microsoft::MSR::CNTK::IDataReader*, Microsoft::MSR::CNTK::IDataReader*) + 0x15b2
[0x765180] Microsoft::MSR::CNTK::SGD<float>:: Train (std::function<std::shared_ptr<Microsoft::MSR::CNTK::ComputationNetwork> (int)>, int, Microsoft::MSR::CNTK::IDataReader*, Microsoft::MSR::CNTK::IDataReader*, bool) + 0x200
[0x76bcc8] void DoTrain <Microsoft::MSR::CNTK::ConfigParameters,float>(Microsoft::MSR::CNTK::ConfigParameters const&) + 0x3c8
[0x5d5f88] void DoCommands <float>(Microsoft::MSR::CNTK::ConfigParameters const&, std::shared_ptr<Microsoft::MSR::CNTK::MPIWrapper> const&) + 0xb08
[0x57328d] wmainOldCNTKConfig (int, wchar_t**) + 0xe4d
[0x573ae7] wmain1 (int, wchar_t**) + 0x87
[0x567558] main + 0xd8
[0x7f2cd6789ec5] __libc_start_main + 0xf5
[0x56b344]
~MPIWrapper
Any idea what happened? Thanks.
Many updates have been made to both convolution code and readers. Please try the latest bits and reopen is the problem still remains. Thanks.