When installing the MMCV, MIM will automatically retrieve the highest current CUDA, which may be different from the actual CUDA version, and there will be an error.
is not ture
mim install mmcv==2.1.0
it is ture.
mim install mmcv==2.1.0 -f https://download.openmmlab.com/mmcv/dist/cu117/torch1.13/index.html
or
pip install mmcv==2.1.0 -f https://download.openmmlab.com/mmcv/dist/cu117/torch1.13/index.html
and make sure the version of cuda and torch.
the Exception may be:
raise RuntimeError(CUDA_MISMATCH_MESSAGE, cuda_str_version, torch.version.cuda)
RuntimeError: ('The detected CUDA version (%s) mismatches the version that was used to compilePyTorch (%s). Please make sure to use the same CUDA versions.', '11.3', '12.8')
[end of output]
When installing the MMCV, MIM will automatically retrieve the highest current CUDA, which may be different from the actual CUDA version, and there will be an error.
is not ture
mim install mmcv==2.1.0
it is ture.
mim install mmcv==2.1.0 -f https://download.openmmlab.com/mmcv/dist/cu117/torch1.13/index.html
or
pip install mmcv==2.1.0 -f https://download.openmmlab.com/mmcv/dist/cu117/torch1.13/index.html
and make sure the version of cuda and torch.
the Exception may be:
raise RuntimeError(CUDA_MISMATCH_MESSAGE, cuda_str_version, torch.version.cuda)
RuntimeError: ('The detected CUDA version (%s) mismatches the version that was used to compilePyTorch (%s). Please make sure to use the same CUDA versions.', '11.3', '12.8')
[end of output]