-
Notifications
You must be signed in to change notification settings - Fork 773
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
Feat: Add the option to use shell with the metaflow python Runner #2067
base: master
Are you sure you want to change the base?
Feat: Add the option to use shell with the metaflow python Runner #2067
Conversation
@HarryAnkers, do you have a reproducible example that demonstrates the speed-up? We don't set |
@savingoyal thanks for the reply. Yes here's a two file setup that shows this issue test.py
workflow.py
To run this setup run test.py |
Hi,
Raising a pr to allow the subprocesses to be executed directly through the shell.
Locally this had a massive performance improvement for an extreamly lightweight flow for me.
18.618823051452637
to
3.2076590061187744
I'm not 100% on where the increase comes from. I suspect this is as the shell is caching python instead of directly executing it each time.
Thank you