Closed StpMax closed 5 months ago
Interesting benchmarks @StpMax, I think in general this is expected (source).
I do remember there was a reason we moved from pickle
to dill
at some point a couple years ago. I want to say it had to do with the confidence module, but I will double check. We now include this module within Lightwood, so there is a chance we can make pickle
the new default. Alternatively, we can try the option recommended in the link above byref=True
to benchmark against pickle
as a middle ground.
@StpMax is this still relevant? If we really need the extra performance gains, we can look into merging this. Otherwise I would close it, as indeed some of the classes in our confidence module require dill
(pickle
breaks it).
@paxcema let close it for now
I noticed that
pickle
works much faster thandill
when dump model. Results for model dump (regular home_rentals):Model load is equal:
What is the reasons to use
dill
? If there is no reason, then @paxcema can you please confirm results on your pc, and if it also faster, then may be changedill
topickle
?