[docs] [onnx] Update the max admissible opset_version
in the docs of torch.onnx.export
and maybe update the default opset_version
to 17 in release 2.1?
#107446
Labels
module: onnx
Related to torch.onnx
topic: docs
topic category
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
🐛 Describe the bug
Nightly docs: https://pytorch.org/docs/master/onnx.html?highlight=export#torch.onnx.export

says that the max supported
opset_version
is 16, but searching through the issues one can see that #105134 evenopset_version = 18
does not error out and oftenopset_version = 17
worksIs https://github.com/onnx/onnx/blob/main/docs/Operators.md#LayerNormalization supported by
torch.onnx.export
?Updating the default
opset_version
to 17 can help to graph compilers, as more complex ops (like LayerNorm) are natively supported starting fromopset_version = 17
The text was updated successfully, but these errors were encountered: