-
Notifications
You must be signed in to change notification settings - Fork 9.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Colab stuck at Building wheels for collected packages: mmcv-full #6909
Comments
same problem |
Anyone please tell how to solve this problem |
Hello
My issue has been solved
We need to follow different installation method.
…On Wed, 7 Aug, 2024, 8:30 pm TheSlender, ***@***.***> wrote:
I have the same issue. No solution found yet.
—
Reply to this email directly, view it on GitHub
<#6909 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOIY6MWTAP2T4UYHR5GRD3LZQIZBDAVCNFSM5K37XLKKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMRXGM3DQNBQGIYQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
!pip install torch==2.0.1+cu118 torchvision==0.15.2+cu118 torchaudio==2.0.2
--index-url https://download.pytorch.org/whl/cu118
import torch, torchvision
print("torch version:",torch.__version__, "cuda:",torch.cuda.is_available())
!pip install -U openmim
!mim install "mmengine>=0.7.0"
!mim install "mmcv>=2.0.0,<2.1.0"
#mmcv>=2.0.0rc4,<2.2.0
# Check mmcv installation
import mmcv
print("mmcv:",mmcv.__version__)
#This method has worked for me on google colab.
On Wed, Aug 7, 2024 at 11:49 PM 01fe19bec046 . ***@***.***>
wrote:
… Hello
My issue has been solved
We need to follow different installation method.
On Wed, 7 Aug, 2024, 8:30 pm TheSlender, ***@***.***> wrote:
> I have the same issue. No solution found yet.
>
> —
> Reply to this email directly, view it on GitHub
> <#6909 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AOIY6MWTAP2T4UYHR5GRD3LZQIZBDAVCNFSM5K37XLKKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMRXGM3DQNBQGIYQ>
> .
> You are receiving this because you commented.Message ID:
> ***@***.***>
>
|
This in fact worked. I figured the whole issue was coming from the fact that mmcv just isn't compatible with new torch versions yet (i was using torch 2.3.1+cu121 the one pre-installed in colab). |
omg this is god send mods PLEASE PLEASE ADD THIS TO THE FAQ |
Describe the bug
Colab notebook is stuck at Building wheels for collected packages: mmcv-full since about 20mins. Is this the expected behaviour?
Reproduction
Run cell number 2 of
https://github.com/open-mmlab/mmdetection/blob/master/demo/MMDet_Tutorial.ipynb
The text was updated successfully, but these errors were encountered: