mmcv
mmcv copied to clipboard
[Bug] Building wheels extremely slow on Google Colab (cu121, torch2.2.1)
Prerequisite
- [X] I have searched Issues and Discussions but cannot get the expected help.
- [X] The bug has not been fixed in the latest version(https://github.com/open-mmlab/mmcv).
Environment
I have tried installing from the following 2 ways:
pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu122/torch2.2.1/index.html
pip install openmim
mim install mmcv-full==1.7.2
Both hang on "Building wheels for collected packages: mmcv-full" - I don't even know if it will resolve as I have not tried running it for more than 10 minutes as Colab is expensive, and requires to reinstall dependencies each time.
Is this expected?
Reproduces the problem - code sample
pip install openmim
mim install mmcv-full==1.7.2
Reproduces the problem - command or script
pip install openmim
mim install mmcv-full==1.7.2
Reproduces the problem - error message
Building wheels for collected packages: mmcv-full
Additional information
No response
hi, you could try to install ninja
and psutil
to speed up the building process.
pip install ninja psutil
i ran into same issue but in kaggle. ninja and psutil already installed but still mmcv-full is stuck building wheels