-
Notifications
You must be signed in to change notification settings - Fork 201
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
Allow serialization of TensorInfo, and other safetensors classes #463
Comments
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
Any opinion on this? |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
. |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
. |
Hi @LeoDog896 , Sorry for the long wait on this. I do not understand the need for it. Why do you need to JSON representation of WASM target probably doesn't require JSON intermediary representation of the buffer, does it ? |
Feature request
Add missing derive traits for Serialize/Deserialize to TensorView (and other associated types missing these derivations)
Motivation
I am trying to return a safetensors view from its file format into JSON (for WASM bindings), and would like to not need to create a wrapper struct (especially when safetensors already imports Serde and uses its traits on a few select structs)
Your contribution
I can contribute with a PR, but I want this to be confirmed before I add it.
The text was updated successfully, but these errors were encountered: