Skip to content

Commit

Permalink
Schedule nightly models ops test and clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
chandrasekaranpradeep committed Feb 26, 2025
1 parent 8f3fb49 commit c2368b1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/on-nightly-models-ops.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,8 @@ name: On Nightly Models Ops

on:
workflow_dispatch:
# Temporarily disabled the scheduled run configuration because there are currently no tests
# marked with 'nightly_models_ops' in main branch. When model ops tests are added, uncomment the schedule below to
# automatically run them at 02:00 AM UTC every day.
# schedule:
# - cron: '0 2 * * *' # Runs at 02:00 AM UTC every day
schedule:
- cron: '0 2 * * *' # Runs at 02:00 AM UTC every day

jobs:
docker-build:
Expand Down
2 changes: 1 addition & 1 deletion forge/forge/tvm_unique_op_generation.py
Original file line number Diff line number Diff line change
Expand Up @@ -1094,7 +1094,7 @@ def generate_models_ops_test(unique_operations: UniqueOperations, models_ops_tes
pytest_metadata_list.append(pytest_metadata)

# List of marker that will added at the top of the test function
markers = ["push"]
markers = ["nightly_models_ops"]

# To avoid recording pcc in record_property pytest fixture and add the pcc to the exclude metadata property list
exclude_record_property = ["pcc"]
Expand Down
2 changes: 0 additions & 2 deletions scripts/model_analysis/models_ops_test_failure_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -867,8 +867,6 @@ def extract_data_from_report(report_file_path: str):
return models_ops_test_update_info


# python scripts/model_analysis/models_ops_test_failure_update.py --log_files ci_logs/pytest_1.log ci_logs/pytest_2.log ci_logs/pytest_3.log ci_logs/pytest_4.log
# python scripts/model_analysis/models_ops_test_failure_update.py --report_file_path model_ops_tests_report.xlsx --use_report
def main():
"""
Main function to update model ops tests based on pytest log failures.
Expand Down

0 comments on commit c2368b1

Please sign in to comment.