src/transformers/integrations/integration_utils.py/CometCallback/__init__
class CometCallback:    def __init__(self):
        if not _has_comet:
            raise RuntimeError("CometCallback requires comet-ml to be installed. Run `pip install comet-ml`.")
        self._initialized = False
        self._log_assets = False