[Bug]: Cannot import chroma due to TypeError: Instance and class checks can only be used with @runtime_checkable protocols
#2806
Labels
bug
Something isn't working
What happened?
Users tried to import
chromadb
in our AI containers (latestml/ml-gpu-py311-cuda118-hf:TAG), but the import failed withTypeError
(see below for stack trace).Versions
Chroma 0.5.3
Python 3.11.10
Ubuntu 22.04
Note: the reason why we cannot upgrade chromadb from 0.5.3 to either 0.5.4 or 0.5.5 is that both of these newer versions are blocklisted by another package as seen by this error message displayed by
pip
during such attempt:Relevant log output
Local run (inside the above containers):
The text was updated successfully, but these errors were encountered: