-
Notifications
You must be signed in to change notification settings - Fork 26
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
Support direct runner (Colab support) #749
Comments
Find a gist of my PoC here: https://gist.github.com/RobbeSneyders/e0ffd2341d3a153a0ccf728266525aa0 |
What is the exact limitation of colab that makes us unable to use docker ? Is it sudo rights ? |
I believe the issue is that colab is already running in a docker container itself. Docker in docker isn't really possible unless the host is configured in a specific way as far as I know. And even then, you would be connecting to the host docker, which is not something Google wants to enable (understandably). |
I'm updating this ticket to better reflect the scope: We want to support direct execution of components via a direct runner:
This does mean that this is a new type of runner and there are some things to be solved:
Some ideas on how to proceed:
|
Fondant pipelines currently cannot be executed in Google Colab, which would be a great way for users to try out Fondant. This is due to the limitation of Google Colab to run docker.
We should investigate the best way to support this. Two options are:
VenvRunner
which executes each component in a virtual environment. For local custom components, this should be doable, but this currently won't work for reusable components. This would require changes to how we package and share reusable components, since currently only the Docker container and component spec are shared, while we would need the original source files.udocker
as a docker replacement. It's not completely a drop-in replacement though, so we should validate how feasible this is. I did a quick PoC and was able to execute a Fondant container usingudocker
directly. More changes would be needed to let Fondant useudocker
.The text was updated successfully, but these errors were encountered: