Windows版Ver2.1.0 構造自動探索時に出るエラー

232 views
Skip to first unread message

モグ

unread,
May 27, 2021, 5:10:42 AM5/27/21
to Neural Network Console Users (JP)
お世話になります。
構造自動探索時に下記のエラーが出るのですが何故なのでしょう?
Windows版Ver2.0.0では出ないので不思議です。
Windows 10 Python Ver3.6.2150.1013です。
お教えの程よろしくお願いします。

  File "C:\Users\***\Ver2.1.0\neural_network_console_210\libs\Python\lib\site-packages\nnabla\utils\cli\train.py", line 235, in _update
    o.target.backward(grad=1.0 / l_size, clear_buffer=True)
  File "_variable.pyx", line 792, in nnabla._variable.Variable.backward
RuntimeError: memory error in nbla::Memory::alloc
C:\a\w\sDeepConsolePrototype\sDeepConsolePrototype\nnabla\src\nbla\memory\memory.cpp:39
Failed `this->alloc_impl()`: class nbla::CudaMemory allocation failed.

モグ

unread,
Jun 1, 2021, 8:22:58 AM6/1/21
to Neural Network Console Users (JP)
追伸
Windows版Ver2.1.0同梱のPython Ver3.6.13150.1013にしても同じでした。

小林由幸

unread,
Jun 8, 2021, 6:11:25 AM6/8/21
to Neural Network Console Users (JP)
CudaMemory allocation failedということで、構造自動探索中にGPUのメモリ不足が発生しているようです。
基本的にGPUの使用メモリはVersion2.0→Version 2.1で大幅に削減されています。
探索の過程でGPUメモリの限界を超えるメモリを要求する構造が探索されてしまった可能性があります。

2021年6月1日火曜日 21:22:58 UTC+9 モグ:
追伸
Windows版Ver2.1.0同梱のPython Ver3.6.13150.1013にしても同じでした。

モグ

unread,
Jun 13, 2021, 5:52:59 AM6/13/21
to Neural Network Console Users (JP)
ありがとうございます。
他にもこのようなエラーも出たりもするのですが、取り敢えずはVersion2.0で事足りてますのでそちらの方を使うようにはしてもいます。
RuntimeError: value error in nbla::CgFunction::check_data_inplace
C:\a\w\sDeepConsolePrototype\sDeepConsolePrototype\nnabla\src\nbla\computation_graph\function.cpp:87
Failed `input->function_reference_count() < 2`: In-placing at a branching variable is prohibited. 0-th input data of `ReLUCudaCudnn` (depth=1) is inplaced.

Reply all
Reply to author
Forward
0 new messages