Coder Social home page Coder Social logo

Comments (17)

alexec avatar alexec commented on May 17, 2024 15

Argo team would be happy to help make this a reality.

from metaflow.

savingoyal avatar savingoyal commented on May 17, 2024 7

#992 has been merged. The next Metaflow release will address this issue.

from metaflow.

savingoyal avatar savingoyal commented on May 17, 2024 6

#992 is now available for review

from metaflow.

repocho avatar repocho commented on May 17, 2024 5

Ohhh my good. Thanks for this collaboration @alexec and @savingoyal !!!

from metaflow.

valayDave avatar valayDave commented on May 17, 2024 4

@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.

terrytangyuan avatar terrytangyuan commented on May 17, 2024 4

@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.

terrytangyuan avatar terrytangyuan commented on May 17, 2024 4

Amazing work! Looking forward to the new release!

from metaflow.

savingoyal avatar savingoyal commented on May 17, 2024 4

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.

alexec avatar alexec commented on May 17, 2024 2

This is an extremely popular issue. It'd be great to see it implemented.

from metaflow.

alexec avatar alexec commented on May 17, 2024 2

Yay!

from metaflow.

savingoyal avatar savingoyal commented on May 17, 2024 1

@alexec That would be wonderful! Let me email you to set up some time.

from metaflow.

terrytangyuan avatar terrytangyuan commented on May 17, 2024 1

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.

repocho avatar repocho commented on May 17, 2024 1

Thank you for making this possible !! 🥇

from metaflow.

repocho avatar repocho commented on May 17, 2024

Is there a plan to include it in Metaflow official repository?

from metaflow.

alexec avatar alexec commented on May 17, 2024

You can book 30m: https://calendly.com/argoproj/30m

from metaflow.

savingoyal avatar savingoyal commented on May 17, 2024

If you would like to try out and give feedback on our Kubernetes integration, please reach out at http://slack.outerbounds.co

from metaflow.

terrytangyuan avatar terrytangyuan commented on May 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.