You are gonna kill me but seems that
CUDA_LAUNCH_BLOCKING=1
is not compatible with multi gpu.
Aaand i reach a deadlock by using
CUDNN_LOGDEST_DBG=filename.txt
The issue dissapears if I run everything in a single gpu

  
      github.com/pytorch/pytorch
  
  
    
  
	  
  

  
    
      DataParallel model stucks with CUDA_LAUNCH_BLOCKING=1 sometime
    

    
      
        opened 
        
          
        
        Jul 4, 2018
      
      

        
          closed 
        
          
        
        Jul 4, 2018
      
        

      
        
          
          acgtyrant
        
      
    
  



  Issue description
This is the context of the segment.py:
#!/usr/bin/env python
import torch
from torch import nn
import torch.utils.data

class DRN(nn.Module):
 def __init__(self):
 super(DRN, self).__init__()
 self.a =...





  
  
    
    
  
  


Soo thank you anyway for your help.