Comments (17)
Argo team would be happy to help make this a reality.
from metaflow.
#992 has been merged. The next Metaflow release will address this issue.
from metaflow.
#992 is now available for review
from metaflow.
Ohhh my good. Thanks for this collaboration @alexec and @savingoyal !!!
from metaflow.
@nlaille : I was recently exploring building plugin support for Argo but the DAG templating seemed a little complicated to fit into Metaflow within a short amount of time.
So meanwhile I have built a plugin to support Kubernetes with isolated self packaged deployments of the runtime itself to the cluster. It will require a service-based metadata provider. It will deploy the entire workflow's runtime as a job that will orchestrate different containerized jobs. So deploying your entire flow with its container orchestration on Kubernetes becomes one command: python myflow.py --with kube:cpu=2,memory=2000,image=python:3.7 kube-deploy run --custom_param_1 hello --custom_param_2 100
It works using the @kube
decorator. Supports the same features as the batch plugin. You can even use the --with kube:cpu=2,memory=2000,image=tensorflow/tensorflow:latest-py3
.
https://github.com/valayDave/metaflow/tree/kube_cpu_stable
Documentation is in the links within that repo. The plugin is under constant development so there will be more features soon and hopefully even support Argo. But it is currently tied to S3 as its datastore and doesn't support GPUs.
Hope this helps!
from metaflow.
@savingoyal Looks like the current support for K8s is added via K8s Python API and noticed the following the doc:
Scheduling Metaflow flows on Argo
This functionality is in-flight!
How's the integration with Argo Workflows coming along?
from metaflow.
Amazing work! Looking forward to the new release!
from metaflow.
Support for Kubernetes and Argo Workflows is now available in Metaflow 2.6.0 - https://blog.argoproj.io/human-centric-data-science-on-kubernetes-with-metaflow-7f60aad34cba
from metaflow.
This is an extremely popular issue. It'd be great to see it implemented.
from metaflow.
Yay!
from metaflow.
@alexec That would be wonderful! Let me email you to set up some time.
from metaflow.
Is there any update on this? BTW, the URL for Argo Workflows has changed and the old URL does not redirect correctly. Here's the new location: https://github.com/argoproj/argo-workflows
from metaflow.
Thank you for making this possible !! 🥇
from metaflow.
Is there a plan to include it in Metaflow official repository?
from metaflow.
You can book 30m: https://calendly.com/argoproj/30m
from metaflow.
If you would like to try out and give feedback on our Kubernetes integration, please reach out at http://slack.outerbounds.co
from metaflow.
FYI we now have a low-level Python SDK officially maintained by the Argo Workflows team. It should be much easier to use it to integrate Metaflow with Argo Workflows. https://github.com/argoproj/argo-workflows/tree/master/sdks/python
from metaflow.
Related Issues (20)
- Strange inheritance behaviour of `FlowSpec` HOT 4
- Batch job in for each loop Gpu memory issue HOT 1
- Support GCP-auth for private PyPi repositories HOT 1
- running jobs with conda gives OSError: Invalid data stream HOT 4
- Bug & Fix notice: ValueError: No closing quotation HOT 1
- Question: Access hash of a card while being populated HOT 2
- Conda environment being treated as disabled, and not appending environment to PATH.
- Metaflow crashes on AWS Batch if folder called `metaflow` is present in the working directory HOT 5
- Cardview on WSL error HOT 2
- S3 access denied even if I have full access to S3
- Certain flows failing on Argo Workflows =>3.5.0 HOT 1
- Metaflow job completion or exit handlers?
- run.finished not set when using AWS Step Functions and there's an error
- setting METAFLOW_OTEL_ENDPOINT when running in ECS fargate, not Kubernetes HOT 1
- add __repr__ methods to Parameter
- create contributing guide
- "Service token file does not exist" error when deploying flow to Argo from CI HOT 1
- argo-workflows create --only-json doesn't export the cron workflow configuration
- Using `tags` as a Parameter name breaks flow. HOT 1
- Add option to batch decorator to increase ephemeralStorage on Fargate
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from metaflow.