Skip to content

Files

This branch is 26944 commits behind pytorch/pytorch:main.

stats

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jun 14, 2022
Jun 24, 2021
Mar 30, 2023
Jul 28, 2022
Feb 14, 2023
Mar 15, 2023
Oct 29, 2022
Mar 27, 2023
Apr 4, 2023
Jul 13, 2022
Mar 15, 2023
Apr 5, 2023
Mar 30, 2023

PyTorch CI Stats

We track various stats about each CI job.

  1. Jobs upload their artifacts to an intermediate data store (either GitHub Actions artifacts or S3, depending on what permissions the job has). Example: https://github.com/pytorch/pytorch/blob/a9f6a35a33308f3be2413cc5c866baec5cfe3ba1/.github/workflows/_linux-build.yml#L144-L151
  2. When a workflow completes, a workflow_run event triggers upload-test-stats.yml.
  3. upload-test-stats downloads the raw stats from the intermediate data store and uploads them as JSON to Rockset, our metrics backend.
Loading
graph LR
    J1[Job with AWS creds<br>e.g. linux, win] --raw stats--> S3[(AWS S3)]
    J2[Job w/o AWS creds<br>e.g. mac] --raw stats--> GHA[(GH artifacts)]

    S3 --> uts[upload-test-stats.yml]
    GHA --> uts

    uts --json--> R[(Rockset)]

Why this weird indirection? Because writing to Rockset requires special permissions which, for security reasons, we do not want to give to pull request CI. Instead, we implemented GitHub's recommended pattern for cases like this.

For more details about what stats we export, check out upload-test-stats.yml