Posted on Github but no responses

  
      github.com/pytorch/pytorch
  
  
    



Issue: Torch Inverse C++ - Error in magma_getdevice_arch: MAGMA not initialized 28


	
	opened by soulslicer
	on 2019-03-15
	
	
	


🐛 Bug
I compiled Magma 2.3.0 from source successfully, and compiled Pytorch 1.1 from source successfully where it used Magma.
When I run...




  
  
    
    
  
  


I compiled Magma 2.3.0 from source successfully, and compiled Pytorch 1.1 from source successfully where it used Magma.
When I run my code with the Python API, torch.pinverse(Tensor) seems to work, but when I run it with the C++ Pytorch API torch::inverse(Tensor). it fails with
Error in magma_getdevice_arch: MAGMA not initialized (call magma_init() first) or bad device