1

I know I can make IPython parallel use dill instead of pickle with a direct view using

c = Client()
dv = c[:]
dv.use_dill()

But how can I enable it with dv.load_balanced_view()?

matsjoyce
  • 5,744
  • 6
  • 31
  • 38

1 Answers1

1

I think you can call use_dill on a direct view and then use a load-balanced view:

c = Client()
c.direct_view().use_dill()
v = c.load_balanced_view()
...

From the DirectView.use_dill documentation:

This calls IPython.utils.pickleutil.use_dill() here and on each engine.