pytorch
f94f1db9 - Make some methods of RequestCallback return void instead of bool (#57849)

Commit
3 years ago
Make some methods of RequestCallback return void instead of bool (#57849) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/57849 Some methods are currently returning bool, but I'll soon want them to return a Future. I could have them return a tuple of bool and Future, but that's a bit heavy. Instead it turns out we can very easily make them return void, which will simplify things. ghstack-source-id: 129567061 Test Plan: CI Reviewed By: mrshenli Differential Revision: D28224476 fbshipit-source-id: 26dc796b7e38f03aa269cf0731b0059d58e57e94
Author
lw lw
Parents
Loading