Issues solved with this bug report:

  
      github.com/pytorch/pytorch
  
  
    
  
	  
  

  
    
      CMake find_package returns corrupted library list  33
    

    
      
        opened 
        
          
        
        Jan 22, 2020
      
      


      
        
          
          thomashrabeBC
        
      
    
  



  🐛 Bug
Use PyTorch model in C++, compilation breaks when using the default route.
CMake find_package(Torch REQUIRED)
returns corrupted TORCH_LIBRARIES list
torch
torch_library
/usr/local/lib/python3.6/dist-packages/torch/lib/libc10.so
/usr/local/cuda/lib64/stubs/libcuda.so
/usr/local/cuda/lib64/libnvrtc.so
/usr/local/cuda/lib64/libnvToolsExt.so
/usr/local/cuda/lib64/libcudart.so
/usr/local/lib/python3.6/dist-packages/torch/lib/libc10_cuda.so
It should not contain...



    module: binaries
    module: build
    triaged