From 4f3eccc17c766e43fa41a3288649d6028225b6d0 Mon Sep 17 00:00:00 2001 From: Nicolas Patry Date: Thu, 29 Sep 2022 15:21:07 +0200 Subject: [PATCH] Update README.md (#11) * Update README.md * Update bindings/python/README.md Co-authored-by: Mishig Davaadorj Co-authored-by: Mishig Davaadorj --- bindings/python/README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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/ +``` -- 2.43.0