Did you flush the output using sys.stdout.flush()?

  
      stackoverflow.com
  
  
      
    
  

  No print output from child multiprocessing.Process unless the program crashes 37



  python, multithreading, io, multiprocessing



  
  answered by
  
    orip
  
  on 10:18PM - 14 Dec 08


  
  
    
    
  
  


PyTorch multiprocessing is a wrapper around the Python multiprocessing module. So what you are seeing is likely related to the native module.