From 228a0f854523c768627dd546285b5a81ce4a8c00 Mon Sep 17 00:00:00 2001 From: Ian Scrivener Date: Thu, 12 Oct 2023 14:34:40 +1100 Subject: [PATCH] typo: it is `--n-gpu-layers` not `--gpu-layers` fixed a typo in the MacOS Metal run doco --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0f1fd7565..60f14a1fb 100644 --- a/README.md +++ b/README.md @@ -279,7 +279,7 @@ In order to build llama.cpp you have three different options. On MacOS, Metal is enabled by default. Using Metal makes the computation run on the GPU. To disable the Metal build at compile time use the `LLAMA_NO_METAL=1` flag or the `LLAMA_METAL=OFF` cmake option. -When built with Metal support, you can explicitly disable GPU inference with the `--gpu-layers|-ngl 0` command-line +When built with Metal support, you can explicitly disable GPU inference with the `--n-gpu-layers|-ngl 0` command-line argument. ### MPI Build