Skip to content
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

Google Colab not working, default is now Python 3.8 #1077

Closed
akristoffersen opened this issue Dec 2, 2022 · 5 comments · Fixed by #1109
Closed

Google Colab not working, default is now Python 3.8 #1077

akristoffersen opened this issue Dec 2, 2022 · 5 comments · Fixed by #1109
Labels

Comments

@akristoffersen
Copy link
Contributor

Describe the bug
The tinycudann install is failing because Colab recently changed to python 3.8, not 3.7

To fix, we should either update the wheel or add an if-case depending on what python version colab is using right now. This would be in case the roll-out isn't immediate for everyone.

@elloza
Copy link

elloza commented Dec 3, 2022

In the meantime, you can use the runtime fallback version.

This is available from the Command Palette via the "Use fallback runtime version"

Ref: googlecolab/colabtools#3246

@vvdb101
Copy link

vvdb101 commented Dec 11, 2022

Actually, I also had to comment out the condacolab installation, simply reverting to the fallback runtime version did not work for me.

See my fixed version of the demo notebook.

The condacolab installation restarts the runtime, which falls back to Python 3.8 per default, hence the tinycudann installation still fails.

Indeed, it seems a more stable solution would be to update the tinycudann wheel. Reverting to the fallback runtime is only temporarily offered by Google Colab apparently (until mid-December from what I read), so the demo will become unusable once the transition period to Python 3.8 ends.

@akristoffersen
Copy link
Contributor Author

@PuzzleFish I just made a PR for this. I spend a good while trying to get a new wheel to work, but with no dice. But luckily the default pip install works fine. Let me know if it works for you!

@vvdb101
Copy link

vvdb101 commented Dec 12, 2022

@akristoffersen The tinycudann install works in your fix, thanks!

The only thing is that it takes considerably longer (maybe 13min longer), but given its a temporary fix I guess that's not really an issue.

Unfortunately, the notebook as a whole still fails at the data download part, though due to the unrelated issue #1062, which is, in my opinion unjustly, marked as closed. See my comment there.

@akristoffersen
Copy link
Contributor Author

The only thing is that it takes considerably longer (maybe 13min longer), but given its a temporary fix I guess that's not really an issue.

@PuzzleFish just created a PR to fix this. Had to bring the tinycuda version down to v1.5, but now its a wheel which should be much faster.

On the data downloading, we are looking into possible solutions to this outside of just reposting the data on google drive. Sorry for the delay on this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants