typo : it is --n-gpu-layers not --gpu-layers (#3592)

fixed a typo in the MacOS Metal run doco
This commit is contained in:
Ian Scrivener 2023-10-12 22:10:50 +11:00 committed by GitHub
parent 1a8c8795d6
commit f3040beaab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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