Bump the bytecode reading version kMaxSupportedBytecodeVersion to 6 (#59714)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/59714
Bytecode v6 is on implicit operator versioning through number of specified arguments. Both the read and write codes are available. This PR is to enable reading v6 models. The default writing format is not changed yet and will be bumped in a later PR.
Test: CI.
Local: change the writing version to 6 temporally and run the unit tests in LiteInterpreterTest. There are a number of end-to-end tests to write v6 bytecode, read and run it.
Test Plan: Imported from OSS
Reviewed By: raziel, cccclai
Differential Revision: D29007538
Pulled By: iseeyuan
fbshipit-source-id: cb089d5d4c5b26c5b5cd3a5e0954e8c7c4c69aac