When I try and compile pytorch on OSX I will get this:
nvcc fatal   : The version (‘80100’) of the host compiler (‘Apple clang’) is not supported
The solution here is to downgrade to 7.3:

  
      github.com/arrayfire/arrayfire
  
  
    
  
	  
  

  
    
      NVCC does not support Apple Clang version 8.x 5
    

    
      
        opened 
        
          
        
        Apr 14, 2016
      
      

        
          closed 
        
          
        
        May 8, 2018
      
        

      
        
          
          mlloreda
        
      
    
  



  Error message: nvcc fatal : The version ('80000') of the host compiler ('Apple clang') is not supported
Steps to fix:
Log in to...



    OSX
    known issue


  
  
    
    
  
  


That worked the last time I compiled pytorch on my MBP, but now pytorch fails to build because of TLS references.
Devel/pytorch/pytorch/torch/lib/THD/master_worker/master/State.hpp:23:3: error: thread-local storage is not supported
for the current target
thread_local static rank_type s_current_worker;
^
Any suggestions?