How to evaluate with RunTImeError

Some of the data in my dataset are too large to make one pass forward during evaluation.
In that case, my model would throw a run time error.
Is there any way to make the model ignore the error and move on to the next data point?
Thanks!

You could try to catch the exception and try to continue the code.
However, depending on the raised exception this might not be possible.