An open API service indexing awesome lists of open source software.

https://github.com/jbris/flyte-testing

Testing flyte
https://github.com/jbris/flyte-testing

flyte flyte-machine-learning flyte-workflow flytekit-python machine-learning mlops mlops-environment mlops-project mlops-workflow

Last synced: 7 months ago
JSON representation

Testing flyte

Awesome Lists containing this project

README

          

# flyte Testing

Testing flyte

# Install

Add flytectl:

```
curl -sL https://ctl.flyte.org/install | bash
chmod +x ./bin/flytectl
sudo mv ./bin/flytectl /usr/bin/
```

Python:

```
poetry install --no-root
poetry shell
```

# Usage

Local usage:

```
pyflyte run pipelines/hello_world.py hello_world_wf
```

Spin up cluster using Docker:

```
flytectl demo start
```

Remote usage:

```
pyflyte run --remote pipelines/hello_world.py hello_world_wf
```

Remote usage with Docker:

```
pyflyte run --remote --image ghcr.io/flyteorg/flytecookbook:pima_diabetes-latest pipelines/xgboost_regression.py house_price_predictor_trainer
```