How to use poetry in Colab? #7378
-
How to use poetry in Colab?ContextI am currently working on a team project, where we need to train neural networks. Some members are working on their local computer, and some on Colab (for GPU usage). We need to have the same dependencies. I am already familiar in using poetry on a local computer, but not on Colab, and I was wondering how to use it in Colab. So I did some tests, and I encountered some issues. Maybe I can find some answers here. Thank you in advance! 😄 Issues1st issue:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hello for everyone reading this post. I settled on a solution. The main issue was that pyproject.toml was not updated automatically, so I just decided to modify it by hand. I don't know if it is the best solution or not, but I hope it will help other people :) |
Beta Was this translation helpful? Give feedback.
Hello for everyone reading this post.
I settled on a solution. The main issue was that pyproject.toml was not updated automatically, so I just decided to modify it by hand.
Here is the steps for using poetry in Colab, whether you create your own poetry project, or cloning a repo on Github.
https://github.com/elise-chin-adway/poetry-and-colab/blob/main/Using_python_poetry_in_Google_Colab.ipynb
I don't know if it is the best solution or not, but I hope it will help other people :)