-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vine: Function Calls Need More Consistent Method of Returning Results #3828
Comments
@btovar could you update this with the current state of things? I believe you added some transformation re buffers and disk for function calls |
Currently "task-mode" and "function-call-mode" do the same, which is to write inputs and outputs to files on disk. This means that FunctionCall does not use buffers anymore. This is the safe thing to do but may lose some of the performance of using buffers. |
It seems to me that we have two different modes of operating that need to be supported: And I will throw out the following general constraint:
Perhaps we need to reorganize the class hierarchy to better reflect that 1 is implemented as an extension around 2. |
Pulling over brief comment from Ben in #3800:
|
The dask executor uses a combination of temporary outputs and regular outputs to compute the graph. Function calls using buffers assume that the results are used immediately when the task returns, but in the dask executor they may be used once the task has gone out of scope and garbage collected.
In #3824 I change function calls to not use buffers, as that should work for all cases. However, it may hurt a bit in performance.
@tphung3 @BarrySlyDelgado @colinthomas-z80
The text was updated successfully, but these errors were encountered: