Previous code was holding on the GIL when training models on the GPU
or when calculating results. This caused some jank on progress bars
displaying in jupyter notebooks, as well as just being poor form.
Fix by releasing the GIL before starting on gpu code that will take
an appreciable amount of time.
Previous code was holding on the GIL when training models on the GPU or when calculating results. This caused some jank on progress bars displaying in jupyter notebooks, as well as just being poor form. Fix by releasing the GIL before starting on gpu code that will take an appreciable amount of time.