pytorch-lightning icon indicating copy to clipboard operation
pytorch-lightning copied to clipboard

Validation is incorrectly run on resume

Open PiotrDabkowski opened this issue 5 months ago • 2 comments

Bug description

When val_check_interval is used, and the model is resumed the validation is run immediately after resume, wasting resources (causing ckpt save, and whole validation run).

https://github.com/Lightning-AI/pytorch-lightning/discussions/18110

What version are you seeing the problem on?

v2.4

How to reproduce the bug

No response

Error messages and logs

No response

Environment

No response

More info

No response

PiotrDabkowski avatar Sep 12 '24 14:09 PiotrDabkowski