From 74d903acca4729e6346405ba5098d19c7264960c Mon Sep 17 00:00:00 2001 From: Sijia Lu <46901221+LeonSijiaLu@users.noreply.github.com> Date: Sun, 28 Apr 2024 22:21:51 -0400 Subject: [PATCH] [Documentations] Removed invalid numberings from `troubleshooting mac` (#2174) * updated troubleshooting mac Signed-off-by: LeonSijiaLu * prepend - Signed-off-by: LeonSijiaLu --------- Signed-off-by: LeonSijiaLu --- docs/content/docs/getting-started/build.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/docs/content/docs/getting-started/build.md b/docs/content/docs/getting-started/build.md index 7e585ab3..2b69ef4e 100644 --- a/docs/content/docs/getting-started/build.md +++ b/docs/content/docs/getting-started/build.md @@ -173,10 +173,11 @@ curl http://localhost:8080/v1/chat/completions -H "Content-Type: application/jso }' ``` -#### Troublshooting mac +#### Troubleshooting mac -1. If you encounter errors regarding a missing utility metal, install `Xcode` from the App Store. -2. After the installation of Xcode, if you receive a xcrun error `'xcrun: error: unable to find utility "metal", not a developer tool or in PATH'`. You might have installed the Xcode command line tools before installing Xcode, the former one is pointing to an incomplete SDK. +- If you encounter errors regarding a missing utility metal, install `Xcode` from the App Store. + +- After the installation of Xcode, if you receive a xcrun error `'xcrun: error: unable to find utility "metal", not a developer tool or in PATH'`. You might have installed the Xcode command line tools before installing Xcode, the former one is pointing to an incomplete SDK. ``` # print /Library/Developer/CommandLineTools, if command line tools were installed in advance @@ -186,8 +187,9 @@ xcode-select --print-path sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer ``` -3. If completions are slow, ensure that `gpu-layers` in your model yaml matches the number of layers from the model in use (or simply use a high number such as 256). -4. If you a get a compile error: `error: only virtual member functions can be marked 'final'`, reinstall all the necessary brew packages, clean the build, and try again. +- If completions are slow, ensure that `gpu-layers` in your model yaml matches the number of layers from the model in use (or simply use a high number such as 256). + +- If you a get a compile error: `error: only virtual member functions can be marked 'final'`, reinstall all the necessary brew packages, clean the build, and try again. ``` # reinstall build dependencies