Closed HusainMkd closed 4 weeks ago
getting this also
getting this also
I'm also running on data bricks.
probably just needs to be fixed to from litellm.caching.caching import Cache
from the LiteLLM docs but tagging @chenmoneygithub if this was indeed intended from the PR change #1604
It's a litellm
problem which should be fixed soon (https://github.com/BerriAI/litellm/issues/6216#issuecomment-2411874662)
Yes, facing the same problem here as well! from litellm.caching.caching import Cache
doesn't work either.
Temporary fix is pip install litellm==1.49.2
as 1.49.3
is the version that breaks it
Fixed in #1629 but we'll need to hook it back to latest ones once litellm fixes it
Wow sorry I normally check issues faster than today. The fix was easy (pinning older litellm until they fix it).
It sucks that an upstream thing like this could lead to issues for people.
This should've been fixed: https://github.com/BerriAI/litellm/issues/6216
Verified with litellm 1.51.0
Python 3.12.4 | packaged by Anaconda, Inc. | (main, Jun 18 2024, 10:07:17) [Clang 14.0.6 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import litellm
>>> import dspy
>>>
I can't seem to import DSpy anymore (on Databricks)... I've tried downgrading the DSpy version, restarting the cluster, installing litellm - nothing seems to be working - Is there a breaking change somewhere? Below is my error message