Skip to content

Add mlflow system metrics. #1298

Add mlflow system metrics.

Add mlflow system metrics. #1298

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Python application
on:
push:
branches: [ "main", "309-from-307-dockerize-the-best-run-from-hpo-study" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
# container:
# image: python:33.11.9
steps:
- uses: actions/checkout@v3
- name: Test Cerebros
uses: actions/setup-python@v3
with:
python-version: "3.12" # "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
if [ -f cicd-requirements.txt ]; then pip install -r cicd-requirements.txt; fi
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
# flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
# - name: Train Cerebros Composite LLM
# run: python3 temp-train-a-generative-llm.py
# timeout-minutes: 45
# - name: HPO on LLM with Cerebros
# run: python3 llm_train_hpo_script.py # python3 train_a_generative_llm.py
# timeout-minutes: 120
# - name: Test distributed random search Ames by running
# run: python3 regression-example-ames-no-preproc.py
# - name: Test distributed random search Ames by running - Val set
# run: python3 regression-example-ames-no-preproc-val-set.py
# - name: Test image classifier - small subset of CIFAR10 # add back
# timeout-minutes: 90
# run: python3 cifar10-example.py
# - name: Phishing email detection with GPT2 embedding
# timeout-minutes: 420
# run: python3 phishing_email_detection_gpt2.py