-
Notifications
You must be signed in to change notification settings - Fork 106
Add a GHA to upload benchmark results #5742
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
|
What tables do our runners have access to? It seems a bit weird that they can upload to dynamodb |
Oh, the test job is in dry-run mode, it doesn't insert anything. I'm creating a GHA role atm for this |
|
@clee2000 Here is the role https://github.com/pytorch-labs/pytorch-gha-infra/pull/483, plz help do a quick review there |
Summary: This PR adds a job to upload Android benchmark results to the benchmark database. It transforms the `benchmark_results.json` file slightly to fit into the current schema. We are going to have a better schema soon https://fburl.com/gdoc/ossgtvte, but landing this first would unblock the work on building the dashboard before the launch. Updating the schema can be done later. * The job processes what it finds, so if one model fails, the rest will still be uploaded. * I will follow up with another PR for iOS later. No need to wait for the TPS metric there, we'll upload what available first. There are still some TODO pending: * pytorch/test-infra#5742 * meta-pytorch/pytorch-gha-infra#483 But the structure of the CI job is ready to review. Pull Request resolved: #5808 Reviewed By: guangy10, kirklandsign Differential Revision: D63869876 Pulled By: huydhn
Summary: This PR adds a job to upload Android benchmark results to the benchmark database. It transforms the `benchmark_results.json` file slightly to fit into the current schema. We are going to have a better schema soon https://fburl.com/gdoc/ossgtvte, but landing this first would unblock the work on building the dashboard before the launch. Updating the schema can be done later. * The job processes what it finds, so if one model fails, the rest will still be uploaded. * I will follow up with another PR for iOS later. No need to wait for the TPS metric there, we'll upload what available first. There are still some TODO pending: * pytorch/test-infra#5742 * meta-pytorch/pytorch-gha-infra#483 But the structure of the CI job is ready to review. Pull Request resolved: #5808 Reviewed By: guangy10, kirklandsign Differential Revision: D63869876 Pulled By: huydhn fbshipit-source-id: f9bf85c9599fafbfcc300d47e4307230c46b16db
This adds a GHA to upload benchmark results. I'm using the existing
torchci-oss-ci-benchmarkdatabase for now until the new generic database from https://fburl.com/gdoc/ossgtvte is ready. So, it's backed by dynamoDB instead of S3 for now.I also include a quick test with some dummy Android benchmark records.