mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-14 20:48:00 +00:00
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:
parent
6fbb0ae81a
commit
12f426c63f
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue