]> khamidou — GitHub mirrors - safetensors.git/commit
Python 2.0 added a warning on ByteStorage, so using UntypedStorage (#196)
authorNicolas Patry <patry.nicolas@protonmail.com>
Fri, 17 Mar 2023 14:56:06 +0000 (15:56 +0100)
committerGitHub <noreply@github.com>
Fri, 17 Mar 2023 14:56:06 +0000 (15:56 +0100)
commit5c1d366813e46c6f9f2c71aa8b89e0c916a92b2f
tree4aa95791bb3bb59b85d3d9a413e76b3e56bdce4f
parent7488c1dace4d66c46404f90fc960f0c112d48e90
Python 2.0 added a warning on ByteStorage, so using UntypedStorage (#196)

* Python 2.0 added a warning on ByteStorage, so using UntypedStorage

directly for that version.

Small error in their docs, `size` got renamed `nbytes`.

* Remove unused work.
bindings/python/src/lib.rs