mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
Revert "Warn if AccumulateGrad stream does not match producer node stream (#165065)"
This reverts commit a70ef954b919e990ebaba715b4072e76352867bf. Reverted https://github.com/pytorch/pytorch/pull/165065 on behalf of https://github.com/izaitsevfb due to breaks lint ([comment](https://github.com/pytorch/pytorch/pull/165065#issuecomment-3391387386))
This commit is contained in:
@ -423,10 +423,8 @@ Also see {ref}`saved-tensors-hooks-doc`.
|
||||
|
||||
```{eval-rst}
|
||||
.. autofunction:: torch.autograd.graph.get_gradient_edge
|
||||
```
|
||||
|
||||
```{eval-rst}
|
||||
.. autofunction:: torch.autograd.graph.set_warn_on_accumulate_grad_stream_mismatch
|
||||
|
||||
```
|
||||
|
||||
% This module needs to be documented. Adding here in the meantime
|
||||
|
Reference in New Issue
Block a user