by the_duke · 5y ago · 0 comments
What I really want is a single solution, or a set of pluggable, integrated components that offer:
* training data and model storage (on top of a blob store like S3, minio, ...)
* interactive dev environments (Notebooks, dev containers, ...)
* training (with history, comparisons, parameters, ...) with experiments for parameter tuning
* serving/deploying for production
* a permission system so researchers and developers can only access what they are supposed to
* software heritage, probably via Docker images or Nix packages, combined with source code references
* (cherry on top: some kind of integrated labeling system and UI)
Right now you have to cobble this together from different tools that are all pretty suboptimal.
The big players can set up sophisticated systems, but I'm curious to hear how other startups are currently solving this.
disclaimer I am one of the authors of an open-source solution (https://github.com/polyaxon/polyaxon) that specializes in the experimentation and automation phase of the data-science lifecycle.
Our tool provides exactly the kind of abstraction you mentioned:
* Training, data operations, and interactive workspaces (https://polyaxon.com/docs/experimentation/)
* A scalable history and comparison table (https://polyaxon.com/docs/management/runs-dashboard/comparis...)
* Currently pipelines and concurrency management is on the commercial version (https://polyaxon.com/docs/automation/) but several companies use Polyaxon with other tools like Kubeflow (https://medium.com/mercari-engineering/continuous-delivery-a...) or it can be used with MetaFlow for the pipelines part.
I would really like to hear your thoughts and feedback.
Isn't that what the parent you are replying to is talking about with "Right now you have to cobble this together from different tools that are all pretty suboptimal."
If a company is already using a pipelining tool, a visualization tool, or a data management tool, Polyaxon will work and integrate with those tools seamlessly.
That being said, and I fully understand where the OP is coming from, there are several companies not interested in managing several solutions and all the complexity that comes with the infrastructure, deployment, maintenance, upgrades, user facing clients, authn/authz, permissions... Polyaxon provides the right abstractions for covering the experimentation and the automation phase.
But unfortunately, as you say, most of the pluggable tools are not very good and/or not mature enough.
Here's our attempt at model storage, experiment tracking, and software heritage: https://replicate.ai/
For interactive dev environments, Colab, Deepnote, and Streamlit are all great.
For deploying to production, Cortex mentioned in the post is great.
All are a work in progress, but I think we'll soon have a really powerful ecosystem of tools.
It seems that the "all-in" platforms are too "rigid", and all of the point solutions for the things you mentioned aren't proven enough.
That is magical thinking. I prefer best of breed solutions that integrate nicely with other best of breed solutions every day. That way if a tool doesn't suit you tomorrow, you can relatively easily swap it out for something better
Open-source:
* https://github.com/logicalclocks/hopsworks
Managed platform on AWS/Azure (with elastic compute/storage, integration with managed K8s, LDAP/AD):
We're also strictly based on Git and other Open Source formats and tools so connecting with other tools you use like Colab for IDEs or Jenkins/Kubeflow for training is super straightforward (we have examples for some)
As a new project we are still figuring out some of major topics you described.
In short, we built a data science pipeline tool that should fit well with existing workflows in machine learning and data science. We chose to embrace and integrate open source projects to create a simple and seamless experience with best in breed solutions for various tasks.
We are particularly happy with our deep integration of JupyterLab building on the excellent Jupyter Enterpise Gateway project from IBM (Codait) for connecting kernels directly to your pipelines. For scheduling we build on top of Celery combined with containerization primitives. For stable and well defined dependency management we built a small environment abstraction on top of Docker. It works really well in our experience!
Feel free to check out the project on https://github.com/orchest/orchest
Self hosting should be as easy as running about two lines of code.
https://github.com/Netflix/metaflow-tools/tree/master/aws/cl...
You are very likely going to be using a handful of tools that cover to full gamut of needs. This is heavily discussed in the blog post about an MLOps Canonical Stack and many of the tools being suggested below are included.
https://towardsdatascience.com/rise-of-the-canonical-stack-i...
This could be its own “Ask HN” thread.
* data stores: automatic download/upload to/from AWS S3, Azure Blob, Google Cloud Storage, OpenStack Swift or stores that implements S3-like interface
* interactive environments: we do have notebook hosting with automatic orchestration
* training: history, comparisons, parameters, hyperparameter tuning with Optuna, Hyperopt or custom optimizer (https://github.com/valohai/optimo); additionally visualizations about training progress and hardware resource monitoring
* serving for production: our deployments allow you to build, push, manage and monitor HTTP/S based services on Kubernetes clusters (https://docs.valohai.com/core-concepts/deployments/) but you can just as easily download your model and deploy it yourself as your use-case requires
* a permission system: we have organization management with teams and such, but your mileage may vary depending how fine grained control you need
* software heritage: all runs are containerized and how they was ran is recorded so everything is reproducible if the base image and data exist at the original source, we also keep track of data heritage (what files X were used to produce these files Y https://valohai.com/patch-notes/2019-09-03/)
* labeling system/UI: full web UI, command line client and a REST API (https://docs.valohai.com/valohai-api/) but no labeling tools though
Essentially your whole machine learning pipeline under one roof; from data preprocessing and training to deployment and monitoring. Also, we are technically agnostic, you can just as easily run Python/Julia/C++ or Unity engine to generate synthetic datasets (https://www.youtube.com/watch?v=QxMuWuk_W10)
not self-service or free though; our technical support team handles all the setup and maintenance
let me know if you have questions about Valohai or MLOps (https://valohai.com/mlops/) in general, I've seen quite a lot of projects and pipelines as I work at Valohai as an ML engineer helping our customers to setup end-to-end ML pipelines