diff --git a/.github/workflows/update_test_file_ratings.yml b/.github/workflows/update_test_file_ratings.yml index 4979551faf..eec4ecee7e 100644 --- a/.github/workflows/update_test_file_ratings.yml +++ b/.github/workflows/update_test_file_ratings.yml @@ -43,10 +43,10 @@ jobs: - name: Generate file test ratings run: | - python3 test-infra/tools/torchci/td/calculate_file_test_rating.py - python3 test-infra/tools/torchci/td/td_heuristic_historical_edited_files.py + python3 test-infra/tools/torchci/torchci/td/calculate_file_test_rating.py + python3 test-infra/tools/torchci/torchci/td/td_heuristic_historical_edited_files.py # Do not run this one, it won't change - # python3 test-infra/tools/torchci/td/td_heuristic_profiling.py + # python3 test-infra/tools/torchci/torchci/td/td_heuristic_profiling.py env: ROCKSET_API_KEY: ${{ secrets.ROCKSET_API_KEY }} diff --git a/tools/torchci/README.md b/tools/torchci/README.md index c860e54f91..b79d6d629f 100644 --- a/tools/torchci/README.md +++ b/tools/torchci/README.md @@ -2,7 +2,7 @@ This is meant to contain all the random python scripts we make for things like TD, alerting, revert tracking, etc. It was originally located in torchci/scripts but moved to here to separate the -python from the javascript/typescript. +python "packaging" from the javascript/typescript. To run these files without needing to modify `sys.path` in each file, either 1. Run `pip install -e .` from within `tools/torchci`. The `-e` is important.