From a026b4e84bcc8e11ceaa6d9a46c7c741000aff44 Mon Sep 17 00:00:00 2001 From: Juil Park Date: Mon, 14 Apr 2025 17:21:13 +0900 Subject: [PATCH] docs: Add Notes for Installing in Intel macOS (#1377) docs: Add Notes for Intel macOS Signed-off-by: Juil Park --- docs/installation/index.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/docs/installation/index.md b/docs/installation/index.md index fec7c63..b601365 100644 --- a/docs/installation/index.md +++ b/docs/installation/index.md @@ -104,6 +104,25 @@ Works on macOS, Linux, and Windows, with support for both x86_64 and arm64 archi pip install ocrmac ``` +??? "Installation on macOS Intel (x86_64)" + + When installing Docling on macOS with Intel processors, you might encounter errors with PyTorch compatibility. + This happens because newer PyTorch versions (2.6.0+) no longer provide wheels for Intel-based Macs. + + If you're using an Intel Mac, install Docling with compatible PyTorch + **Note:** PyTorch 2.2.2 requires Python 3.12 or lower. Make sure you're not using Python 3.13+. + + ```bash + # For uv users + uv add torch==2.2.2 torchvision==0.17.2 docling + + # For pip users + pip install "docling[mac_intel]" + + # For Poetry users + poetry add docling + ``` + ## Development setup To develop Docling features, bugfixes etc., install as follows from your local clone's root dir: