Skip to content

[WIP] Introduce fork/wait frontend#12925

Closed
highker wants to merge 1 commit intopytorch:masterfrom
highker:fork-wait
Closed

[WIP] Introduce fork/wait frontend#12925
highker wants to merge 1 commit intopytorch:masterfrom
highker:fork-wait

Conversation

@highker
Copy link
Copy Markdown

@highker highker commented Oct 22, 2018

There still has remaining comments unaddressed from #12405

Add two new functions for jit script: fork and wait. fork takes a
function name together with a tuple of inputs and returns a future. wait
takes a future and return the value of the function result evaluated on
the tuple of inputs. This patch only introduces the syntax without a real
fork or wait.

@highker highker force-pushed the fork-wait branch 2 times, most recently from b628f45 to ab3f751 Compare October 22, 2018 15:55
Add two new functions for jit script: fork and wait. fork takes a
function name together with a tuple of inputs and returns a future. wait
takes a future and return the value of the function result evaluated on
the tuple of inputs. This patch only introduces the syntax without a real
fork or wait.
@highker
Copy link
Copy Markdown
Author

highker commented Oct 25, 2018

superseded by #12976

@highker highker closed this Oct 25, 2018
facebook-github-bot pushed a commit that referenced this pull request Oct 27, 2018
Summary:
Future now is an IValue. prim::Wait now is replaced by aten::wait

This PR is built on top of #12925
Pull Request resolved: #12976

Differential Revision: D10861483

Pulled By: highker

fbshipit-source-id: 9e17926a625bc502fb12335ef9ce819f25776be7
laurentdupin pushed a commit to laurentdupin/pytorch that referenced this pull request Apr 24, 2026
Summary:
Future now is an IValue. prim::Wait now is replaced by aten::wait

This PR is built on top of pytorch#12925
Pull Request resolved: pytorch#12976

Differential Revision: D10861483

Pulled By: highker

fbshipit-source-id: 9e17926a625bc502fb12335ef9ce819f25776be7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant