[export] Update custom ops docs (#110492)

Updating the doc links in the custom ops documentation in export
Pull Request resolved: https://github.com/pytorch/pytorch/pull/110492
Approved by: https://github.com/avikchaudhuri
This commit is contained in:
angelayi 2023-10-09 23:40:35 +00:00 committed by PyTorch MergeBot
parent 28d7d7fc42
commit 3704bf4ee8

View file

@ -521,9 +521,13 @@ When tracing, a META implementation (or "meta kernel") is required for all
operators. This is used to reason about the input/output shapes for this
operator.
Note that the official API for registering custom meta kernels for custom ops is
currently undergoing development. While the final API is being refined, you can
refer to the documentation `here <https://docs.google.com/document/d/1GgvOe7C8_NVOMLOCwDaYV1mXXyHMXY7ExoewHqooxrs/edit#heading=h.64r4npvq0w0>`_.
To register a meta kernel for a C++ Custom Operator, please refer to
`this documentation <https://docs.google.com/document/d/1_W62p8WJOQQUzPsJYa7s701JXt0qf2OfLub2sbkHOaU/edit#heading=h.ahugy69p2jmz>`__.
The official API for registering custom meta kernels for custom ops implemented
in python is currently undergoing development. While the final API is being
refined, you can refer to the documentation
`here <https://docs.google.com/document/d/1GgvOe7C8_NVOMLOCwDaYV1mXXyHMXY7ExoewHqooxrs/edit#heading=h.64r4npvq0w0>`_.
In the unfortunate case where your model uses an ATen operator that is does not
have a meta kernel implementation yet, please file an issue.