Chidi Nweke
06/01/2023, 9:21 AMlazyAPI
?
Conceptually what I want to do is simple: I don't want to write the assets to disk because it's impossible to Pickle them.
As far as I know each DAG in the node is a different process so an in-memory file manager leads to a KeyError
.
EDIT: I could wrap a bunch of the pipeline that uses the LazyAPI
and run it synchronously using execute_in_process
with an InMemoryIOManager
. Is this the idiomatic way to do this?Zach
06/01/2023, 2:57 PMexecute_in_process
though, I think you can configure the in-memory executor on jobs and execute them through the launchpad like you normally would.Chidi Nweke
06/01/2023, 3:24 PMcollect
. This part should be one job that runs in memory in one single process. The last step can be persisted. Finally I write to the DB which can be done without an IO manager as well.
In short, there should be 3 jobs.