]> khamidou — GitHub mirrors - safetensors.git/commit
Fixing the fact that the context manager wasn't properly cleaning up after itself...
authorNicolas Patry <patry.nicolas@protonmail.com>
Thu, 19 Jan 2023 13:30:56 +0000 (14:30 +0100)
committerGitHub <noreply@github.com>
Thu, 19 Jan 2023 13:30:56 +0000 (14:30 +0100)
commita4042652348df70ddac5ade96698296365a42073
tree169e0f5af0623fd9897c78ece59ed44fc4428f71
parent613a34f4ec0a55f4dd64734f640b6aea852aaa45
Fixing the fact that the context manager wasn't properly cleaning up after itself. (#166)

* Adding failing test for windows.

* This should fail.

* Fixing Windows issue by actually dropping the rust resources.

* Making the rust module private.
bindings/python/py_src/safetensors/__init__.py
bindings/python/py_src/safetensors/numpy.py
bindings/python/py_src/safetensors/torch.py
bindings/python/setup.py
bindings/python/src/lib.rs
bindings/python/tests/test_pt_comparison.py
bindings/python/tests/test_simple.py