Package: hstestaq
The control center for ML in the cloud📢Slack|  🗺️Roadmap|  🐞Report a bug|  ✍️BlogAqueduct enables you to easily define, run, and manage AI & ML tasks on any cloud infrastructure.Check out our quickstart guide! →Aqueduct is an open-source MLOps framework that allows you to write code in vanilla Python, run that code on any cloud infrastructure you'd like to use, and gain visibility into the execution and performance of your models and predictions.See what infrastructure Aqueduct works with. →Here's how you can get started:pip3installaqueduct-ml
aqueductstartHow it worksAqueduct's Python native API allows you to define ML tasks in regular Python code. You can connect Aqueduct to your existing cloud infrastructure (docs), and Aqueduct will seamlessly move your code from your laptop to the cloud or between different cloud infrastructure layers.For example, we can define a pipeline that trains a model on Kubernetes using a GPU and validates that model in AWS Lambda in a few lines of Python:@op(engine='eks-us-east-2',resources={'gpu_resource_name':'nvidia.com/gpu'})deftrain(features):returnmodel.train(features)@metric(engine='lambda-us-east-2')defvalidate(model):returnvalidation_test(model)validate(train(features))Once you publish this workflow to Aqueduct, you can see it on the UI:To see how to build your first workflow, check out ourquickstart guide! →Why Aqueduct?MLOps has become atangled mess of siloed infrastructure. Most teams need to set up and operate many different cloud infrastructure tools to run ML effectively, but these tools have disparate APIs and interoperate poorly.Aqueduct provides a single interface to running machine learning tasks on your existing cloud infrastructure — Kubernetes, Spark, Lambda, etc. From the same Python API, you can run code across any or all of these systems seamlessly and gain visibility into how your code is performing.Python-native pipeline API: Aqueduct’s API allows you define your workflows in vanilla Python, so you can get code into production quickly and effectively. No more DSLs or YAML configs to worry about.Integrated with your infrastructure: Workflows defined in Aqueduct can run on any cloud infrastructure you use, like Kubernetes, Spark, Airflow, or AWS Lambda. You can get all the benefits of Aqueduct without having to rip-and-replace your existing tooling.Centralized visibility into code, data, & metadata: Once your workflows are in production, you need to know what’s running, whether it’s working, and when it breaks. Aqueduct gives you visibility into what code, data, metrics, and metadata are generated by each workflow run, so you can have confidence that your pipelines work as expected — and know immediately when they don’t.Runs securely in your cloud: Aqueduct is fully open-source and runs in any Unix environment. It runs entirely in your cloud and on your infrastructure, so you can be confident that your data and code are secure.Overview & ExamplesThe core abstraction in Aqueduct is aWorkflow, which is a sequence ofArtifacts(data) that are transformed byOperators(compute).
The input Artifact(s) for a Workflow is typically loaded from a database, and the output Artifact(s) are typically persisted back to a database.
Each Workflow can either be run on a fixed schedule or triggered on-demand.To see Aqueduct in action on some real-world machine learning workflows, check out some of our examples:Churn EnsembleSentiment AnalysisImpute Missing Wine Data...and more!What's next?Check out ourdocumentation, where you'll find:aQuickstart Guideexample workflowsand more details oncreating workflowsIf you have questions or comments or would like to learn more about what we're
building, pleasereach out,join our Slack
channel, orstart a conversation on GitHub.
We'd love to hear from you!If you're interested in contributing, please check out ourroadmapand join the development channel inour community Slack.