facebookresearch / pytorch3d

PyTorch3D is FAIR's library of reusable components for deep learning with 3D data
https://pytorch3d.org/
Other
8.7k stars 1.3k forks source link

google colab,py310_cu118_pyt210,download fail #1667

Closed ajiansoft closed 11 months ago

ajiansoft commented 11 months ago

hello! my version_str=py310_cu118_pyt210,when i run it in cloab: !pip install --no-index --no-cache-dir pytorch3d -f https://dl.fbaipublicfiles.com/pytorch3d/packaging/wheels/{version_str}/download.html it's fail: Looking in links: https://dl.fbaipublicfiles.com/pytorch3d/packaging/wheels/py310_cu118_pyt210/download.html ERROR: Could not find a version that satisfies the requirement pytorch3d (from versions: none) ERROR: No matching distribution found for pytorch3d but it worked well before,why?

ajiansoft commented 11 months ago

oh,i see,the torch version changed!

pokeshun96 commented 11 months ago

Hi Ajian,

I hope you're doing well. I came across your comment and noticed that you faced a similar issue that I'm currently experiencing with.

Since it seems you were able to resolve this issue, I was wondering if you could provide some guidance or share how you managed to fix it?

I'd really appreciate any insights or advice you can offer.

Thank you in advance for your help!

xeTaiz commented 11 months ago

I'm also having this issue in Colab. It seems we have to wait for a wheel with the py310_cu118_pyt210 combination that Colab requires at the moment. Building the stable version is somewhat cumbersome, as it requires compilation with C++17 support which requires further setup of Colab making it quite unpractical.

Would love to get an update when such wheel is uploaded :)

xeTaiz commented 11 months ago

In the meanwhile you can install the old version of PyTorch3D on top of PyTorch 2.1.0:

version_str = 'py310_cu118_pyt201'
!pip install fvcore iopath
!pip install --no-index --no-cache-dir pytorch3d -f https://dl.fbaipublicfiles.com/pytorch3d/packaging/wheels/{version_str}/download.html

@pokeshun96 There may be some issues in doing this, but so far I did not run into any ;)

pokeshun96 commented 11 months ago

@xeTaiz I really appreciate your guidance on this issue. This solution works for me!

bottler commented 11 months ago

We have just released a new version 0.7.5 and it has a build matching colab, so this should now work.

kidpaul94 commented 11 months ago

It indeed works now.