diff --git a/CHANGELOG.md b/CHANGELOG.md index 14e411919c..9c01a1beaf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ -## 2.6.1 +## 2.6.2 ### Bugs Squashed diff --git a/fastai/__init__.py b/fastai/__init__.py index 659bd93635..051fddac3b 100644 --- a/fastai/__init__.py +++ b/fastai/__init__.py @@ -1,2 +1,2 @@ -__version__ = "2.6.1" +__version__ = "2.6.2" diff --git a/fastai/learner.py b/fastai/learner.py index d2b05fccfb..81335b6998 100644 --- a/fastai/learner.py +++ b/fastai/learner.py @@ -392,6 +392,7 @@ def load_learner(fname, cpu=True, pickle_module=pickle): res.dls.cpu() if hasattr(res, 'mixed_precision'): res = res.to_fp32() elif hasattr(res, 'non_native_mixed_precision'): res = res.to_non_native_fp32() + res.lock = threading.Lock() return res # Cell diff --git a/nbs/13a_learner.ipynb b/nbs/13a_learner.ipynb index 71bcb0a854..723aef1c15 100644 --- a/nbs/13a_learner.ipynb +++ b/nbs/13a_learner.ipynb @@ -1861,6 +1861,7 @@ " res.dls.cpu()\n", " if hasattr(res, 'mixed_precision'): res = res.to_fp32()\n", " elif hasattr(res, 'non_native_mixed_precision'): res = res.to_non_native_fp32()\n", + " res.lock = threading.Lock()\n", " return res" ] }, diff --git a/settings.ini b/settings.ini index 822fd9b377..60aa5a9318 100644 --- a/settings.ini +++ b/settings.ini @@ -2,7 +2,7 @@ lib_name = fastai user = fastai branch = master -version = 2.6.1 +version = 2.6.2 description = fastai simplifies training fast and accurate neural nets using modern best practices keywords = fastai, deep learning, machine learning author = Jeremy Howard, Sylvain Gugger, and contributors