    def _upload_profile_cache(self, hardware_target) -> None:
        """
        Update AITemplate profile cache if cache file path is provided
        """
        cache_path = os.path.join(
            self.cache_dir, hardware_target._get_cache_file_name()
        )
        if not self.save_remote_cache or not cache_path:
            return

        _LOGGER.info(
            f"Uploading profile cache to remote: {self.remote_cache_file_path}",
        )
        cache.save_profile_cache(self.remote_cache_file_path, cache_path)
        _LOGGER.info(
            f"Upload AIT cache file to path {self.remote_cache_file_path} completed."
        )
Update AITemplate profile cache if cache file path is provided
fx2ait/fx2ait/fx2ait.py