You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upload benchmark results in v3 schema to ossci-benchmarks S3 bucket (#5845)
After #5839, it's time to
upload the GHA to upload to S3. I'll update the S3 lambda replicator in
a separate PR.
### Testing
* Locally
```
# Backward compatibility, upload to both dynamoDB and S3 for v2 schema
$python upload_benchmark_results.py --benchmark-results-dir benchmark-results-dir-for-testing/v2 --schema-version v2 --dry-run
INFO:root:Uploading benchmark-results-dir-for-testing/v2/android-artifacts-31017223108.json to dynamoDB (v2)
INFO:root:Writing 16 documents to DynamoDB torchci-oss-ci-benchmark
INFO:root:Upload benchmark-results-dir-for-testing/v2/android-artifacts-31017223108.json to s3://ossci-benchmarks/v2/pytorch/executorch/12345/31017223108/android-artifacts-31017223108.json
INFO:root:Uploading benchmark-results-dir-for-testing/v2/android-artifacts-31017223431.json to dynamoDB (v2)
INFO:root:Writing 12 documents to DynamoDB torchci-oss-ci-benchmark
INFO:root:Upload benchmark-results-dir-for-testing/v2/android-artifacts-31017223431.json to s3://ossci-benchmarks/v2/pytorch/executorch/12345/31017223431/android-artifacts-31017223431.json
# We use only S3 for v3 schema
$python upload_benchmark_results.py --benchmark-results-dir benchmark-results-dir-for-testing/v3 --schema-version v3
INFO:root:Upload benchmark-results-dir-for-testing/v3/mock.json to s3://ossci-benchmarks/v3/pytorch/pytorch/1/1/mock.json
```
* CI
* v2
https://github.com/pytorch/test-infra/actions/runs/11606273442/job/32318017857?pr=5845#step:4:55
* v3
https://github.com/pytorch/test-infra/actions/runs/11606273442/job/32318017857?pr=5845#step:5:43
* Test PR on ExecuTorch to use the new version
https://github.com/pytorch/executorch/actions/runs/11606339159 to see
that the files are uploaded to S3
https://github.com/pytorch/executorch/actions/runs/11606339159/job/32318826449#step:8:87
0 commit comments