pytorch
587d453b - [TensorPipe] Ignore expected errors (#39182)

Commit
4 years ago
[TensorPipe] Ignore expected errors (#39182) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/39182 When the TensorPipe context is closed and joined, all pending callbacks are invoked with an error of type PipeClosedError. This is normal and expected, and should not be logged. There is still one log that should be addressed, namely when an incoming pipe from a remote worker dies after we have joined, which I still need to address. That will require some type of "signal" from the remote worker that the shutdown is intentional, for example sending an empty packet? ghstack-source-id: 104837024 Test Plan: Logs become less spammy. Differential Revision: D21703036 fbshipit-source-id: 0a2f9985032b9f1aaf7d2b129ce6d577f13062a4
Author
lw lw
Parents
Loading