]> khamidou — GitHub mirrors - safetensors.git/commit
Add PaddlePaddle backend (#176)
authoryujun <50394665+JunnYu@users.noreply.github.com>
Tue, 7 Feb 2023 14:44:54 +0000 (22:44 +0800)
committerGitHub <noreply@github.com>
Tue, 7 Feb 2023 14:44:54 +0000 (15:44 +0100)
commitc4e244ece49351ef67c8c132bf50b621133499d1
treefc0ac6a930691de94aed0d7276a58fcbdd48c4bb
parent3dc566856400ad2f3b854573327816a3360fa7ac
Add PaddlePaddle backend (#176)

* add paddle backend

* add paddle ace

* update docs

* Some modifications.

* Consistency.

* Showing Paddle format.

* donot modify lib.rs

* remove test_deserialization_safe_open test

* rm unused import

* make style

* Style.

---------

Co-authored-by: Nicolas Patry <patry.nicolas@protonmail.com>
17 files changed:
.github/workflows/python.yml
.gitignore
README.md
attacks/README.md
attacks/paddle_ace_create.py [new file with mode: 0644]
attacks/paddle_ace_get_pwned.py [new file with mode: 0644]
bindings/python/benches/test_paddle.py [new file with mode: 0644]
bindings/python/py_src/safetensors/__init__.py
bindings/python/py_src/safetensors/paddle.py [new file with mode: 0644]
bindings/python/setup.cfg
bindings/python/setup.py
bindings/python/tests/test_paddle_comparison.py [new file with mode: 0644]
bindings/python/tests/test_pt_comparison.py
bindings/python/tests/test_simple.py
safetensors/Cargo.toml
safetensors/README.md
safetensors/src/lib.rs