diff --git a/python/kserve/kserve/storage.py b/python/kserve/kserve/storage.py index a35fb8d36e6..2d6b2a361cd 100644 --- a/python/kserve/kserve/storage.py +++ b/python/kserve/kserve/storage.py @@ -226,7 +226,7 @@ def _download_blob(uri, out_dir: str): # pylint: disable=too-many-locals else: blobs += container_client.list_blobs(name_starts_with=item.name, include=['snapshots']) - for blob in set(blobs): + for blob in blobs: dest_path = os.path.join(out_dir, blob.name.replace(prefix, "", 1).lstrip("/")) Path(os.path.dirname(dest_path)).mkdir(parents=True, exist_ok=True) logging.info("Downloading: %s to %s", blob.name, dest_path)