From f3040beaab5228b1a9dfe5675a200379478f7204 Mon Sep 17 00:00:00 2001 From: Ian Scrivener Date: Thu, 12 Oct 2023 22:10:50 +1100 Subject: [PATCH] typo : it is `--n-gpu-layers` not `--gpu-layers` (#3592) 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