We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4959be4 commit 663e736Copy full SHA for 663e736
src/lightning/pytorch/tuner/batch_size_scaling.py
@@ -87,8 +87,8 @@ def _scale_batch_size(
87
garbage_collection_cuda()
88
89
log.info(f"Finished batch size finder, will continue with full run using batch size {new_size}")
90
- except Exception as e:
91
- raise e
+ except Exception as ex:
+ raise ex
92
finally:
93
__scale_batch_restore_params(trainer, params)
94
0 commit comments