marian-nmt / marian-dev

Fast Neural Machine Translation in C++ - development repository
https://marian-nmt.github.io
Other
247 stars 123 forks source link

Setting optimizer-delay to 0 prevents makes the trainining process stall with no error #988

Open XapaJIaMnu opened 1 year ago

XapaJIaMnu commented 1 year ago

Feature description

If the user mistakenly sets opmitzer-delay: 0 , training will just freeze with no errors, making it very difficult to debug. We should have a vocal ABORT statement that points the user to the issue.