From 7fa960ec38db7f4cbe39d1e433465f9bbb35dce7 Mon Sep 17 00:00:00 2001 From: celsowm Date: Fri, 14 Feb 2025 12:22:50 -0300 Subject: [PATCH] Update README.md 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)