]> khamidou — GitHub mirrors - safetensors.git/commitdiff
Add installation section (#71)
authorMishig <dmishig@gmail.com>
Thu, 17 Nov 2022 10:16:11 +0000 (11:16 +0100)
committerGitHub <noreply@github.com>
Thu, 17 Nov 2022 10:16:11 +0000 (11:16 +0100)
docs/source/index.mdx

index 7af7f1957d8c733f76694fddba792d0ed116f32d..f87fa388d34e81fcc3f2d1b6a0963b0abb95c5de 100644 (file)
@@ -4,6 +4,17 @@
 
 Safetensors is a new simple format for storing tensors safely (as opposed to pickle) and that is still fast (zero-copy).
 
+## Installation
+
+with pip:
+```
+pip install safetensors
+```
+
+with conda:
+```
+conda install -c huggingface safetensors
+```
 
 ## Load tensors