]> khamidou — GitHub mirrors - safetensors.git/commitdiff
Update README.md (#11)
authorNicolas Patry <patry.nicolas@protonmail.com>
Thu, 29 Sep 2022 13:21:07 +0000 (15:21 +0200)
committerGitHub <noreply@github.com>
Thu, 29 Sep 2022 13:21:07 +0000 (15:21 +0200)
* Update README.md

* Update bindings/python/README.md

Co-authored-by: Mishig Davaadorj <mishig.davaadorj@coloradocollege.edu>
Co-authored-by: Mishig Davaadorj <mishig.davaadorj@coloradocollege.edu>
bindings/python/README.md

index 1b086e13bb09c4266e7ec4d8f0c1fa046aa98935..59509b69f30e9f21b5310ea9141a1ade01651f0b 100644 (file)
@@ -42,3 +42,18 @@ save_file(tensors, "./out.bin")
 # Now loading
 loaded = load_file("./out.bin")
 ```
+
+### Installation
+
+```
+pip install setuptools_rust
+pip install -e .
+```
+Should be enough to install this library locally.
+
+### Testing
+
+```
+pip install pytest   # We don't require pytest, but it's a common library used across HF.
+pytest -sv tests/
+```