Please confirm you have the latest versions of fastai, fastcore, fastscript, and nbdev prior to reporting a bug: YES
Updated versions of all libs, fastai2 is installed as an editable install from current master (commit 0ceb34a)
Describe the bug
While running a learning rate test with a Learner that has a pytorch DataLoader and uses CudaCallback, one error happens before the test ends, at the point where the old checkpoint is being loaded.
To Reproduce
Steps to reproduce the behavior:
Try to run a learning rate find test learn.lr_find() on the notebook nbs/examples/migrating_pytorch.ipynb
Please confirm you have the latest versions of fastai, fastcore, fastscript, and nbdev prior to reporting a bug: YES
Updated versions of all libs, fastai2 is installed as an editable install from current master (commit 0ceb34a)
Describe the bug While running a learning rate test with a Learner that has a pytorch DataLoader and uses CudaCallback, one error happens before the test ends, at the point where the old checkpoint is being loaded.
To Reproduce Steps to reproduce the behavior:
learn.lr_find()
on the notebooknbs/examples/migrating_pytorch.ipynb
gist link demonstrating error: https://gist.github.com/scart97/a3cc3ba4aeddc5b640f283fd0522d8dd
Expected behavior Learning rate find test finish without errors.
Error with full stack trace
Full stack trace in the linked notebook. Important part here:
Additional context Add any other context about the problem here.