Halide
Halide copied to clipboard
The version check in serialization is not checked at the right place
We need to check the version number first, before trying to serialize or deserialize anything. Currently if you pass a serialization file of the wrong version it can just crash before the version check.
There should be a correctness test that tests loading serialization files of the wrong version and makes sure the right error is generated
Did this ever get fixed?
I believe so, I recently did something similar to the issue's description and triggered the proper check and error messages