Glow: ExecutionEngine.runBatch fails with weird error when it's run on a network compiled with Infer mode

Created on 11 Jan 2018  路  2Comments  路  Source: pytorch/glow

Reproduce: Compile with asan and execute runBatch on network compiled with Infer mode.

We should check how NN was originally compiled and throw an appropriate exception in case of incompatibility.

Upd: Make an assert instead of throwing an exception.

bug

All 2 comments

@rdzhabarov We compile the code without support for exceptions. We should crash with an assertion if we run into a bug in the program.

@rdzhabarov I spent some time refactoring runBatch, and it now has a different implementation. I did not run into problems. It been 9mo since this issue has been filed. I'll close it unless there is anything actionable that you suggest we do.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

opti-mix picture opti-mix  路  4Comments

ayermolo picture ayermolo  路  3Comments

rdzhabarov picture rdzhabarov  路  4Comments

pjaaskel picture pjaaskel  路  4Comments

mciprian13 picture mciprian13  路  4Comments