You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After installing apex 0.1, got : RuntimeError: apex.optimizers.FusedLAMB requires cuda extensions
raise RuntimeError('apex.optimizers.FusedLAMB requires cuda extensions')
RuntimeError: apex.optimizers.FusedLAMB requires cuda extensions
I tried cuda extensions and install options in the README, but it did not work:
pip3 install -v --deprecated_fused_lamb --disable-pip-version-check --no-cache-dir --no-build-isolation --global-option="--cpp_ext" --global-option="--cuda_ext" ./
Find this command in a similar issue in the GitHub: python setup.py install --cuda_ext
and got: RuntimeError: Cuda extensions are being compiled with a version of Cuda that does not match the version used to compile Pytorch binaries. Pytorch binaries were compiled with Cuda 12.1.
I have :
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2023 NVIDIA Corporation
Built on Tue_Jun_13_19:16:58_PDT_2023
Cuda compilation tools, release 12.2, V12.2.91
Build cuda_12.2.r12.2/compiler.32965470_0
import torch
torch.version
'2.4.0+cu121'
GPU: A100
Thanks for any assistance.
The text was updated successfully, but these errors were encountered:
RuntimeError: Cuda extensions are being compiled with a version of Cuda that does not match the version used to compile Pytorch binaries. Pytorch binaries were compiled with Cuda 12.1.
After installing apex 0.1, got : RuntimeError: apex.optimizers.FusedLAMB requires cuda extensions
RuntimeError: apex.optimizers.FusedLAMB requires cuda extensions
I tried cuda extensions and install options in the README, but it did not work:
pip3 install -v --deprecated_fused_lamb --disable-pip-version-check --no-cache-dir --no-build-isolation --global-option="--cpp_ext" --global-option="--cuda_ext" ./
Usage:
pip3 install [options] [package-index-options] ...
pip3 install [options] -r [package-index-options] ...
pip3 install [options] [-e] ...
pip3 install [options] [-e] ...
pip3 install [options] <archive url/path> ...
no such option: --deprecated_fused_lamb
Find this command in a similar issue in the GitHub: python setup.py install --cuda_ext
and got: RuntimeError: Cuda extensions are being compiled with a version of Cuda that does not match the version used to compile Pytorch binaries. Pytorch binaries were compiled with Cuda 12.1.
I have :
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2023 NVIDIA Corporation
Built on Tue_Jun_13_19:16:58_PDT_2023
Cuda compilation tools, release 12.2, V12.2.91
Build cuda_12.2.r12.2/compiler.32965470_0
GPU: A100
Thanks for any assistance.
The text was updated successfully, but these errors were encountered: