mirror of
https://github.com/zml/zml.git
synced 2026-11-16 19:11:09 +00:00
safetensor loader was segfaulting when loading metadata with an empty json array. I also rewrote some of the torch loader code to improve the readability. Notably every slice in `ops.zig` is now const. I've also realized that our strategy to load Pytorch tensor is not future proof see the warning at: https://pytorch.org/docs/stable/storage.html |
History
|
|
|---|---|---|
| .. | ||
| BUILD.bazel | ||
| main.zig | ||