forked from ultralytics/yolov5
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AutoBatch checks against failed solutions (ultralytics#8159)
* AutoBatch checks against failed solutions @kalenmike this is a simple improvement to AutoBatch to verify that returned solutions have not already failed, i.e. return batch-size 8 when 8 already produced CUDA out of memory. This is a halfway fix until I can implement a 'final solution' that will actively verify the solved-for batch size rather than passively assume it works. * Update autobatch.py * Update autobatch.py
- Loading branch information
1 parent
cf298fb
commit 6e46617
Showing
1 changed file
with
19 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters