How to limit number of used CPUs?

Hello,

I’m trying to use fastai for inferencing, but I found a problem. Even if I load_learner with num_workers=0, it still takes few CPU while inferencing. For inference, I’m using:

learn.data.add_test(data)
x,y = learn.get_preds(ds_type=DatasetType.Test).

Do you have any idea why?