[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: ability to serialize and deserialize state #32

Open
brianchirls opened this issue Dec 11, 2019 · 5 comments
Open

Feature request: ability to serialize and deserialize state #32

brianchirls opened this issue Dec 11, 2019 · 5 comments

Comments

@brianchirls
Copy link

Since fitting large data sets can take quite a long time, it would be useful to be able to save the state to disk or elsewhere in memory so computation can be resumed elsewhere.

A couple use cases:

  1. Resume asynchronous fitting if process needs to abort before it's done.
  2. Save results of fitting in a database so additional points can be transformed later, on other devices or in a parallel process (see Investigate using a web worker? #11).

Thanks

@brianchirls
Copy link
Author

Extra bonus points if it can be serialized as an array buffer so the data can be transferred between workers rather than copied. But I realize that's a big ask.

@cannoneyed
Copy link
Member

Yeah, I've thought about this a bit... I think it's worth doing. I'll try to prioritize this moving forward.

@alistairheath
Copy link

Was this ever solved or a solution suggested? I've tried a number of serialisation libraries with no luck.

@higsch
Copy link
higsch commented Dec 2, 2023

Is there any progress here?

@r03ert0
Copy link
r03ert0 commented Apr 20, 2024

did anyone manage to do the serialization/deserialization?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants