New error in Trainer started appearing recently in a previously running code.
When I create a Trainer and run Trainer.fit() I am now getting the following error:
raise TypeError("cannot assign '{}' as child module '{}' "
TypeError: cannot assign 'int' as child module 'precision' (torch.nn.Module or None expected)

This is a new error and this code was just working earlier. Do yall know what could be causing this issue?
Do you have an attribute precision defined in your lightning module? If so, this is an improper override of the lightning module which is leading to this error: 
  
    
      pytorch-lightning/pytorch_lightning/core/lightning.py
    
    
        Lines 102 to 103
      in
      49a4a36
    
  
  
    

        
          
           # the precision used 
        

        
          
           self.precision: int = 32