No, I still have the problem and reported it on the github page too:

  
      github.com/pytorch/pytorch
  
  
    



Issue: torch::set_num_threads does not work  53


	
	opened by oroojlooy
	on 2019-04-12
	
	
	


🐛 Bug
I added torch::set_num_threads(2) in the beginning of the mnist code and still the executable uses all of the available threads,...


 	high priority
 	module: openmp
 	topic: multithreading
 	triaged