Hi everybody,
I am using Kaggle to run the sample codes provided in the Practical Deep Learning course, however the run is not completed at all, and I get a warning message that a multi-threaded run cannot be executed due to compatibility issues.
Code I am trying to run:
from fastai.text.all import *
dls = TextDataLoaders.from_folder(untar_data(URLs.IMDB), valid=‘test’)
learn = text_classifier_learner(dls, AWD_LSTM, drop_mult=0.5, metrics=accuracy)
learn.fine_tune(4, 1e-2)
Warning message received on Kaggle:
/opt/conda/lib/python3.10/multiprocessing/popen_fork.py:66: RuntimeWarning: os.fork() was called. os.fork() is incompatible with multithreaded code, and JAX is multithreaded, so this will likely lead to a deadlock.
self.pid = os.fork()
And it takes ages for the code to run, if the run is completed at all.
I am really curious as to what the issue here is and how it can possibly be resolved.
Best,
BY