update size limit check of training GPU wheel (#21762)

### Description
<!-- Describe your changes. -->



### Motivation and Context
The training wheel size limit should be 400M
This commit is contained in:
Yi Zhang 2024-08-21 09:30:05 +08:00 committed by GitHub
parent 6fbb0ae81a
commit 12f426c63f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -165,7 +165,7 @@ stages:
set -e -x
whlfilename=$(ls $(Build.ArtifactStagingDirectory)/Release/dist/*.whl | head -n 1) ; \
echo $whlfilename ; du -sh $whlfilename ; \
(( $(wc -c < "$whlfilename") - 300*1024*1024 < 0 )) || ( echo 'Wheel size bigger than 300M'; exit 1)
(( $(wc -c < "$whlfilename") - 400*1024*1024 < 0 )) || ( echo 'Wheel size bigger than 400M'; exit 1)
displayName: 'Check wheel size'
continueOnError: true