This message was deleted.
# mlforecast
s
This message was deleted.
👀 1
j
Hey. Do you need to use the saved models in a distributed setting as well? We're currently working on adding a to_local method to the distributed mlforecast that would return a regular MLForecast instance. Would that work for your use case?
In the meantime you should be able to serialize it by removing the engine, which for dask is a dask client, e.g.
Copy code
fcst = DistributedMLForecast(...)
fcst.fit(...)
del fcst.engine
with open('fcst.pkl', 'wb') as f:
    cloudpickle.dump(fcst, f)
You'd need to attach a client when loading it back, e.g.
Copy code
with open('fcst.pkl', 'rb') as f:
    fcst = cloudpickle.load(f)
fcst.engine = Client(...)
🙌 2
f
@José Morales this solution works very well for us, thanks for a lot.
🙌 1
k
@Francisco Ospina Just wanted why are you deprecating darts again? Are the darts models not scalable enough for you or they don't perform well? Or both?