Add initial documentation for JIT#11357
Conversation
apaszke
left a comment
There was a problem hiding this comment.
Looks great. A bunch of suggestions, but should be good to go.
docs/source/jit.rst
Outdated
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
docs/source/jit.rst
Outdated
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
docs/source/jit.rst
Outdated
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
docs/source/jit.rst
Outdated
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
docs/source/jit.rst
Outdated
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
torch/jit/__init__.py
Outdated
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
torch/jit/__init__.py
Outdated
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
docs/source/jit.rst
Outdated
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
torch/jit/supported_ops.py
Outdated
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
torch/jit/supported_ops.py
Outdated
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
95925e9 to
52c7307
Compare
facebook-github-bot
left a comment
There was a problem hiding this comment.
zdevito has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
Summary: In addition to documentation, this cleans up a few error message formats. It also adds infra to find which operators are supported by the JIT automatically, which is then used in the generation of the docs. The wording and formatting of the docs is not yet polished, but having this will allow our document writers to make faster progress. Followup PRs will polish the docs and fix formatting issues. Pull Request resolved: pytorch#11357 Differential Revision: D9721277 Pulled By: zdevito fbshipit-source-id: 153a0d5be1efb314511bcfc0cec48643d78ea48b
In addition to documentation, this cleans up a few error message formats.
It also adds infra to find which operators are supported by the JIT automatically, which is then used in the generation of the docs.
The wording and formatting of the docs is not yet polished, but having this will allow our document writers to make faster progress.
Followup PRs will polish the docs and fix formatting issues.