    def _load_profile_cache(self) -> bytes:
        """
        Load AITemplate profile cache if cache file path is provided
        """
        if not self.remote_cache_file_path:
            return

        cache_bytes = io.BytesIO()
        cache.load_profile_cache(self.remote_cache_file_path, cache_bytes)
        remote_cache_bytes = cache_bytes.getvalue()
        _LOGGER.info(
            f"Loaded profile cache from remote: {self.remote_cache_file_path} with length {len(remote_cache_bytes)}",
        )
        return remote_cache_bytes
Load AITemplate profile cache if cache file path is provided
fx2ait/fx2ait/fx2ait.py