]> khamidou — GitHub mirrors - safetensors.git/commit
Less GIL locks speeds things up apparently ? (#31)
authorNicolas Patry <patry.nicolas@protonmail.com>
Fri, 21 Oct 2022 08:57:15 +0000 (10:57 +0200)
committerGitHub <noreply@github.com>
Fri, 21 Oct 2022 08:57:15 +0000 (10:57 +0200)
commit634deccbcbad5eaf417935281f8b3be7ebca69c5
tree461303861c7bc2b34b65e3b79aeaf8b45dd3256d
parent945abd305b1fdc8ff270f128a1027f8251ebce70
Less GIL locks speeds things up apparently ? (#31)

* Less GIL locks speeds things up apparently ?

* Fixing `.to()` which cannot be called for non PT frameworks.

* Forgot to update.

* Skipping GPU if not available.

* Fixing tests by removing filename clash.
bindings/python/py_src/safetensors/torch.py
bindings/python/src/lib.rs
bindings/python/tests/test_flax_comparison.py
bindings/python/tests/test_pt_comparison.py