From 4ef0bb1fcfc6e948b8c9ac196ca5497bd2c9e157 Mon Sep 17 00:00:00 2001 From: yihong Date: Fri, 4 Apr 2025 22:58:16 +0800 Subject: [PATCH] doc: add info for macos clang errors (#16049) Signed-off-by: yihong0618 --- .../getting_started/installation/cpu/apple.inc.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/source/getting_started/installation/cpu/apple.inc.md b/docs/source/getting_started/installation/cpu/apple.inc.md index 7bc9e85ecd964..61812ead12225 100644 --- a/docs/source/getting_started/installation/cpu/apple.inc.md +++ b/docs/source/getting_started/installation/cpu/apple.inc.md @@ -12,7 +12,7 @@ There are no pre-built wheels or images for this device, so you must build vLLM - OS: `macOS Sonoma` or later - SDK: `XCode 15.4` or later with Command Line Tools -- Compiler: `Apple Clang >= 15.0.0` +- Compiler: `Apple Clang >= 15.0.0` and `Apple Clang < 17.0.0` ## Set up using Python @@ -51,6 +51,14 @@ If the build has error like the following snippet where standard C++ headers can 1 error generated. ``` +If run with error like the following snippet you need to check clang version and install a compatible version. + +```text +AttributeError: '_OpNamespace' '_C' object has no attribute 'silu_and_mul' +``` + +More information can be found in . + ## Set up using Docker ### Pre-built images