From: Mishig Date: Fri, 18 Nov 2022 13:15:53 +0000 (+0100) Subject: [docs] Fixes the colab btn on speed page (#91) X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=a8e324da16898d246e63c76873de0c32560bbec6;p=safetensors.git [docs] Fixes the colab btn on speed page (#91) --- diff --git a/docs/source/speed.mdx b/docs/source/speed.mdx index 456de16..660486d 100644 --- a/docs/source/speed.mdx +++ b/docs/source/speed.mdx @@ -2,13 +2,19 @@ # Speed Comparison -[[open-in-colab]] + + Open In Colab + `Safetensors` is really fast. Let's compare it against `PyTorch` by loading [gpt2](https://huggingface.co/gpt2) weights. To run the [GPU benchmark](#gpu-benchmark), make sure your machine has GPU or you have selected `GPU runtime` if you are using Google Colab. Before you begin, make sure you have all the necessary libraries installed: -```bash +```py !pip install safetensors huggingface_hub torch ```