This is a clone of Flyte Official Example Code.
-
Install packages
pip install -r requirements.txt
-
Run the program.
pyflyte run flyte-demo.py training_workflow --hyperparameters '{"C": 0.1}'
-
Run the workflow in the cluster and then go to http://localhost:30080/console/projects/flytesnacks/domains/development/executions
pyflyte run --remote flyte-demo.py training_workflow --hyperparameters '{"C": 0.1}'