Skip to content

Commit

Permalink
typo : it is --n-gpu-layers not --gpu-layers (ggerganov#3592)
Browse files Browse the repository at this point in the history
fixed a typo in the MacOS Metal run doco
  • Loading branch information
ianscrivener authored Oct 12, 2023
1 parent 1a8c879 commit f3040be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f3040be

Please sign in to comment.