Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我知道我可以让 IPython 并行使用 dill 而不是 pickle 直接查看使用
c = Client() dv = c[:] dv.use_dill()
但是我怎样才能启用它dv.load_balanced_view()呢?
dv.load_balanced_view()
我认为您可以调用use_dill直接视图,然后使用负载平衡视图:
use_dill
c = Client() c.direct_view().use_dill() v = c.load_balanced_view() ...
从DirectView.use_dill文档:
这会在此处和每个引擎上调用 IPython.utils.pickleutil.use_dill()。