Skip to content
This repository was archived by the owner on Sep 18, 2026. It is now read-only.
This repository was archived by the owner on Sep 18, 2026. It is now read-only.

Enrichement app failure: cannot import name 'cached_download' from 'huggingface_hub' #920

Description

@gintsk

Bug Details

enrichement app fails to start

With clean deployment enrichment app containers fails to start due huggingface_hub v0.26.0 breaking changes (huggingface_hub removed cached_download)

ImportError: cannot import name 'cached_download' from 'huggingface_hub'

Steps To Reproduce

  1. Deploy clean instance
  2. infoasst-enrichmentweb-xxxx is in degraded state due to start failure (ImportError: cannot import name 'cached_download' from 'huggingface_hub')

What is the expected behavior?
enrichmentweb should not fail

As temporary workaround you can just pin huggingface_hub to last working version 0.25.2 by adding

huggingface_hub==0.25.2

#### Any version change made here should also be made and tested for the webapp backend and function apps in /functions and /app/backend
--extra-index-url https://download.pytorch.org/whl/cpu
azure-core==1.31.0
azure-cosmos==4.7.0
azure-storage-blob==12.23.1
azure-storage-queue==12.12.0
azure-search-documents==11.5.1
azure-identity==1.18.0
fastapi==0.115.0
fastapi-utils==0.7.0
openai==1.50.2
sentence-transformers==3.1.1
tenacity==9.0.0
torch
torchvision
torchaudio
uvicorn==0.31.0

If the bug is confirmed, would you be willing to submit a PR?

  • Yes
  • No

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions