Skip to content

Commit

Permalink
update size limit check of training GPU wheel (#21762)
Browse files Browse the repository at this point in the history
### Description
<!-- Describe your changes. -->



### Motivation and Context
The training wheel size limit should be 400M
  • Loading branch information
mszhanyi authored Aug 21, 2024
1 parent 6fbb0ae commit 12f426c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 12f426c

Please sign in to comment.