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

Implement multi-tensor parameter save/load facilities #690

Open
mdekstrand opened this issue Mar 31, 2025 · 0 comments
Open

Implement multi-tensor parameter save/load facilities #690

mdekstrand opened this issue Mar 31, 2025 · 0 comments
Labels
components LensKit recommendation components data Data management support.

Comments

@mdekstrand
Copy link
Member

To fully support model saving (#687), we need functions to save parameters, probably in the form of a dictionary mapping names to tensors.

We can't just use safetensors or zarr out of the box, because LensKit supports multiple different tensor backends, and each component needs its tensors in the correct format. We can use one (or both) of these libraries, but with additional metadata on the form a tensor should take when deserialized.

Currently leaning to towards zarr, either directly or via Google TensorStore.

@mdekstrand mdekstrand added components LensKit recommendation components data Data management support. labels Mar 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
components LensKit recommendation components data Data management support.
Projects
None yet
Development

No branches or pull requests

1 participant