File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Validate Nightly PyPI Wheel Binary Size
2
+ on :
3
+ pull_request :
4
+ paths :
5
+ - .github/workflows/validate-nightly-pypi-wheel-binary-size.yml
6
+ workflow_dispatch :
7
+ schedule :
8
+ # At 2:30 pm UTC (7:30 am PDT)
9
+ - cron : " 30 14 * * *"
10
+
11
+ jobs :
12
+ nightly-pypi-binary-size-validation :
13
+ runs-on : ubuntu-latest
14
+ steps :
15
+ - name : Checkout
16
+ uses : actions/checkout@v3
17
+ repository : pytorch/test-infra
18
+ - name : Install requirements
19
+ run : |
20
+ pip3 install -r tools/binary_size_validation/requirements.txt
21
+ - name : Run validation
22
+ run : |
23
+ python tools/binary_size_validation/binary_size_validation.py \
24
+ --url https://download.pytorch.org/whl/nightly/torch/ \
25
+ --include "pypi" --only-latest-version --threshold 750
You can’t perform that action at this time.
0 commit comments