mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
This reverts commit 03e8a4cf45.
Reverted https://github.com/pytorch/pytorch/pull/128591 on behalf of https://github.com/atalman due to Contains release only changes should not be landed ([comment](https://github.com/pytorch/pytorch/pull/128591#issuecomment-2168308233))
43 lines
1.3 KiB
YAML
43 lines
1.3 KiB
YAML
name: Upload test stats intermediate
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
workflow_id:
|
|
description: workflow_id of the run
|
|
required: true
|
|
workflow_run_attempt:
|
|
description: workflow_run_attempt of the run
|
|
required: true
|
|
|
|
jobs:
|
|
intermediate_upload_test_stats:
|
|
name: Intermediate upload test stats for ${{ inputs.workflow_id }}
|
|
runs-on: ubuntu-22.04
|
|
environment: upload-stats
|
|
steps:
|
|
- name: Checkout PyTorch
|
|
uses: pytorch/pytorch/.github/actions/checkout-pytorch@main
|
|
with:
|
|
fetch-depth: 1
|
|
submodules: false
|
|
|
|
- uses: actions/setup-python@v4
|
|
with:
|
|
python-version: '3.11'
|
|
cache: pip
|
|
|
|
- run: |
|
|
pip3 install requests==2.32.2 rockset==1.0.3 boto3==1.19.12
|
|
|
|
- name: Upload test stats
|
|
env:
|
|
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
|
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
WORKFLOW_RUN_ID: ${{ inputs.workflow_id }}
|
|
WORKFLOW_RUN_ATTEMPT: ${{ inputs.workflow_run_attempt }}
|
|
run: |
|
|
python3 -m tools.stats.upload_test_stats_intermediate \
|
|
--workflow-run-id "${WORKFLOW_RUN_ID}" \
|
|
--workflow-run-attempt "${WORKFLOW_RUN_ATTEMPT}" \
|