From 794ec58b75868924dea1c341c115a36b44cabf6e Mon Sep 17 00:00:00 2001 From: celsowm Date: Tue, 18 Feb 2025 06:08:28 -0300 Subject: [PATCH] Update README.md (#3024) only way to avoid: error: experimental Nix feature 'nix-command' is disabled; add '--extra-experimental-features nix-command' to enable it --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e4c4486f..b344892e 100644 --- a/README.md +++ b/README.md @@ -263,7 +263,8 @@ locally, which can take hours. After that you can run TGI with `nix run`: ```shell -nix run . -- --model-id meta-llama/Llama-3.1-8B-Instruct +cd text-generation-inference +nix run --extra-experimental-features nix-command --extra-experimental-features flakes . -- --model-idmeta-llama/Llama-3.1-8B-Instruct ``` **Note:** when you are using Nix on a non-NixOS system, you have to [make some symlinks](https://danieldk.eu/Nix-CUDA-on-non-NixOS-systems#make-runopengl-driverlib-and-symlink-the-driver-library)