From d81675ce188da83dd7e49cfcc39e96375793eb8d Mon Sep 17 00:00:00 2001 From: Marco Ciacco Date: Mon, 19 May 2025 14:18:44 +0100 Subject: [PATCH] fix readme.md install for newer pip --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 030fe74fd..91be91af8 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,8 @@ CUDA and C++ extensions via ```bash git clone https://github.com/NVIDIA/apex cd apex +# if pip >= 25 +pip install -v --disable-pip-version-check --no-cache-dir --no-build-isolation --config-settings "--global-option=--cpp_ext" --config-settings "--global-option=--cuda_ext" ./ # if pip >= 23.1 (ref: https://pip.pypa.io/en/stable/news/#v23-1) which supports multiple `--config-settings` with the same key... pip install -v --disable-pip-version-check --no-cache-dir --no-build-isolation --config-settings "--build-option=--cpp_ext" --config-settings "--build-option=--cuda_ext" ./ # otherwise