def load_model(self, model_id: str, model_json_path: Path) -> ModelConfig:
        """Get model config from shared cache by model id."""
        model_config_blob = f"{model_id}/model.json"

        if not self.exist_in_shared_cache(model_config_blob):
            logger.info("Model config %s is not found in shared cache.", model_config_blob)
            return None

        try:
            logger.info("Downloading %s to %s", model_config_blob, model_json_path)
            self.container_client_factory.download_blob(model_config_blob, model_json_path)
            with open(model_json_path) as file:
                return json.load(file)
        except Exception:
            logger.exception("Failed to load model from shared cache.")
            return None
Get model config from shared cache by model id.
olive/cache.py