Skip to content

Commit

Permalink
[1.13] Fix functorch version docs (pytorch#87392)
Browse files Browse the repository at this point in the history
The functorch docs build seems to use a build of PyTorch that is not the
RC binary to produce the documentation. This results in the version
looking like '1.13.0a??????'.

This PR just hard-codes the functorch version in the docs to be 1.13 in
the release branch.

Test Plan:
- check docs preview
  • Loading branch information
zou3519 committed Oct 21, 2022
1 parent 3ffddc0 commit 55c76ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functorch/docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
project = 'functorch'
copyright = 'PyTorch Contributors'
author = 'PyTorch Contributors'
functorch_version = str(functorch.__version__)
functorch_version = '1.13'

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
Expand Down

0 comments on commit 55c76ba

Please sign in to comment.