mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
[static-runtime] fix one forwarding usage (#96271)
Summary: as titled Test Plan: ci Differential Revision: D43897369 Pull Request resolved: https://github.com/pytorch/pytorch/pull/96271 Approved by: https://github.com/davidberard98
This commit is contained in:
parent
3ce1e15cf7
commit
b90a9c7db2
1 changed files with 1 additions and 1 deletions
|
|
@ -1312,7 +1312,7 @@ c10::intrusive_ptr<c10::ivalue::Future> BlockRunner::run_impl_async(
|
|||
const KeywordArgs& kwargs) {
|
||||
// run the graph inline in the caller thread. Async ops will be
|
||||
// executed on taskLauncher attached to the metadata of ProcessedNodes
|
||||
c10::IValue output = run_impl(args, kwargs);
|
||||
c10::IValue output = run_impl(std::forward<IValueList>(args), kwargs);
|
||||
|
||||
// If the output is of type future, return it
|
||||
if (output.isFuture()) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue