pytorch
a682ff7e - Add kMaxSupportedBytecodeVersion for Lite Interpreter (#59472)

Commit
4 years ago
Add kMaxSupportedBytecodeVersion for Lite Interpreter (#59472) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/59472 Previously, the lite interpreter would refuse to load any model with a version greater than kProducedBytecodeVersion. Now, we're able to independently advance the loading and saving code, so we can roll out changes without breaking forward compatibility. Test Plan: CI. Loaded a bytecode v5 model even with setting kProducedBytecodeVersion to v4. Reviewed By: raziel Differential Revision: D28904350 fbshipit-source-id: 598c22f0adf47d4ed3e976bcbebdf3959dacb1df
Author
Parents
Loading