def teardown(self) -> None:
        """This method is called to teardown the training process.

        It is the right place to release memory and free other resources.

        """
This method is called to teardown the training process.

        It is the right place to release memory and free other resources.

        
src/lightning/fabric/plugins/precision/precision.py