facebookarchive / fb.resnet.torch

Torch implementation of ResNet from http://arxiv.org/abs/1512.03385 and training scripts
Other
2.29k stars 664 forks source link

How to control the CPU kernels that are used during training. #200

Open Juicechen95 opened 6 years ago

Juicechen95 commented 6 years ago

I am running this code on a server. I use CUDA_VISIBLE_DEVICES=0 to ensure that I only use 1 GPU. But this code uses nearly all the CPU kernels during the training time, which make other users difficult to use the server. I want to know how to control the CPU usage?? Thanks a lot.

image

image