From: Nicolas Patry Date: Thu, 29 Sep 2022 13:21:07 +0000 (+0200) Subject: Update README.md (#11) X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=4f3eccc17c766e43fa41a3288649d6028225b6d0;p=safetensors.git Update README.md (#11) * Update README.md * Update bindings/python/README.md Co-authored-by: Mishig Davaadorj Co-authored-by: Mishig Davaadorj --- diff --git a/bindings/python/README.md b/bindings/python/README.md index 1b086e1..59509b6 100644 --- a/bindings/python/README.md +++ b/bindings/python/README.md @@ -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/ +```