]> khamidou — GitHub mirrors - safetensors.git/log
safetensors.git
4 years agoByteArray (to be writeable for torch support).
Nicolas Patry [Thu, 24 Feb 2022 18:27:51 +0000 (19:27 +0100)]
ByteArray (to be writeable for torch support).

4 years agoGetting something decent.
Nicolas Patry [Tue, 22 Feb 2022 16:45:50 +0000 (17:45 +0100)]
Getting something decent.

- Still a copy at the Rust/Python boundaries (ideally we need to
  std::mem::forget, and pass raw pointers to Python world to avoid the
  copy)
- Saving/Loading, use pure bytes array to avoid writing to disk, but
  that does incure more memory usage, maybe something to add later.

4 years agoInitial commit.
Nicolas Patry [Mon, 21 Feb 2022 16:49:06 +0000 (17:49 +0100)]
Initial commit.