File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-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
+ with :
18
+ repository : pytorch/test-infra
19
+ - name : Install requirements
20
+ run : |
21
+ pip3 install -r tools/binary_size_validation/requirements.txt
22
+ - name : Run validation
23
+ run : |
24
+ python tools/binary_size_validation/binary_size_validation.py \
25
+ --url https://download.pytorch.org/whl/nightly/torch/ \
26
+ --include "pypi" --only-latest-version --threshold 750
You can’t perform that action at this time.
0 commit comments