Hi,
I'm trying to use napkinXC under ray, which relies pickle for data serialization.
It seems that napkinXC models cannot be pickled.
For instance,
import pickle
from napkinxc.models import PLT
model = PLT('/tmp/something/')
pickle.dump(model, open('/tmp/some-pickle.pkl', 'wb'))
gives:
TypeError: cannot pickle 'napkinxc._napkinxc.CPPModel' object.
Is there any workaround or any plan to support pickling for this issue?
Hi,
I'm trying to use napkinXC under ray, which relies
picklefor data serialization.It seems that napkinXC models cannot be pickled.
For instance,
gives:
Is there any workaround or any plan to support pickling for this issue?