]> khamidou — GitHub mirrors - safetensors.git/commit
feat: Supporting big endian architecture. (#310)
authorNicolas Patry <patry.nicolas@protonmail.com>
Mon, 7 Aug 2023 12:53:19 +0000 (14:53 +0200)
committerGitHub <noreply@github.com>
Mon, 7 Aug 2023 12:53:19 +0000 (14:53 +0200)
commita4d2ddae3341a1210846a31145561f3de4178b53
treec1b6fdc63a65e7c70ad2b655640c8e9d3530a8cc
parenta01ff65dfbb66e5334e143b44242a93a2ece10eb
feat: Supporting big endian architecture. (#310)

* Supporting big endian architecture.

`byteswap` before saving and `byteswap` on read.

* Specify platform ?

* Revert "Specify platform ?"

This reverts commit 8d82bbd15374d066eb2578a00f38c7dc91b83f74.

* GH

* With cache ?

* Switch driver for cache ?

* Push

* Using internal registry

* Fix build push.

* Add platform ?

* PlatformS
.dockerignore [new file with mode: 0644]
.github/workflows/python.yml
Dockerfile.s390x.test [new file with mode: 0644]
bindings/python/py_src/safetensors/numpy.py
bindings/python/py_src/safetensors/torch.py
bindings/python/src/lib.rs
bindings/python/tests/test_pt_comparison.py
bindings/python/tests/test_simple.py