From: Mishig Date: Thu, 17 Nov 2022 10:16:11 +0000 (+0100) Subject: Add installation section (#71) X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=d18e4b14c00afabe7cb8bc3cc96c744d02d9accb;p=safetensors.git Add installation section (#71) --- diff --git a/docs/source/index.mdx b/docs/source/index.mdx index 7af7f19..f87fa38 100644 --- a/docs/source/index.mdx +++ b/docs/source/index.mdx @@ -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