I don’t think it is possible at the moment. We are still working on Python 3.10 support. You can track the issue here:
  

      github.com/pytorch/pytorch
  

  
    
  
	  
  

  
    
      Add Python-3.10 support 68
    

    
      
        opened 
        
          
        
        Oct 11, 2021
      
      


      
        
          
          malfet
        
      
    

    
        
          high priority
        
        
          module: ci
        
        
          triaged
        
        
          enhancement
        
    
  


  
    Python 3.10 has been released on Oct-4th, i.e. we should add support for it in n…ightlies

cc @ezyang @gchanan @zou3519 @bdhirsh @jbschlosser @seemethere @malfet @pytorch/pytorch-dev-infra