Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/cudamatrix/cu-allocator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -521,11 +521,13 @@ void CuMemoryAllocator::AllocateNewRegion(size_t size) {
<< "switching the GPUs to exclusive mode (nvidia-smi -c 3) and using "
<< "the option --use-gpu=wait to scripts like "
<< "steps/nnet3/chain/train.py. Memory info: "
<< mem_info;
<< mem_info
<< " CUDA error: '" << cudaGetErrorString(e) << "'";
} else {
KALDI_ERR << "Failed to allocate a memory region of " << region_size
<< " bytes. Possibly smaller minibatch size would help. "
<< "Memory info: " << mem_info;
<< "Memory info: " << mem_info
<< " CUDA error: '" << cudaGetErrorString(e) << "'";
}
}
// this_num_subregions would be approximately 'opts_.num_subregions' if
Expand Down