Open Zerycii opened 1 month ago
Hi, I am also facing the exact same issue. Did anyone find a fix?
It seems you should install "torch" before installing apex.
Hi,Maybe you could try command: pip install -v --disable-pip-version-check --no-cache-dir --no-build-isolation --global-option="--cpp_ext" --global-option="--cuda_ext" ./
git clone https://github.com/NVIDIA/apex
cd apex
# if pip >= 23.1
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
pip install -v --disable-pip-version-check --no-cache-dir --no-build-isolation --global-option="--cpp_ext" --global-option="--cuda_ext" ./
And you should make sure your torch cuda version must match the /usr/local/cuda/bin/nvcc
try this one 试试这个?apex wheels
try this one 试试这个?apex wheels
Is there a version that supports Windows?
try this one 试试这个?apex wheels
Is there a version that supports Windows?
Only Linux
DEPRECATION: --build-option and --global-option are deprecated. pip 25.0 will enforce this behaviour change. A possible replacement is to use --config-settings. Discussion can be found at https://github.com/pypa/pip/issues/11859 WARNING: Implying --no-binary=:all: due to the presence of --build-option / --global-option.
I always meet this error.Can someone help me?