This repository has been archived by the owner on Oct 11, 2024. It is now read-only.
andy-neuma triggered nightly on refs/heads/main #130
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: nm nightly | |
run-name: ${{ github.actor }} triggered nightly on ${{ github.ref }} | |
on: | |
schedule: | |
# * is a special character in YAML so you have to quote this string | |
- cron: '0 1 * * *' # nightly run | |
workflow_dispatch: | |
inputs: | |
wf_category: | |
description: "workflow category, default is NIGHTLY" | |
type: choice | |
options: | |
- NIGHTLY | |
- RELEASE | |
default: NIGHTLY | |
push_to_pypi: | |
description: "when set and tests pass, then '.whl' and '.tar.gz' will be pushed to neuralmagic pypi" | |
type: boolean | |
default: false | |
push_benchmark_results_to_gh_pages: | |
description: "when set, then all benchmarking results are published to gh-pages UI " | |
type: boolean | |
default: false | |
jobs: | |
NIGHTLY: | |
uses: ./.github/workflows/nm-build-test.yml | |
with: | |
wf_category: ${{ inputs.wf_category || 'NIGHTLY' }} | |
python: 3.10.12 | |
gitref: ${{ github.ref }} | |
push_to_pypi: ${{ github.event_name == 'schedule' || inputs.push_to_pypi }} | |
test_configs: '[{"python":"3.8.17","label":"gcp-k8s-l4-solo","test":"neuralmagic/tests/test_skip_env_vars/full.txt"}, | |
{"python":"3.9.17","label":"gcp-k8s-l4-solo","test":"neuralmagic/tests/test_skip_env_vars/full.txt"}, | |
{"python":"3.10.12","label":"gcp-k8s-l4-solo","test":"neuralmagic/tests/test_skip_env_vars/full.txt"}, | |
{"python":"3.11.4","label":"gcp-k8s-l4-solo","test":"neuralmagic/tests/test_skip_env_vars/full.txt"}]' | |
test_timeout: 720 | |
benchmark_labels: '["gcp-k8s-l4-solo", "k8s-h100-solo"]' | |
benchmark_config_list_file: ./.github/data/nm_benchmark_base_config_list.txt | |
benchmark_timeout: 480 | |
push_benchmark_results_to_gh_pages: "${{ github.event_name == 'schedule' || inputs.push_benchmark_results_to_gh_pages }}" | |
lm_eval_label: gcp-k8s-l4-solo | |
lm_eval_configuration: ./.github/lm-eval-configs/smoke-small-models.txt | |
lm_eval_timeout: 60 | |
secrets: inherit |