CLI to turn DS scripts to composable pipelines.
Project description
mlopscli 🚀
A CLI tool to turn DS Python scripts + YAML config into an executable ML pipeline.
Usage
- Write your scripts focussing on different steps in ML Lifecyle (
data_prep.py,train_model.py,evaluate_model.py) - Define them in a
job_order.yamlwith the dependencies. - Install the mlops cli :
pip install mlopscli - Run the CLI command.
Commands Available
- Spin up a streamlit dashboard where the metadata of all the runs will be available.
mlopscli dashboard
- Dry Run the pipeline to ensure Job Config is valid. Validations like dependencies, file paths are checked during dry run
mlopscli dry-run --job prepare_train_pipeline --job_config job_order.yaml
- Execute the pipeline and get results
mlopscli execute --job prepare_train_pipeline --job_config job_order.yaml --observe
--observe : If passed, the resource consumption like CPU/Memory usage will be calculated for each step.
⚠️ NOTE :
- If the environments already exists, it is not recreated.
- Once the DAG is prepared, the steps in the same level are ran in parallel.
- Clean up Environments
mlopscli cleanup --step-name train
--step-name : If passed, the environment associated with the input step is deleted.
mlopscli cleanup --all
--all : If passed, all the environments are cleaned up.
Quick Demo
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mlopscli-0.1.4.tar.gz.
File metadata
- Download URL: mlopscli-0.1.4.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.2 CPython/3.11.0 Darwin/24.4.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b4d39cdf56935fbdf48ce81404c5d85b99e2268db1c59e3ba83822d1457d5d36
|
|
| MD5 |
83549103437703ea1268d91d358e8941
|
|
| BLAKE2b-256 |
517c558a557af74e729978bcfd5ad8074db54f46fe2044dc7445f483d05c7438
|
File details
Details for the file mlopscli-0.1.4-py3-none-any.whl.
File metadata
- Download URL: mlopscli-0.1.4-py3-none-any.whl
- Upload date:
- Size: 9.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.2 CPython/3.11.0 Darwin/24.4.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6581d42e8fd81d7797497dc4fda10816405ac2be0638bbc37813a326dbd6d672
|
|
| MD5 |
e064cff7e7f86d3231cc9dfd02078f08
|
|
| BLAKE2b-256 |
2b19b7781844ccaef21d068b7d44ab60fad8423aa7c2cf92f07d76c3eeff209a
|