diff --git a/docs/getting_started/installation/cpu/apple.inc.md b/docs/getting_started/installation/cpu/apple.inc.md index e17823b864ce..0816f38ac68a 100644 --- a/docs/getting_started/installation/cpu/apple.inc.md +++ b/docs/getting_started/installation/cpu/apple.inc.md @@ -35,23 +35,22 @@ pip install -e . !!! note On macOS the `VLLM_TARGET_DEVICE` is automatically set to `cpu`, which currently is the only supported device. -#### Troubleshooting +!!! example "Troubleshooting" + If the build has error like the following snippet where standard C++ headers cannot be found, try to remove and reinstall your + [Command Line Tools for Xcode](https://developer.apple.com/download/all/). -If the build has error like the following snippet where standard C++ headers cannot be found, try to remove and reinstall your -[Command Line Tools for Xcode](https://developer.apple.com/download/all/). + ```text + [...] fatal error: 'map' file not found + 1 | #include + | ^~~~~ + 1 error generated. + [2/8] Building CXX object CMakeFiles/_C.dir/csrc/cpu/pos_encoding.cpp.o -```text -[...] fatal error: 'map' file not found - 1 | #include - | ^~~~~ - 1 error generated. - [2/8] Building CXX object CMakeFiles/_C.dir/csrc/cpu/pos_encoding.cpp.o - -[...] fatal error: 'cstddef' file not found - 10 | #include - | ^~~~~~~~~ - 1 error generated. -``` + [...] fatal error: 'cstddef' file not found + 10 | #include + | ^~~~~~~~~ + 1 error generated. + ``` # --8<-- [end:build-wheel-from-source] # --8<-- [start:pre-built-images]