Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/polyaxon/cli
Polyaxon Core Client & CLI to streamline MLOps
https://github.com/polyaxon/cli
data-science dataops deep-learning hyperparameter-optimization kubernetes machine-learning ml mlops pytorch scikit-learn tensorflow workflows
Last synced: about 1 month ago
JSON representation
Polyaxon Core Client & CLI to streamline MLOps
- Host: GitHub
- URL: https://github.com/polyaxon/cli
- Owner: polyaxon
- License: apache-2.0
- Created: 2017-08-18T13:25:49.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-11-14T14:07:39.000Z (about 1 month ago)
- Last Synced: 2024-11-14T15:20:13.078Z (about 1 month ago)
- Topics: data-science, dataops, deep-learning, hyperparameter-optimization, kubernetes, machine-learning, ml, mlops, pytorch, scikit-learn, tensorflow, workflows
- Language: Python
- Homepage: https://docs.polyaxon.com/
- Size: 4.71 MB
- Stars: 18
- Watchers: 4
- Forks: 17
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
[![License: Apache 2](https://img.shields.io/badge/License-apache2-blue.svg?style=flat&longCache=true)](LICENSE)
[![Polyaxon API](https://img.shields.io/docker/pulls/polyaxon/polyaxon-api)](https://hub.docker.com/r/polyaxon/polyaxon-api)
[![Slack](https://img.shields.io/badge/Slack-1.5k%20members-blue.svg?style=flat&logo=slack&longCache=true)](https://polyaxon.com/slack/)[![Docs](https://img.shields.io/badge/docs-stable-brightgreen.svg?style=flat&longCache=true)](https://polyaxon.com/docs/)
[![Release](https://img.shields.io/badge/release-v2.5.1-brightgreen.svg?longCache=true)](https://polyaxon.com/docs/releases/2-5/)
[![GitHub](https://img.shields.io/badge/issue_tracker-github-blue?style=flat&logo=github&longCache=true)](https://github.com/polyaxon/polyaxon/issues)
[![GitHub](https://img.shields.io/badge/roadmap-github-blue?style=flat&logo=github&longCache=true)](https://github.com/orgs/polyaxon/projects/5)[![CLI](https://github.com/polyaxon/cli/actions/workflows/cli.yml/badge.svg)](https://github.com/polyaxon/cli/actions/workflows/cli.yml)
[![Polyaxon](https://github.com/polyaxon/polyaxon/actions/workflows/cli.yml/badge.svg)](https://github.com/polyaxon/polyaxon/actions/workflows/cli.yml)
[![Haupt](https://github.com/polyaxon/polyaxon/actions/workflows/haupt.yml/badge.svg)](https://github.com/polyaxon/polyaxon/actions/workflows/haupt.yml)
[![Hypertune](https://github.com/polyaxon/polyaxon/actions/workflows/hypertune.yml/badge.svg)](https://github.com/polyaxon/polyaxon/actions/workflows/hypertune.yml)
[![Traceml](https://github.com/polyaxon/polyaxon/actions/workflows/traceml.yml/badge.svg)](https://github.com/polyaxon/polyaxon/actions/workflows/traceml.yml)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/90c05b6b112548c1a88b950beceacb69)](https://www.codacy.com/app/polyaxon/polyaxon?utm_source=github.com&utm_medium=referral&utm_content=polyaxon/polyaxon&utm_campaign=Badge_Grade)# Reproduce, Automate, Scale your data science
Welcome to Polyaxon, a platform for building, training, and monitoring large scale deep learning applications.
We are making a system to solve reproducibility, automation, and scalability for machine learning applications.Polyaxon deploys into any data center, cloud provider, or can be hosted and managed by Polyaxon, and it supports all the major deep learning frameworks such as Tensorflow, MXNet, Caffe, Torch, etc.
Polyaxon makes it faster, easier, and more efficient to develop deep learning applications by managing workloads with smart container and node management. And it turns GPU servers into shared, self-service resources for your team or organization.
# Install
#### TL;DR;
* Install CLI
```bash
# Install Polyaxon CLI
$ pip install -U polyaxon
```* Create a deployment
```bash
# Create a namespace
$ kubectl create namespace polyaxon# Add Polyaxon charts repo
$ helm repo add polyaxon https://charts.polyaxon.com# Deploy Polyaxon
$ polyaxon admin deploy -f config.yaml# Access API
$ polyaxon port-forward
```Please check [polyaxon installation guide](https://polyaxon.com/docs/setup/)
# Quick start
#### TL;DR;
* Start a project
```bash
# Create a project
$ polyaxon project create --name=quick-start --description='Polyaxon quick start.'
```* Train and track logs & resources
```bash
# Upload code and start experiments
$ polyaxon run -f experiment.yaml -u -l
```* Dashboard
```bash
# Start Polyaxon dashboard
$ polyaxon dashboardDashboard page will now open in your browser. Continue? [Y/n]: y
```
* Notebook
```bash
# Start Jupyter notebook for your project
$ polyaxon run --hub notebook
```
* Tensorboard
```bash
# Start TensorBoard for a run's output
$ polyaxon run --hub tensorboard -P uuid=UUID
```
Please check our [quick start guide](https://polyaxon.com/docs/intro/quick-start/) to start training your first experiment.
# Distributed job
Polyaxon supports and simplifies distributed jobs.
Depending on the framework you are using, you need to deploy the corresponding operator, adapt your code to enable the distributed training,
and update your polyaxonfile.Here are some examples of using distributed training:
* [Distributed Tensorflow](https://polyaxon.com/docs/experimentation/distributed/tf-jobs/)
* [Distributed Pytorch](https://polyaxon.com/docs/experimentation/distributed/pytorch-jobs/)
* [Distributed MPI](https://polyaxon.com/docs/experimentation/distributed/mpi-jobs/)
* [Horovod](https://polyaxon.com/integrations/horovod/)
* [Ray](https://polyaxon.com/docs/experimentation/distributed/ray-jobs/)
* [Dask](https://polyaxon.com/docs/experimentation/distributed/dask-jobs/)# Hyperparameters tuning
Polyaxon has a concept for suggesting hyperparameters and managing their results very similar to Google Vizier called experiment groups.
An experiment group in Polyaxon defines a search algorithm, a search space, and a model to train.* [Grid search](https://polyaxon.com/docs/automation/optimization-engine/grid-search/)
* [Random search](https://polyaxon.com/docs/automation/optimization-engine/random-search/)
* [Hyperband](https://polyaxon.com/docs/automation/optimization-engine/hyperband/)
* [Bayesian Optimization](https://polyaxon.com/docs/automation/optimization-engine/bayesian-optimization/)
* [Hyperopt](https://polyaxon.com/docs/automation/optimization-engine/hyperopt/)
* [Custom Iterative Optimization](https://polyaxon.com/docs/automation/optimization-engine/iterative/)# Parallel executions
You can run your processing or model training jobs in parallel, Polyaxon provides a [mapping](https://polyaxon.com/docs/automation/mapping/) abstraction to manage concurrent jobs.
# DAGs and workflows
[Polyaxon DAGs](https://polyaxon.com/docs/automation/flow-engine/) is a tool that provides container-native engine for running machine learning pipelines.
A DAG manages multiple operations with dependencies. Each operation is defined by a component runtime.
This means that operations in a DAG can be jobs, services, distributed jobs, parallel executions, or nested DAGs.# Architecture
![Polyaxon architecture](artifacts/polyaxon_architecture.png)
# Documentation
Check out our [documentation](https://polyaxon.com/docs/) to learn more about Polyaxon.
# Dashboard
Polyaxon comes with a dashboard that shows the projects and experiments created by you and your team members.
To start the dashboard, just run the following command in your terminal
```bash
$ polyaxon dashboard -y
```# Project status
Polyaxon is stable and it's running in production mode at many startups and Fortune 500 companies.
# Contributions
Please follow the contribution guide line: *[Contribute to Polyaxon](CONTRIBUTING.md)*.
# Research
If you use Polyaxon in your academic research, we would be grateful if you could cite it.
Feel free to [contact us](mailto:[email protected]), we would love to learn about your project and see how we can support your custom need.