Closed sanjyot21 closed 6 months ago
The code is building from source because it doesn't see the expected PyTorch. Colab has just updated from PyTorch 2.1.torch.__version__.startswith("2.1.")
.
If you change the "2.1." to "2.2." in that line it will install a built wheel and so the whole cell should evaluate quickly.
In this repo, I have just moved the stable
tag to the latest version v0.7.6
which has the "2.2.", so anyone going to the tutorials from the buttons on pytorch3d.org will not have the same problem any more. (stable
is meant to be the latest release. I delayed moving it for 0.7.6 because I saw colab had been slow to update.)
We plan to change the notebook code so that they don't need to be updated in this way, hopefully soon.
I would like to thank you for the provided solution and ask you for the updation of code on tutorial page. :)
Thanks, updated.
🐛 Bugs / Unexpected behaviors
I was executing the installation of PyTorch3D code in google colab when I encountered the following error facing from 2-3 days while running on T4 GPU.
Code ran for like more than 17 minutes and then ended up giving this error below:
I want solution to overcome this error by running the code on T4 GPU Processor in Google Colab. Also, I would like to mention that while i ran the same code on CPU in Google Colab it ran for like 29 minutes but ended up successful execution. But during the same session if ran the object renderring code, it take estimation time to run code as 14 hours for 2000 iterations.