mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
[functorch] Fix some lint issues (pytorch/functorch#606)
This commit is contained in:
@ -72,4 +72,4 @@ aot_function(f, ts_compiler, ts_compiler)(torch.randn(3, requires_grad=True))
|
||||
* Min-cut [recomputation](https://dev-discuss.pytorch.org/t/min-cut-optimal-recomputation-i-e-activation-checkpointing-with-aotautograd/467) with AOT Autograd.
|
||||
|
||||
## Tutorials
|
||||
You can use this [tutorial](https://pytorch.org/functorch/nightly/notebooks/aot_autograd_optimizations.html) to play with AOT Autograd.
|
||||
You can use this [tutorial](https://pytorch.org/functorch/nightly/notebooks/aot_autograd_optimizations.html) to play with AOT Autograd.
|
||||
|
@ -105,16 +105,18 @@ release = 'nightly'
|
||||
|
||||
# Customized html_title here.
|
||||
# Default is " ".join(project, release, "documentation") if not set
|
||||
# TODO: I don't know if this flag works, please check before using it
|
||||
if RELEASE:
|
||||
raise RuntimeError('NYI')
|
||||
# remove hash (start with 'a') from version number if any
|
||||
version_end = torch_version.find('a')
|
||||
if version_end == -1:
|
||||
html_title = " ".join((project, torch_version, "documentation"))
|
||||
version = torch_version
|
||||
else:
|
||||
html_title = " ".join((project, torch_version[:version_end], "documentation"))
|
||||
version = torch_version[:version_end]
|
||||
release = version
|
||||
# version_end = functorch_version.find('a')
|
||||
# if version_end == -1:
|
||||
# html_title = " ".join((project, functorch_version, "documentation"))
|
||||
# version = functorch_version
|
||||
# else:
|
||||
# html_title = " ".join((project, functorch_version[:version_end], "documentation"))
|
||||
# version = functorch_version[:version_end]
|
||||
# release = version
|
||||
|
||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||
# for a list of supported languages.
|
||||
|
@ -22,4 +22,4 @@ As a caveat, the transforms version may not be computing the exact same values a
|
||||
No verification has been done yet for this.
|
||||
|
||||
### Requirements
|
||||
These examples use Opacus version 1.0.1 and torchvision 0.11.2
|
||||
These examples use Opacus version 1.0.1 and torchvision 0.11.2
|
||||
|
Reference in New Issue
Block a user